Unable to Automatically download codec's in Plex Version 1.9.1.4272

Hi,

I run Plex Media Server on DietPi OS (Debian based) Raspberry PI and somehow I can not get codecs automatically. I have ipv6 disabled. Can I just download them somewhere manually?
Here is the relevant log file:

Sep 25, 2017 08:06:25.583 [0x67eff400] DEBUG - Streaming Resource: Reached Decision id=240 codes=(General=1001,Direct play not available; Conversion OK. Direct Play=3000,App cannot direct play this item. Direct play is disabled. Transcode=1001,Direct play not available; Conversion OK.) media=(id=214 part=(id=224 decision=transcode container=mp4 protocol=dash streams=(Video=(id=2147483633 decision=transcode bitrate=2147483647 encoder=libx264 width=512 height=384) Audio=(id=2147483634 decision=transcode bitrate=256 encoder=aac channels=2 rate=96000))))
Sep 25, 2017 08:06:25.595 [0x718ff400] DEBUG - Completed: [192.168.0.13:61114] 200 GET /video/:/transcode/universal/decision?hasMDE=1&path=%2Flibrary%2Fmetadata%2F240&mediaIndex=0&partIndex=0&protocol=dash&fastSeek=1&directPlay=0&directStream=1&subtitleSize=100&audioBoost=100&location=lan&autoAdjustQuality=0&directStreamAudio=1&session=f82t0bgc2ffknbxqwqyabjuc&subtitles=burn&Accept-Language=en (6 live) TLS GZIP 30101ms 1548 bytes (pipelined: 2)
Sep 25, 2017 08:06:29.753 [0x728ff400] WARN - NetworkServiceBrowser: Error sending out discover packet from 192.168.0.3 to 239.255.255.250: Operation not permitted
Sep 25, 2017 08:06:34.171 [0x61aff400] ERROR - Error issuing curl_easy_perform(handle): 28
Sep 25, 2017 08:06:34.171 [0x61aff400] DEBUG - HTTP simulating 408 after curl timeout
Sep 25, 2017 08:06:34.172 [0x61aff400] ERROR - Codecs: Download failed: Failed to download 'https://downloads.plex.tv/codecs/798f007-1247/linux-annapurnatrans-arm7/libmpeg4_decoder.so': 408
Sep 25, 2017 08:06:34.173 [0x61aff400] ERROR - Error configuring transcoder: Decoder install failed: mpeg4
Sep 25, 2017 08:06:34.173 [0x61aff400] DEBUG - Streaming Resource: Terminating session 0x706f97d0:1b4f73tsayf4d0c555xwg9kx which is using transcoder slot.  Used slots is now 0
Sep 25, 2017 08:06:34.174 [0x61aff400] DEBUG - Streaming Resource: Terminated session 0x706f97d0:1b4f73tsayf4d0c555xwg9kx with reason Conversion failed. A required codec could not be found or failed to install.
Sep 25, 2017 08:06:34.174 [0x68eff400] DEBUG - Killing job.
Sep 25, 2017 08:06:34.174 [0x68eff400] DEBUG - Job was already killed, not killing again.
Sep 25, 2017 08:06:34.174 [0x68eff400] DEBUG - Stopping transcode session yhcysg8axe9oqjn6wwyyytpy
Sep 25, 2017 08:06:34.175 [0x68eff400] DEBUG - Cleaning directory for session yhcysg8axe9oqjn6wwyyytpy (/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-yhcysg8axe9oqjn6wwyyytpy-294f9d6c-99cc-4161-b9cb-8576ad175c08)
Sep 25, 2017 08:06:34.178 [0x68eff400] DEBUG - Transcoder: Cleaning old transcode directories.
Sep 25, 2017 08:06:34.182 [0x720ff400] DEBUG - Completed: [192.168.0.13:61115] 404 GET /video/:/transcode/universal/start.mpd?hasMDE=1&path=%2Flibrary%2Fmetadata%2F239&mediaIndex=0&partIndex=0&protocol=dash&fastSeek=1&directPlay=0&directStream=1&subtitleSize=100&audioBoost=100&location=lan&autoAdjustQuality=0&directStreamAudio=1&session=yhcysg8axe9oqjn6wwyyytpy&subtitles=burn&Accept-Language=en (6 live) TLS GZIP 68945ms 452 bytes (pipelined: 1)
Sep 25, 2017 08:06:34.185 [0x68eff400] DEBUG - Whacked session yhcysg8axe9oqjn6wwyyytpy, 0 remaining.
Sep 25, 2017 08:06:35.936 [0x720ff400] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.

Error 28 is a timeout error. PMS could not get a response from the server in time (10 seconds to connect). Check your networking

Network is working just fine. I can download all metadata etc. I just have ipv6 disabled

PMS doesn’t use IPv6 so that’s fine. I will need to see the complete set of log files. There are other items I need check.

Please perform a continuous ping of plex.tv and watch for dropped packets. While this shouldn’t matter, something is causing the problem.
The CodecManager attempts to connect 3 times before failing. The most common causes are DNS lookup failure and actual LAN speed.

If you’ve eliminated basic networking, i will need those files.

Please do the following

  1. Settings - Server - General Enable Verbose logging
  2. Attempt to play the video which needs that codec
  3. When it fails, immediate grab the full set of logs (Settings - Server - Help - Download Logs)
  4. Turn off Verbose logging (Leave ‘Debug’ logging on)

Hi,

ty for your help.

I got it working. I had set my iptables rules back to default for a minute and the codec’s where downloaded.

Just for info:
Does https://downloads.plex.tv/ use some kind of other conf than plex.tv? Because when I ping plex.tv I get 0% packet loss with my iptables rules.

Weird that it only happens with the downloads subdomain

Best wishes and many thanks.

The downloads servers, while in the same AWS cluster account, are indeed different servers. Amazon has them zoned for worldwide coverage.

Future reference. I ran into the same issue. What I did to fix it was,
reset Network settings in Plex to default,

deleted the “random numbers folder” in C/USERS/User/AppData/Local/PMS/Codecs/“random numbers folder”

I then exited/closed the Plex service, then restarted it again, and then I start to see the a new random numbers folder being created with all the PMS Codecs downloading inside it