ERROR: for api a bytes-like object is required, not 'str'

Greetings all,

Trying to update our retool on-prem docker install, but the update keeps failing with the following:

ERROR: for api  a bytes-like object is required, not 'str'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/docker/api/", line 261, in _raise_for_status
  File "/usr/lib/python3/dist-packages/requests/", line 940, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localhost/v1.22/containers/7b2d252040a8a787f5c353c77a6a396f6d01fa75c5683182b384398f2720e2a5/start

During handling of the above exception, another exception occurred:

Running docker version 20.10.21, build 20.10.21-0ubuntu1~20.04.1 on Ubuntu 20.04.6 LTS

Any clues?

Greetings @RKelleyRTP! Happy to help here.

Could you try manually restarting the API container and share any relevant looking logs?

Should be a command like

docker start your_container

Also, you may change your port mapping to port 3000 in the Retool containers.

To do this, you would need to edit the docker-compose.yml to change the external port mapping in this line . ie '4000:3000'