Hey!
Everytime I update the Docker For Windows I get some bad surprise.
The beta channel is buggy. And I guess some bug came to the stable channel recently.
The last message error after I updated:
Traceback (most recent call last):
File "site-packages\docker\api\client.py", line 259, in _raise_for_status
File "site-packages\requests\models.py", line 941, in raise_for_status
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localnpipe/version
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "site-packages\docker\api\client.py", line 205, in _retrieve_server_version
File "site-packages\docker\api\daemon.py", line 181, in version
File "site-packages\docker\api\client.py", line 265, in _result
File "site-packages\docker\api\client.py", line 261, in _raise_for_status
File "site-packages\docker\errors.py", line 31, in create_api_error_from_http_exception
docker.errors.APIError: 500 Server Error: Internal Server Error ("b'i/o timeout'")
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "docker-compose", line 3, in <module>
File "compose\cli\main.py", line 67, in main
File "compose\cli\main.py", line 123, in perform_command
File "compose\cli\command.py", line 69, in project_from_options
File "compose\cli\command.py", line 132, in get_project
File "compose\cli\docker_client.py", line 43, in get_client
File "compose\cli\docker_client.py", line 170, in docker_client
File "site-packages\docker\api\client.py", line 188, in __init__
File "site-packages\docker\api\client.py", line 213, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: 500 Server Error: Internal Server Error ("b'i/o timeout'")
[32872] Failed to execute script docker-compose
The version is 2.4.0.0
from 2020-09-28
. Channel: stable.
BTW can I downgrade? 馃槩
8BFC29AA-1721-4D50-9945-D7B0966BDAA1/20201005160416
Thanks for the report. This seems to be a compose bug, so I'm moving the ticket to the compose repository.
I'm with the same problem.
I got the edge release like said at https://github.com/docker/for-win/issues/8828
It runs properly with 2.4.1.0
(edge release) against the stable release. So, it's my workaround.
Ps.: some time ago I had to go back to the stable channel because the edge one was broken for me. Now I'm on edge again.
Thanks in advance, @stephen-turner
@leoamrl e a铆, goiano. Tudo bem? O beta est谩 funcionando. (The edge release works.) Cheers!
I getting the similar error after upgrading to 2.4.0.0 too
Traceback (most recent call last):
File "site-packages\docker\api\client.py", line 259, in _raise_for_status
File "site-packages\requests\models.py", line 941, in raise_for_status
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localnpipe/version
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "site-packages\docker\api\client.py", line 205, in _retrieve_server_version
File "site-packages\docker\api\daemon.py", line 181, in version
File "site-packages\docker\api\client.py", line 265, in _result
File "site-packages\docker\api\client.py", line 261, in _raise_for_status
File "site-packages\docker\errors.py", line 31, in create_api_error_from_http_exception
docker.errors.APIError: 500 Server Error: Internal Server Error ("b'i/o timeout'")
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "docker-compose", line 3, in <module>
File "compose\cli\main.py", line 67, in main
File "compose\cli\main.py", line 123, in perform_command
File "compose\cli\command.py", line 69, in project_from_options
File "compose\cli\command.py", line 132, in get_project
File "compose\cli\docker_client.py", line 43, in get_client
File "compose\cli\docker_client.py", line 170, in docker_client
File "site-packages\docker\api\client.py", line 188, in __init__
File "site-packages\docker\api\client.py", line 213, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: 500 Server Error: Internal Server Error ("b'i/o timeout'")
More description about my situation,
I could run container by docker-compose. But it hanged after about 15 mins. Then I could not run any docker command. It showed the i/o timeout message.
I tested 2.4.1.0, but the symptom remained the same
I getting the similar error after upgrading to 2.4.0.0 too
Traceback (most recent call last): File "site-packages\docker\api\client.py", line 259, in _raise_for_status File "site-packages\requests\models.py", line 941, in raise_for_status requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localnpipe/version During handling of the above exception, another exception occurred: Traceback (most recent call last): File "site-packages\docker\api\client.py", line 205, in _retrieve_server_version File "site-packages\docker\api\daemon.py", line 181, in version File "site-packages\docker\api\client.py", line 265, in _result File "site-packages\docker\api\client.py", line 261, in _raise_for_status File "site-packages\docker\errors.py", line 31, in create_api_error_from_http_exception docker.errors.APIError: 500 Server Error: Internal Server Error ("b'i/o timeout'") During handling of the above exception, another exception occurred: Traceback (most recent call last): File "docker-compose", line 3, in <module> File "compose\cli\main.py", line 67, in main File "compose\cli\main.py", line 123, in perform_command File "compose\cli\command.py", line 69, in project_from_options File "compose\cli\command.py", line 132, in get_project File "compose\cli\docker_client.py", line 43, in get_client File "compose\cli\docker_client.py", line 170, in docker_client File "site-packages\docker\api\client.py", line 188, in __init__ File "site-packages\docker\api\client.py", line 213, in _retrieve_server_version docker.errors.DockerException: Error while fetching server API version: 500 Server Error: Internal Server Error ("b'i/o timeout'")
Getting the same thing here:
`
Traceback (most recent call last):
File "site-packages\docker\api\client.py", line 259, in _raise_for_status
File "site-packages\requests\models.py", line 941, in raise_for_status
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http://127.0.0.1:2375/version
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "site-packages\docker\api\client.py", line 205, in _retrieve_server_version
File "site-packages\docker\api\daemon.py", line 181, in version
File "site-packages\docker\api\client.py", line 265, in _result
File "site-packages\docker\api\client.py", line 261, in _raise_for_status
File "site-packages\docker\errors.py", line 31, in create_api_error_from_http_exception
docker.errors.APIError: 500 Server Error: Internal Server Error ("b'i/o timeout'")
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "docker-compose", line 3, in
File "compose\cli\main.py", line 67, in main
File "compose\cli\main.py", line 123, in perform_command
File "compose\cli\command.py", line 69, in project_from_options
File "compose\cli\command.py", line 132, in get_project
File "compose\cli\docker_client.py", line 43, in get_client
File "compose\cli\docker_client.py", line 170, in docker_client
File "site-packages\docker\api\client.py", line 188, in __init__
File "site-packages\docker\api\client.py", line 213, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: 500 Server Error: Internal Server Error ("b'i/o timeout'")
[41328] Failed to execute script docker-compose
`
I'm getting exactly the same errors after having containers up for 30 minutes.
Sometimes even the restart of Docker is not helping.
Traceback (most recent call last):
File "site-packages\docker\api\client.py", line 259, in _raise_for_status
File "site-packages\requests\models.py", line 941, in raise_for_status
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localnpipe/version
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "site-packages\docker\api\client.py", line 205, in _retrieve_server_version
File "site-packages\docker\api\daemon.py", line 181, in version
File "site-packages\docker\api\client.py", line 265, in _result
File "site-packages\docker\api\client.py", line 261, in _raise_for_status
File "site-packages\docker\errors.py", line 31, in create_api_error_from_http_exception
docker.errors.APIError: 500 Server Error: Internal Server Error ("b'i/o timeout'")
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "docker-compose", line 3, in <module>
File "compose\cli\main.py", line 67, in main
File "compose\cli\main.py", line 123, in perform_command
File "compose\cli\command.py", line 69, in project_from_options
File "compose\cli\command.py", line 132, in get_project
File "compose\cli\docker_client.py", line 43, in get_client
File "compose\cli\docker_client.py", line 170, in docker_client
File "site-packages\docker\api\client.py", line 188, in __init__
File "site-packages\docker\api\client.py", line 213, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: 500 Server Error: Internal Server Error ("b'i/o timeout'")
Versions:
Client: Docker Engine - Community
Cloud integration 0.1.18
Version: 19.03.13
API version: 1.40
Go version: go1.13.15
Git commit: 4484c46d9d
Built: Wed Sep 16 17:00:27 2020
OS/Arch: windows/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.13
API version: 1.40 (minimum version 1.12)
Go version: go1.13.15
Git commit: 4484c46d9d
Built: Wed Sep 16 17:07:04 2020
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.3.7
GitCommit: 8fba4e9a7d01810a393d5d25a3621dc101981175
runc:
Version: 1.0.0-rc10
GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd
docker-init:
Version: 0.18.0
GitCommit: fec3683
Docker Desktop Community version: 2.4.0.0
Hope it helps.
Go to Docker Preferences, then select "Reset to factory defaults".
Solved the problem for me.
Go to Docker Preferences, then select "Reset to factory defaults".
Solved the problem for me.
I did, but it happened again afterwards.
The only thing, which is working for me right now, is downgrading to version 2.3.0.2.
For me, in 2.4.0.0, "Reset to factory defaults" not helping.
I also try to uninstall 2.4.0.0 and reinstall 2.3.0.5, but problem still occurs (hanging).
I wonder if any component was not uninstalled correctly, or problem is related to windows update?
Go to Docker Preferences, then select "Reset to factory defaults".
Solved the problem for me.I did, but it happened again afterwards.
The only thing, which is working for me right now, is downgrading to version 2.3.0.2.
I also got a bunch of io timeouts when upgrading to 2.4.0.0.
At first I did reset to factory defaults, which seemed to help for a while... but then the issue started to appear again and then it worked to uninstall it and install 2.3.0.5
same issue
down to version 2.3.0.5 but it happened again.
5A5277E3-CC8B-4821-A46F-FE8DD7978AF9/20201020121709
@Elichkoto @wingzero0 I got the same error, any workaround?
@Elichkoto @wingzero0 I got the same error, any workaround?
Version 2.3.0.2 is working for me. Hope it helps :)
Just updated to 2.5 and got the same issue.
me2
Same problem here.
Restarting Docker Desktop fixes the issue temporarily, but it reappears after an arbitrary number of minutes.
System information:
i am also having the same error
Traceback (most recent call last):
File "site-packages\docker\api\client.py", line 205, in _retrieve_server_version
File "site-packages\docker\api\daemon.py", line 181, in version
File "site-packages\docker\utils\decorators.py", line 46, in inner
File "site-packages\docker\api\client.py", line 228, in _get
File "site-packages\requests\sessions.py", line 543, in get
File "site-packages\requests\sessions.py", line 530, in request
File "site-packages\requests\sessions.py", line 643, in send
File "site-packages\requests\adapters.py", line 449, in send
File "site-packages\urllib3\connectionpool.py", line 677, in urlopen
File "site-packages\urllib3\connectionpool.py", line 392, in _make_request
File "http\client.py", line 1244, in request
File "http\client.py", line 1290, in _send_request
File "http\client.py", line 1239, in endheaders
File "http\client.py", line 1026, in _send_output
File "http\client.py", line 966, in send
File "site-packages\docker\transport\npipeconn.py", line 32, in connect
File "site-packages\docker\transport\npipesocket.py", line 23, in wrapped
File "site-packages\docker\transport\npipesocket.py", line 72, in connect
File "site-packages\docker\transport\npipesocket.py", line 59, in connect
pywintypes.error: (2, 'CreateFile', 'The system cannot find the file specified.')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "docker-compose", line 3, in
File "compose\cli\main.py", line 67, in main
File "compose\cli\main.py", line 123, in perform_command
File "compose\cli\command.py", line 69, in project_from_options
File "compose\cli\command.py", line 132, in get_project
File "compose\cli\docker_client.py", line 43, in get_client
File "compose\cli\docker_client.py", line 170, in docker_client
File "site-packages\docker\api\client.py", line 188, in __init__
File "site-packages\docker\api\client.py", line 213, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')
[24668] Failed to execute script docker-compose
Hi everyone,
I got the same error on a project which work on month ago
Traceback (most recent call last):
File "site-packages\docker\api\client.py", line 205, in _retrieve_server_version
File "site-packages\docker\api\daemon.py", line 181, in version
File "site-packages\docker\utils\decorators.py", line 46, in inner
File "site-packages\docker\api\client.py", line 228, in _get
File "site-packages\requests\sessions.py", line 543, in get
File "site-packages\requests\sessions.py", line 530, in request
File "site-packages\requests\sessions.py", line 643, in send
File "site-packages\requests\adapters.py", line 449, in send
File "site-packages\urllib3\connectionpool.py", line 677, in urlopen
File "site-packages\urllib3\connectionpool.py", line 392, in _make_request
File "http\client.py", line 1244, in request
File "http\client.py", line 1290, in _send_request
File "http\client.py", line 1239, in endheaders
File "http\client.py", line 1026, in _send_output
File "http\client.py", line 966, in send
File "site-packages\docker\transport\npipeconn.py", line 32, in connect
File "site-packages\docker\transport\npipesocket.py", line 23, in wrapped
File "site-packages\docker\transport\npipesocket.py", line 72, in connect
File "site-packages\docker\transport\npipesocket.py", line 59, in connect
pywintypes.error: (2, 'CreateFile', 'Le fichier sp茅cifi茅 est introuvable.')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "docker-compose", line 3, in
File "compose\cli\main.py", line 67, in main
File "compose\cli\main.py", line 123, in perform_command
File "compose\cli\command.py", line 69, in project_from_options
File "compose\cli\command.py", line 132, in get_project
File "compose\cli\docker_client.py", line 43, in get_client
File "compose\cli\docker_client.py", line 170, in docker_client
File "site-packages\docker\api\client.py", line 188, in __init__
File "site-packages\docker\api\client.py", line 213, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: (2, 'CreateFile', 'Le fichier sp茅cifi茅 est introuvable.')
[17676] Failed to execute script docker-compose
PS D:\angular\coopplay> docker-compose up
Traceback (most recent call last):
File "site-packages\docker\api\client.py", line 205, in _retrieve_server_version
File "site-packages\docker\api\daemon.py", line 181, in version
File "site-packages\docker\utils\decorators.py", line 46, in inner
File "site-packages\docker\api\client.py", line 228, in _get
File "site-packages\requests\sessions.py", line 543, in get
File "site-packages\requests\sessions.py", line 530, in request
File "site-packages\requests\sessions.py", line 643, in send
File "site-packages\requests\adapters.py", line 449, in send
File "site-packages\urllib3\connectionpool.py", line 677, in urlopen
File "site-packages\urllib3\connectionpool.py", line 392, in _make_request
File "http\client.py", line 1244, in request
File "http\client.py", line 1290, in _send_request
File "http\client.py", line 1239, in endheaders
File "http\client.py", line 1026, in _send_output
File "http\client.py", line 966, in send
File "site-packages\docker\transport\npipeconn.py", line 32, in connect
File "site-packages\docker\transport\npipesocket.py", line 23, in wrapped
File "site-packages\docker\transport\npipesocket.py", line 72, in connect
File "site-packages\docker\transport\npipesocket.py", line 59, in connect
pywintypes.error: (2, 'CreateFile', 'Le fichier sp茅cifi茅 est introuvable.')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "docker-compose", line 3, in
File "compose\cli\main.py", line 67, in main
File "compose\cli\main.py", line 123, in perform_command
File "compose\cli\command.py", line 69, in project_from_options
File "compose\cli\command.py", line 132, in get_project
File "compose\cli\docker_client.py", line 43, in get_client
File "compose\cli\docker_client.py", line 170, in docker_client
File "site-packages\docker\api\client.py", line 188, in __init__
File "site-packages\docker\api\client.py", line 213, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: (2, 'CreateFile', 'Le fichier sp茅cifi茅 est introuvable.')
[18312] Failed to execute script docker-compose
@hakuno could this issue get a more descriptive name, to make it easier to find and understand what this bug is about?
Was facing the same issue, restarting the docker did the trick for me.
@peterssond Any tips? The error sounds too generic for me. Something about returning 500 status code from API fetch at start... whatever.
Most helpful comment
I'm with the same problem.