Docker Community Forums

Share and learn in the Docker community.

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

I am trying to use LMDS(http s:// which uses docker-compose. i am trying to use prowlarr(ht tps:// with openvpn-client(ht tps:// in docker. but, when i use both together, as outlined here(htt ps:// I get this error:ERROR: for prowlarr a bytes-like object is required, not ‘str’
Here is the log file:
Here is docker-compose.yml :

There is a similar issue here:

In your compose file you also tried to use the same port (9696) for the VPN and prowlarr. Only one service can listen on a port and it also applies to port forwarding. You can’t forward the same port to two different container. Probably this is why you commented that part out in your docker compose file:

    container_name: prowlarr
      - vpn
    network_mode: service:vpn
      - PUID=1000
      - PGID=1000
      - TZ=UTC
      - ./volumes/prowlarr/data:/config
#    ports:
#      - 9696:9696
    restart: unless-stopped