Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout Issues with ls-remote --tags origin Commands in Ungit 1.5.26 #1595

Open
belb-de opened this issue Jun 17, 2024 · 0 comments
Open

Timeout Issues with ls-remote --tags origin Commands in Ungit 1.5.26 #1595

belb-de opened this issue Jun 17, 2024 · 0 comments

Comments

@belb-de
Copy link

belb-de commented Jun 17, 2024

Hi,

I'm experiencing an issue with Ungit version 1.5.26 where specific Git commands are timing out and causing the interface not to refresh. The affected commands are related to fetching tags from the remote. Below are the details and logs:

Environment:

  • Ungit Version: 1.5.26
  • Git Version: 2.39.2
  • Operating System: Debian 12
  • Node.js Version: 20.11.0

Issue:
Commands to fetch remote tags are timing out, preventing the UI from refreshing. This occurs consistently with the ls-remote --tags origin command. Here are the log entries showing the timeouts:

2024-06-14T14:47:21.973Z - info: GET /api/quickstatus?path=%2Fhome%2Fdebian%2Fznai&socketId=1
2024-06-14T14:47:45.145Z - warn: command timedout: -c color.ui=false -c core.quotepath=false -c core.pager=cat -c core.editor=: -c credential.helper=/home/debian/.nvm/versions/node/v20.11.0/lib/node_modules/ungit/bin/credentials-helper 1 8450 origin ls-remote --tags origin
2024-06-14T14:47:52.587Z - warn: command timedout: -c color.ui=false -c core.quotepath=false -c core.pager=cat -c core.editor=: -c credential.helper=/home/debian/.nvm/versions/node/v20.11.0/lib/node_modules/ungit/bin/credentials-helper 1 8450 origin ls-remote --tags origin

Attempted Solutions:

  • Checked network connectivity and stability.
  • Increased the gitCommandTimeout in .ungitrc.
  • Updated both Ungit and Git to the latest versions.

None of these steps have resolved the issue.

Questions:

  1. Is there a known issue with Ungit handling ls-remote --tags commands in certain environments?
  2. Are there recommended settings or configurations to prevent these timeouts?
  3. Any other troubleshooting steps or diagnostics tools recommended to further investigate this problem?

Thank you for any insights or suggestions you can provide!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant