FredrikNoren / ungit

The easiest way to use git. On any platform. Anywhere.
MIT License
10.41k stars 637 forks source link

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

Open belb-de opened 2 weeks ago

belb-de commented 2 weeks ago

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:

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:

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!