Issues Streaming HLS over HTTPS with NGNIX

I’ve configured a manual install of NGINX (1.17.10) with Ubuntu.

I’ve followed this to install:

I’ve then added SSL certification using LetsEncrypt - Xolphin ssl check says “The certificate could be verified and is installed properly”

I can stream hls (.m3u8) over http, but I can’t stream over https.

The fault I receive is:

Chrome: This site can’t provide a secure connection myserver sent an invalid response. Try running Windows Network Diagnostics. ERR_SSL_PROTOCOL_ERROR

Firefox developer: Error code: SSL_ERROR_RX_RECORD_TOO_LONG

Further examination showed no connection to my https stream


My server video was showing a 404 error but attributed to nginx 1.14, which I know is the Digital Ocean package version, which I’ve never installed but somehow its in there. Note that my http stream still works.

I uninstalled nginx (sudo apt-get purge nginx nginx-common)

The .conf file remained in place.

I reinstalled nginx-1.17.10. Once again I can stream to it, receive http and the SSL is recognised by SSL Check.

I can also identify in my developer “console” that an https stream connection is now being made. Everything is blue on the console and recognises nginx-1.17.10, but it still won’t play the stream!

JW PLayer shows a generic 232011 error.

I’ve asked for DO technical support but no response in four days :-(

Can someone advise how to clear this error and move this forward?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

John. I am having this experience now. Did you ever find an answer?