Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
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: https://docs.peer5.com/guides/setting-up-hls-live-streaming-server-using-nginx/
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:
This site can’t provide a secure connection myserver sent an invalid response.
Try running Windows Network Diagnostics.
Error code: SSLERRORRXRECORDTOO_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?
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.×