An unknown error occurred (4294967283)

My W10 client has no dedicated graphics card. Only Intel iGPU. I found out that I can trigger this error 100% if I capture a video with OBS and try to start a movie through Plex. So it seems something related to the parallel usage of the iGPU I think:

2022-07-24 14-33-01 (1).zip (2.5 MB)

I tried to analyze the logs and compare it with the situation when the video plays:

Fail (transcoding?!):

Jul 24, 2022 15:07:20.761 [16100] ERROR - [MPVEngine/mpv] ffmpeg: tls: Error in the pull function.
Jul 24, 2022 15:07:20.802 [16100] ERROR - [MPVEngine/mpv] stream: Failed to open https://192-168-178-censored.plex.direct:32400/video/:/transcode/universal/start?hasMDE=1&path=%2Flibrary%2Fmetadata%2F57712&mediaIndex=0&partIndex=0&protocol=http&fastSeek=1&directPlay=0&directStream=0&subtitleSize=100&audioBoost=100&location=lan&session=0w0rpf365kzown4gib39yprh&offset=5349&subtitles=auto&copyts=1&Accept-Language=de&X-Plex-Session-Identifier=censored&X-Plex-Chunked=1&X-Plex-Incomplete-Segments=1&X-Plex-Product=Plex%20for%20Windows&X-Plex-Version=1.49.1.3146-73559c78&X-Plex-Client-Identifier=censored&X-Plex-Platform=windows&X-Plex-Platform-Version=10.0.19044&X-Plex-Features=external-media%2Cindirect-media&X-Plex-Model=standalone&X-Plex-Device-Name=DESKTOP-censored&X-Plex-Device-Screen-Resolution=842x661%2C2560x1440&X-Plex-Client-Profile-Name=Plex%20Desktop&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx&X-Plex-Language=de.
Jul 24, 2022 15:07:20.802 [16100] DEBUG - [MPVEngine/mpv] cplayer: Opening failed or was aborted: https://192-168-178-censored.plex.direct:32400/video/:/transcode/universal/start?hasMDE=1&path=%2Flibrary%2Fmetadata%2F57712&mediaIndex=0&partIndex=0&protocol=http&fastSeek=1&directPlay=0&directStream=0&subtitleSize=100&audioBoost=100&location=lan&session=0w0rpf365kzown4gib39yprh&offset=5349&subtitles=auto&copyts=1&Accept-Language=de&X-Plex-Session-Identifier=censored&X-Plex-Chunked=1&X-Plex-Incomplete-Segments=1&X-Plex-Product=Plex%20for%20Windows&X-Plex-Version=1.49.1.3146-73559c78&X-Plex-Client-Identifier=censored&X-Plex-Platform=windows&X-Plex-Platform-Version=10.0.19044&X-Plex-Features=external-media%2Cindirect-media&X-Plex-Model=standalone&X-Plex-Device-Name=DESKTOP-censored&X-Plex-Device-Screen-Resolution=842x661%2C2560x1440&X-Plex-Client-Profile-Name=Plex%20Desktop&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx&X-Plex-Language=de
Jul 24, 2022 15:07:20.802 [16100] DEBUG - [MPVEngine/mpv] cplayer: Running hook: ytdl_hook/on_load_fail
Jul 24, 2022 15:07:20.802 [16100] DEBUG - [MPVEngine/mpv] ytdl_hook: full hook 
Jul 24, 2022 15:07:20.803 [16100] DEBUG - [MPVEngine/mpv] ytdl_hook: status: -3 
Jul 24, 2022 15:07:20.803 [16100] DEBUG - [MPVEngine/mpv] ytdl_hook: reason: init 
Jul 24, 2022 15:07:20.803 [16100] DEBUG - [MPVEngine/mpv] ytdl_hook: stdout:  
Jul 24, 2022 15:07:20.803 [16100] DEBUG - [MPVEngine/mpv] ytdl_hook: stderr:  
Jul 24, 2022 15:07:20.803 [16100] ERROR - [MPVEngine/mpv] ytdl_hook:  
Jul 24, 2022 15:07:20.803 [16100] ERROR - [MPVEngine] loading failed.
Jul 24, 2022 15:07:20.803 [16100] ERROR - [MPVEngine/mpv] ytdl_hook: youtube-dl failed: not found or not enough permissions 
Jul 24, 2022 15:07:20.803 [16100] DEBUG - [MPVEngine/mpv] cplayer: finished playback, loading failed (reason 4)
Jul 24, 2022 15:07:20.803 [16100] INFO - [MPVEngine/mpv] cplayer: 
Jul 24, 2022 15:07:20.808 [2828] DEBUG - [QHotkeyInput] Playback state is now 'Stopped'
Jul 24, 2022 15:07:20.813 [2828] ERROR - [Web] [QTMedia(3)] A critical error occurred: 4294967283 Ein unbekannter Fehler ist aufgetreten (4294967283)
Jul 24, 2022 15:07:20.825 [2828] INFO - [Web] [Metrics] Updating session last interaction time
Jul 24, 2022 15:07:20.842 [16100] INFO - [MPVEngine] Pausing playback.

Success (Direct-Play):

Jul 24, 2022 15:11:05.756 [16100] DEBUG - [MPVEngine/mpv] mkv: All headers are parsed!
Jul 24, 2022 15:11:05.756 [16100] DEBUG - [MPVEngine/mpv] demux: Detected file format: Matroska
Jul 24, 2022 15:11:05.756 [16100] DEBUG - [MPVEngine/mpv] cplayer: Opening done: https://192-168-178-censored.plex.direct:32400/library/parts/104439/1621886026/file.mkv?X-Plex-Session-Identifier=censored&X-Plex-Product=Plex%20for%20Windows&X-Plex-Version=1.49.1.3146-73559c78&X-Plex-Client-Identifier=censored&X-Plex-Platform=windows&X-Plex-Platform-Version=10.0.19044&X-Plex-Features=external-media%2Cindirect-media&X-Plex-Model=standalone&X-Plex-Device-Name=DESKTOP-censored&X-Plex-Device-Screen-Resolution=842x661%2C2560x1440&X-Plex-Client-Profile-Name=Plex%20Desktop&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx&X-Plex-Language=de&Accept-Language=de
Jul 24, 2022 15:11:05.759 [16100] DEBUG - [MPVEngine/mpv] cplayer: Running hook: ytdl_hook/on_preloaded

As you can see it started with ffmpeg’s error “tls: Error in the pull function”. But why was the client not able to load the video file as long OBS was open?

Does the Plex client maybe share any OS resources regarding decoding video streams or does it fallback to invalid transcoding requirements if the decoding hardware is used by multiple applications?!

Notes:

  • The only thing I did between those two tries is to close the OBS application (stopping the recording is not enough).
  • I’m able to start OBS and record the screen after Plex is already playing the movie. I can even jump through the movie. But if I stop the movie (while OBS is still recording) and start the movie again, it returns the 4294967283 error, too.
  • I can enable Transcoding through the playback settings without problems while the movie is playing (so it’s not related to a broken transcoding setup)

@Moussa Could you please forward this finding to the responsible PMP dev?

What was before that? Likely the real problem is in the part of the logs that you didn’t include.

For me it looks in both cases the same:
Plex.zip (55.0 KB)

Each time you get this error in the above logs, it’s around 40-50 seconds after it attempted to first open the connection. The successful connection took nearly a minute to succeed. This sounds like connectivity issues between the client and the server as this really shouldn’t be taking anywhere near this long.

I would wonder as I’m using this server heavily all the time without any issues. Like ripping Blu-Rays (SMB), up- and downloading through Nextcloud (https), etc.

Is it possible to test the connection through wget? I tried it, but it fails because of missing username and password (URL taken from Log while starting the movie):

Yes but you cannot just simply take the URL from the logs because the token is removed. See that part that says X-Plex-Token=xxxxxxx…. The best way to get a download URL is likely to use the web interface, browse to the file you want, hit the dots, and right-click on the part that says Download File and copy that URL. This will give you a URL which contains a token and while it doesn’t include all the parts above it does have what you need.

Thanks. I did that 10 times, while parallely starting/stopping a movie in the Win Plex App (which still has this huge waiting of ~1 minute before failing or starting the movie), but the download through the browser or curl never failed, was never slow and never had a huge delay before starting the download?!

One example of a download through curl::

And this is one of the curl reports (how to):

     time_namelookup:  0.016962s
        time_connect:  0.017373s
     time_appconnect:  0.023003s
    time_pretransfer:  0.023056s
       time_redirect:  0.000000s
  time_starttransfer:  0.025298s
                     ----------
          time_total:  125.112352s

Note: It reached >200 MB/s because I have a 10G connection between the client and the server.

I would say: Fast as hell ^^

Maybe the Windows Defender? I’ll try the same with the W11 client of my wife and respond again…