You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a firewall enabled, you will need to ensure that multiple network accesses are allowed during the installation process. However, it's important to note that for the Git step, no retry mechanism is currently in place.
For other steps (such as Python-related tasks), if a network access attempt fails initially, retries will occur, giving the firewall time to open the necessary ports. Unfortunately, this isn't the case for the Git step.
"Initialized empty Git repository in E:/text-generation-webui-2.3/.git/
fatal: unable to access 'https://github.com/oobabooga/text-generation-webui/': Failed to connect to github.com port 443 after 42 ms: Couldn't connect to server
Command '"E:\text-generation-webui-2.3\installer_files\conda\condabin\conda.bat" activate "E:\text-generation-webui-2.3\installer_files\env" >nul && git init -b main && git remote add origin https://github.com/oobabooga/text-generation-webui && git fetch && git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main && git reset --hard origin/main && git branch --set-upstream-to=origin/main' failed with exit status code '128'.
Exiting now.
Try running the start/update script again."
As shown, the installation does not complete successfully. Running the start_windows script again will not resume the installation but instead will attempt to launch the text generation tool.
Suggested Fix:
To resolve this, you can modify the script to add a retry mechanism for Git network access. This would attempt up to 5 retries in case of network failure, allowing the necessary time for the firewall to open the required ports.
Is there an existing issue for this?
I have searched the existing issues
Reproduction
Set your firewall to manually allow all connections.
Screenshot
No response
Logs
"Initialized empty Git repository in E:/text-generation-webui-2.3/.git/fatal: unable to access 'https://github.com/oobabooga/text-generation-webui/': Failed to connect to github.com port 443 after 42 ms: Couldn't connect to serverCommand '"C:\text-generation-webui-2.3\installer_files\conda\condabin\conda.bat" activate "C:\text-generation-webui-2.3\installer_files\env" >nul && git init -b main && git remote add origin https://github.com/oobabooga/text-generation-webui && git fetch && git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main && git reset --hard origin/main && git branch --set-upstream-to=origin/main' failed with exit status code '128'.Exiting now.Try running the start/update script again."
System Info
windows 11 24H2 & installation from zip file for portable text-generation-webui-2.3
The text was updated successfully, but these errors were encountered:
Describe the bug
If you have a firewall enabled, you will need to ensure that multiple network accesses are allowed during the installation process. However, it's important to note that for the Git step, no retry mechanism is currently in place.
For other steps (such as Python-related tasks), if a network access attempt fails initially, retries will occur, giving the firewall time to open the necessary ports. Unfortunately, this isn't the case for the Git step.
"Initialized empty Git repository in E:/text-generation-webui-2.3/.git/
fatal: unable to access 'https://github.com/oobabooga/text-generation-webui/': Failed to connect to github.com port 443 after 42 ms: Couldn't connect to server
Command '"E:\text-generation-webui-2.3\installer_files\conda\condabin\conda.bat" activate "E:\text-generation-webui-2.3\installer_files\env" >nul && git init -b main && git remote add origin https://github.com/oobabooga/text-generation-webui && git fetch && git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main && git reset --hard origin/main && git branch --set-upstream-to=origin/main' failed with exit status code '128'.
Exiting now.
Try running the start/update script again."
As shown, the installation does not complete successfully. Running the start_windows script again will not resume the installation but instead will attempt to launch the text generation tool.
Suggested Fix:
To resolve this, you can modify the script to add a retry mechanism for Git network access. This would attempt up to 5 retries in case of network failure, allowing the necessary time for the firewall to open the required ports.
Is there an existing issue for this?
Reproduction
Set your firewall to manually allow all connections.
Screenshot
No response
Logs
System Info
The text was updated successfully, but these errors were encountered: