-
Notifications
You must be signed in to change notification settings - Fork 44.5k
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
Docker: [Errno 101] Network is unreachable (How to troubleshoot?) #3977
Comments
same issue, when i use docker proxy. "proxies":{ |
Likely an issue with that proxy. The "Errno 101" bit should clue you in. In Google Chrome this is the same error as ERR_CONNECTION_RESET This error happens during the client-server handshake. Meaning that the client detected a good handshake, but the server didn't send any data whatsoever back to the client other than the "FIN" packet which closes the connection. Which probably means that the proxy you listed does not work. |
@anonhostpi I'm a bit confused - am I supposed to be configuring some proxy settings that I overlooked in the setup? We don't list any proxy anywhere and it's not configured in Docker, but still we get the Errno 101. There's no firewall to blame either. |
@slapbox recommend changing title, to make it a bit more likely to get docker support. My recommendation: I am not very familiar with how docker handles network connections |
Thanks so much again for all of your help @anonhostpi! |
Proxys are not well supported right now. Feel free to open a PR to add better proxy support. |
@ntindle but I'm not using a proxy - or at least I'm not intending to. Are you sure this is a proxy issue? |
Ah okay sorry, thought the second comment was yours |
I did get it to work without Docker. It may be some problem with the Docker image configuration or its network configuration. The redis machine seems to start but the autogpt machine seems not to. Some more details on how that all works (or is supposed to work) would be valuable to someone trying to troubleshoot. |
I had a similar issue. I was using a ECR service (container) to deploy the code into AWS Lambda which is making call to openAI api. It was working only about 60% of the time. After multiple trials, what worked for me was moving the code to EC2. When I tested with 100 sequential requests, I got 100% success. The underlying reason could be because of network configuration of Lambda or the extra headers that are getting added for every request going from Lambda. Not sure about the exact reason, but it is a great relief that it is working consistently. |
This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days. |
This issue was closed automatically because it has been stale for 10 days with no activity. |
Support note
For others facing this issue:
Thanks, @lc0rp
=== Orig Report ===
I get this error:
It hits max retries seemingly immediately and it says "Network is unreachable."
How can we debug the network connection within the Docker image?
The text was updated successfully, but these errors were encountered: