HTTPS doesn't work for streaming
#1
I've been pulling my hairs out trying to get HTTPS working properly however I've come to the conclusion that it's the coding that's the problem. I saw another thread on here regarding it but it never got any replies/solutions. So the problem:

With HTTPS enabled, connecting to the box to retrieve channel lists, guides, recordings functions properly. However starting the actual streams fail. Looking at the logs this can be seen as the code for starting stream is called out for a HTTPS address while the actual streams (even with HTTPS enabled in openwebif from the VU+) is regular HTTP. All E2 streaming uses plain http (not https) thus unencrypted traffic "on the wire", it's just the actual retrieval of information and channel info that is secured through HTTPS.

So from the log:

12:33:46 T:6157037568 ERROR: CCurlFile::Stat - Failed: SSL connect error(35) for https://USERNAME:[email protected]:...0000:0:0:0
12:33:46 T:6157037568 DEBUG: CCurlFile::GetMimeType - https://USERNAME:[email protected]:...0000:0:0:0 -> failed
12:33:46 T:6157037568 DEBUG: CFileCache::Open - opening <1:0:1:FCE:1:64:FFFF0000:0:0:0> using cache
12:33:46 T:6157037568 ERROR: CCurlFile::FillBuffer - Failed: SSL connect error(35)
12:33:46 T:6157037568 ERROR: CCurlFile::Open failed with code 0 for https://USERNAME:[email protected]:...0000:0:0:0
12:33:46 T:6157037568 ERROR: Open - failed to open source <https://USERNAME:[email protected]:8001/1:0:1:FCE:1:64:FFFF0000:0:0:0>

If I take the address from above and paste it in my browser and remove the s from https, the stream functions....

So the solution is that for the HTTPS port the HTTPS address should be used and for the streaming port HTTP should be used. Is there anyway to incorporate this?
This is very important to me as I only want to use the secure HTTPS when accessing remotely. Now somebody will say what's the point when the stream isn't HTTPS, well for the stream no auth is needed so I don't have any password unencrypted while I do want username/password encrypted for the retrieval of information where the credentials are needed.

Best regards
Reply
#2
fixed in https://github.com/MrMC/pvr.vuplus/commi...47f1ea8508
MrMC Forums : http://forum.mrmc.tv
Reply
#3
another fix pending that brings out choosing http or https for streams.
MrMC Forums : http://forum.mrmc.tv
Reply

Logout Mark Read Team Forum Stats Members Help
HTTPS doesn't work for streaming0