Request returned 500 Internal Server Error for API route and version

Good morning,

Since last week I am experiencing the following errors with my docker containers:

request returned 500 Internal Server Error for API route and version [XXXX.docker%2Frun%2Fdocker.sock/v1.49/containers/bf8790681cecc1a12ce9b8c98de747ea2b8a686db004a956796d588599fb7980/json,⁠]

I have no idea what it triggers, all seems to run ok but when I’m putting some heavier load on the mysql it seems to run and the suddenly stops with these errors in the logging. With heavier load think about creating a backup of all databases and or larger exports via adminer,

This setup has worked well for more then 2 years, I’m really rattled on what this can be, I’'m not a complete expert so any help is very much appreciated. Could it have something to do with the latest docker updates?

Hope to hear from any off you!

Regards,

Dennis

I guess the Docker daemon has not enough resources so the API cannot respond. You could check the daemon log (if the one you shared was not from it) or try enabling debug logs on the daemon side to see a more detailed logs

https://docs.docker.com/engine/daemon/logs/#enable-debugging

If you scroll up, you can also find how you can read the daemon logs on macOS as I see you added macOS to the tags. If you are using Docker Desktop on macOS, everything is running in a virtual machine so you have less resources in the VM than you have on the entire host and you can change that in the Docker Desktop settings

Good morning @rimelek,

Thank you for your reply. I will get into the debugging as you said and will let you know the results. Considering your answer regarding resources, normally I would totally agree but check out the following image.

Could resources still be the thing?

Hope to hear from you!

Regards,

Dennis

I don’t have a better guess yet. just because you assigned large amount of resources to the VM, I have seen enough strange issues to not rule anything out. The debug logs should reveal more. That is the first step also when someone sees this error on a website.