I am on a Jammy Jellyfish Ubuntu and after upgrading Docker Desktop from 4.38 to 4.40, after some time (not on startup) I start seeing docker request returned 500 Internal Server Error for API route and version check if the server supports the requested API version. Note 4.38 uses engine v27.5.1 while 4.40 uses v28.0.4 , which is a major version bump (see Release notes | Docker Docs).
This usually happens on the ‘docker push’ command, but prior to issuing the command I can access docker as normal (ie docker ps works fine); but after that any docker command (ie docker ps fails with docker request returned 500 Internal Server Error for API route and version check if the server supports the requested API version. I tried increasing the memory and even added the “max-concurrent-uploads”: 1 to no avail. Does anyone know how to debug/diagnose/solve?
Note that before upgrading to 4.40 from 4.38 I never saw this behavior.
You can find instructions in the documentation for troubleshooting that also shows how you can read debug logs
If you can’t interpret the error messages, you can upload the the diagnostics as described in the docs and open a ticket on GitHub
But first I would upgrate the client to the same version as the daemon just to rule out any API incompatibility issues even if the error doesn’t happen all the time.
And since he current version is Docker Desktop 4.42.1, you could also upgrade to the latest desktop, since what you are experiencing, could be solved already. If that doesn’t help either, I would open ticket on GitHub only then..
I’m also running into the same issue, have tried upgrading to docker desktop 4.42.1 (engine version 28.2.2) but getting freezing and the 500 internal server error during docker push. For now I am just downgrading back to 4.38.0 and it’s working as usual.