Plex server only online for 30 seconds every 7 minutes or so

Well about a week latter and the connection timeouts are back :( Not sure why they came back, but my cache drive died. don’t see how that could have an impact since all my Plex data is stored on a seperate drive (not /appdata).

Plan to try setting in post above from bobertc.

When is the last time you rebooted your router? The only time I’ve had this problem was when I was trying out different DNS servers and DNS rebinding kicked in. Making all the local clients use the router for DNS, but I guess that depends on the router model.

Sorry I’m late. I finally got around to build and install my new server. I went towards a docker-compose solution and tried a few setups for Plex. Here’s below my current (and working) compose script. I have 1 more test to do and it is to try the latest version with a host network, with a working Plex config.

plex:
    container_name: plex
    image: plexinc/pms-docker:1.13.2.5154-fd05be322
    restart: unless-stopped
    network_mode: host
    environment:
      - TZ=America/Montreal
      - PLEX_CLAIM=YOUR_CLAIM_HERE
      - ADVERTISE_IP="http://192.168.0.101:32400/"
      - PLEX_UID=1001
      - PLEX_GID=1001
    #ports:
    #  - 32400:32400/tcp
    #  - 3005:3005/tcp
    #  - 8324:8324/tcp
    #  - 32469:32469/tcp
    #  - 1900:1900/udp
    #  - 32410:32410/udp
    #  - 32412:32412/udp
    #  - 32413:32413/udp
    #  - 32414:32414/udp
    volumes:
      - /opt/docker/config/plex:/config
      - /opt/docker/plex/transcode:/transcode
      - /mnt/data/:/data
[cont-init.d] 50-plex-update: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Starting Plex Media Server.
connect: Connection timed out
connect: Connection timed out
connect: Connection timed out
connect: Connection timed out
connect: Connection timed out
connect: Connection timed out
connect: Connection timed out
connect: Connection timed out
...

Here we go…

I went with the suggestion of @bobertc and so far so good. I had issues before with direct play but it seems to work now for some reason. Here’s the docker compose script.

plex:
    container_name: plex
    image: plexinc/pms-docker
    restart: unless-stopped
    network_mode: bridge
    environment:
      - TZ=America/Montreal
      - PLEX_CLAIM=
      - ADVERTISE_IP="http://192.168.0.101:32400/"
      - PLEX_UID=1001
      - PLEX_GID=1001
    ports:
      - 32400:32400/tcp
      - 3005:3005/tcp
      - 8324:8324/tcp
      - 32469:32469/tcp
      - 1900:1900/udp
      - 32410:32410/udp
      - 32412:32412/udp
      - 32413:32413/udp
      - 32414:32414/udp
    volumes:
      - /opt/docker/config/plex:/config
      - /opt/docker/plex/transcode:/transcode
      - /mnt/data:/data

Been too busy to mess with this, but last week I made the port mapping changes as outlined above and updated Plex to the latest version. It’s been about a week and no connection timeout errors!

@subagon It’s been rock steady for me since I did this. Not a single issue with “Missing server” since.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.