-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stream authentification not working #331
Comments
What do you mean by stream authentication? Do you mean a username and password? |
Correct there is a setting at the OpenWebif Settings which is called "Enable Authetification for streaming". When i set this to yes its not working via Kodi but its working via VLC. But i already found out its not a direct problem just with the Enigma2 PVR Client also the PVR IPTV Simple Client has the same problem. When i check the Kodi log this it how it looks without authentification:
And this is how it looks when i turn on stream authentification at OpenWebif
Funny thing is when i copy the URL which Kodi try to open and open it with VLC its working without any problem when i use a m3u8 file like this
When i just copy and paste the url in the browser its not working. Must have something to do with the referral or the |
Sending a username and password over an unencrypted URL is not very secure. And I'm afraid I'm not familiar with how OpenATV does this authentication, but it would be classed as basic auth. I'm not sure the username and password make sense over a local network. If you are doing this from an external network a VPN would be more secure (and not require a username and password). Essentially security on Enigma2 boxes is poor at best. Can I ask what version of the add-on you are using? Is it on Kodi 18 or Kodi 19? It might make sense to try the Kodi 19 version if you are not already. BTW a 502 error means it can't reach the network in question. |
I know about the security ;) Im working as an IT specialist so thats out of question but VPN isnt an option. Im using it on Kodi. Yes i know Error 502 means its not reachable but as i said with the same link in VLC player its working ! I just can create a m3u8 file and paste this in Also im wondering why its working via Port 8001 but not via Port 8002. When i disable the authentification for streaming at OpenWebif then its working even with the same URL as the user/pass is ignored. I will try to check also with Chrome/Firefox whats the problem i just cant understand why there is this option and its working with VLC player but not with the PVR Addon which is for this STB. |
You didn’t answer my question. Are you running kodi 18 or 19? |
Oh sorry wanted to write „Im using it on Kodi 19“ just did a fresh install of Kodi and the PVR Addon on Fire Tv Stick and also on my Windows Pc both got the same error. Maybe its possible to add an option when Authentification is activated that the stream gets opend the same way VLC does it. As said when using authentification on port 8001 everything is working fine. |
There must be something with the transcoding implementation on OpenATV. The way the stream is opened is via a kodi API. It’s not possible to just open it like VLC does I’m afraid. If you open it using curl what happens? |
Yeah i also think its a problem with the openATV streamproxy. I will test it with curl later but i guess since im getting a Error 502 also with Chrome/Firefox when usin stream authentification and port 8002 curl wont work also. Just wondering which way VLC open the stream aa its working without any problem. Also vuplusTV on my iPhone is working with port 8002 and authentification. |
Sorry for the waiting time. I now tried again and found out the following problem Kodi -> Failing with the error
Chrome/Firefox/Internet Explorer: When i open this link which i get from the openWebif Backend -> http://root:[email protected]:8002/1:0:19:1198:406:1:C00000:0:0:0: i get a 502 Error (same like when open with KODI) When using curl its downloading the file and i can open that file with VLC to watch the stream
I dont know but it seems like the PVR Client is using a "normal Chrome/Firefox/Internet Explorer" request to open the stream as its working with CURL and VLC In the log i see this request
For sure this request fails as the Username and Password isnt in so it gets a error 502 because its not allowed to open that "site" |
I have now tested very often and switched channels etc. sometimes for one channel its working also in KODI using the PVR Client. Right now i was able to open RTL when i try to switch to another channel it fails with the same error in the log file i showed above. Here is the log the first 2 channels it couldnt open the third random channel (kabel 1 hd) i clicked was played fine. Here is the log i marked fat from where it was working.
|
Is it possbile to change tha standard player which is used by Kod or the PVR Plugin ? Maybe its working if i change it to VLC as its working with VLC on Pc/mobile phone without any problem. Maybe its a problem of the default player i dont know but would be a try. |
Please use a paste site if you are posting logs. FYI, kodi is a player. There is no option to play with something else. |
Yeah Kodi is a player i thought its possible to use a external player inread something at google where you can set rules etc |
Maybe on android, but I don’t really know. |
Did you ever progress this? I ran a test on my device (VU+ Ultimo) running OpenVix latest and it works for me ok. |
Hello,
im using a vu+ duo². When im start Kodi and want to watch the TV program from my STB it is working fine when i use "8001" as the streaming port even when the option for authentification for streaming on the STB is activated.
When i switch the port to "8002" (transcoded) stream and have the auth for streaming option activated i cant watch any channel. Sometimes after restarting Kodi or just the PVR Plugin its working. When i deactivate "Stream authentification" i can watch the transcoded stream without any problem.
Is this a know bug/error ? Im wondering that sometimes its working for lets say ARD then i try different channels which arent working lets say RTL, ZDF etc then i try ARD and its also not working but when i then try ZDF its working. Sadly there is no pattern when what is working. Just when i disable the authentification for the stream its working fine.
The text was updated successfully, but these errors were encountered: