Playback stops : Error issuing curl_easy_perform(handle): 51

Server Version#: 1.18.2.2058
Player Version#:

Hi!

So i have some issues with playback stopping on plex when watching movies. I have only noticed it when watching movies. Series seem to not be affected.

I have checked the console while reproducing and the only error that i see is :slight_smile:

error issuing curl_easy_perform(handle): 51

I have tried various fixed that i have found online. But the posts i found are either out of date or unrelated. So i decided to post here for some help

The Plex server is running in something called “Openflixr” and it has been great for the most part. It is being hosted on an old server we had at work and it is basically only used for a legacy FTP server which we are killing in Jan 2020. So there is plenty of resources for the VM.

The server is on a dedicated 1000/1000Mbit business line since we had one line we did not use.
There is also a dedicated enterprise cisco firewall in between. To ths network we also connected a Synology D1819+ with around 30TB of storage.

The speed between the server and the Synology is local 1000/1000Mbit so it should be more than fast enough to stream movies.

First i had mapped the media folders as SMB but it gave some permission issues so i remapped them as NFS and have now fixed the permissions i think. At least everything seems to work except this.

I am out of ideas and i don’t know what to test or try net. Where can i continue troubleshooting the issue?

I doubt it is a resource issue.

  • OS: Ubuntu 18.04.3 LTS x64

  • CPU: Intel Xeon E5-2600 server has 4 cores 8 threads

  • 21GB ECC ram

What can cause the curl_easy_perform(handle): 51 issue?

Curl 51 is a certificate error. PMS isn’t liking what it’s getting back.
Does that host have a cert attached to it?

Yes it does. I have an openflixr Vm which sets up Let’s encrypt.

So i can use both http://domain.com/plex and https://domain.com/plex

I have run the lets encrypt fix script a couple of times without luck. SSL seems to work, but i think it is giving Plex some issues. I don’t know where to look or how to fix it though.

You need to add the domain’s cert to Plex so it knows to allow & trust it.

Settings - Server - Network - Show Advanced

I will try.

I have added these:

here:

I will report back

Still having the same issue.

The playback stops after a few minutes, i can continue watching if i just refresh.

This is what the console shows around the error which i think causes the issue:

android app?

No this was on a windows 10 PC.

I later tried on an Xbox and an Android phone where the issue seems to be solved.
However on the PC i can now not watch more than a few seconds until it starts buffering throwing the same error.

On my work computer i cannot even use the plex if i use HTTPS.

image

Without HTTPS is fine though.

Also get a few other errors once in a while now.

error issuing curl_easy_perform(handle): 51

Now it works on all devices except PC it seems. Tried different browsers.

This is the info i have gathered but i don’t know if the buffering happens because of this.

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