Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Error when trying to start a stream #410

Closed
rschloeg opened this issue Sep 20, 2018 · 57 comments
Closed

Error when trying to start a stream #410

rschloeg opened this issue Sep 20, 2018 · 57 comments

Comments

@rschloeg
Copy link

Like already commented in #397 by atduke and me:
Since Yesterday, I can not start a new stream and get an error message. The Kodi logfile shows the error message
20:37:39.150 T:1761604512 ERROR: could not find GP tokens to refresh
I have the latest version installed. The day before it worked fine.

kodi.log

@ttobsen
Copy link

ttobsen commented Sep 21, 2018

Same here. Neither Jets vs. Browns nor NFL Network is working.

@SirScott13
Copy link

Same issue. My error says "Unexpected Error :( Please enable debugging for both the addon and Kodi and submit a bug report."

@kaileu
Copy link
Collaborator

kaileu commented Sep 21, 2018

My guess is its related to pigskin/pigskin#23

@rschloeg
Copy link
Author

@kaileu As far as I understand you mean we should try the newest version of the pigskin library. But how can we install that one? Up to now pigskin is part of the gamepass package, but the newest build of that is much older than the newest version of pigskin.

@kaileu
Copy link
Collaborator

kaileu commented Sep 21, 2018 via email

@Ghoschdi
Copy link

Hi Kai,

thanks for this, but unfortunately just combining your changes with the latest Github version if the Game Pass addon does not fix the issue (at least for me)

@kaileu
Copy link
Collaborator

kaileu commented Sep 21, 2018

I am using still the old version which works for me:(
I didn‘t have time at the moment to review all the changes from alex maybe there is also something else wrong

@Ghoschdi
Copy link

So you are saying you are using the old release and combined it with your tweaks? Will test that right away

@Ghoschdi
Copy link

Ghoschdi commented Sep 21, 2018

I can approve. Grabbing the old repo version or the master from Kaileu's github here: https://github.com/kaileu/xbmc-gamepass + editing the \resources\lib\pigskin.py in the zip archive
Line 349: vs_format = i.attrib['format'].lower() to vs_format = i.attrib['name'].lower() then installing it in Kodi via the install from zip will get the playback working again.

@rschloeg
Copy link
Author

I can confirm that. It works for me, too. Thank you very much, @kaileu and @Ghoschdi !
The only difference for me was that in my pigskin.py the line to be changed was line 307. but luckily there is only one line in the script which fits to the description of @Ghoschdi

@acrewe
Copy link

acrewe commented Sep 22, 2018

The above initially worked for me, however after exiting Kodi and re-entering I am continually receiving the below error. Please can you advise if there's anything I can try. Thanks

11:22:57.599 T:7804 ERROR: EXCEPTION: Dialog not created.
11:22:57.727 T:7804 ERROR: Login Failed.
11:22:57.727 T:7804 DEBUG: .

@acrewe
Copy link

acrewe commented Sep 22, 2018

Ah.... after checking repo, master and older versions with and without the 'format' to 'name' fix and receiving the exact same ERROR: Login Failed on each.
Refreshed my IP address; and it's allowed me to login again, so possibly a timing issue or it is an IP ban maybe.

@jm-duke
Copy link
Contributor

jm-duke commented Sep 22, 2018

I too can confirm that after downgrading to 2018.08.23 and implementing the fix provided by @kaileu, I can stream games again.

@jm-duke jm-duke mentioned this issue Sep 22, 2018
@JimmyJones79
Copy link

JimmyJones79 commented Sep 22, 2018

I've tried editing the file on the old version, no luck, tried switching to the 9-8 version, no luck. I wish I had something more to offer than I'm running Kodi 17.6 on a fire TV v2. The add-on worked great on Sunday /Monday, Jets vs Browns was when it failed.

I would also like to extend a big thank you to the people that make this Add-on possible to exist. Been using it for 2 years now. I am not a programmer but have programmed enough to edit code.

@fritsie82
Copy link

fritsie82 commented Sep 22, 2018

I can approve. Grabbing the old repo version or the master from Kaileu's github here: https://github.com/kaileu/xbmc-gamepass + editing the \resources\lib\pigskin.py in the zip archive
Line 349: vs_format = i.attrib['format'].lower() to vs_format = i.attrib['name'].lower() then installing it in Kodi via the install from zip will get the playback working again.

Works here as well. Not sure what the line number was but found the said text and after installing the zip GamePass worked again on my Kodi.

Edited ZIP file can be found here https://ufile.io/puxho

@JimmyJones79
Copy link

@fritsie thanks I'll give it a try and report back

@JimmyJones79
Copy link

JimmyJones79 commented Sep 23, 2018

Ok I tried the master file and I get "failed_login" (the credentials are correct), when I update to 8/23 it logs on fine but when any video is selected it gives the "Unexpected error..." Message.
@fritsie what version of Kodi are you running?

@SirScott13
Copy link

I can approve. Grabbing the old repo version or the master from Kaileu's github here: https://github.com/kaileu/xbmc-gamepass + editing the \resources\lib\pigskin.py in the zip archive
Line 349: vs_format = i.attrib['format'].lower() to vs_format = i.attrib['name'].lower() then installing it in Kodi via the install from zip will get the playback working again.

Works here as well. Not sure what the line number was but found the said text and after installing the zip GamePass worked again on my Kodi.

Edited ZIP file can be found here https://ufile.io/puxho

@fritsie82 This zip file is perfect. Thanks for the help.

@JimmyJones79
Copy link

JimmyJones79 commented Sep 23, 2018

Are you guys doing anything other than, uninstalling game pass, then downloading the 8/23 zip, editing the pigskin.py file, re-zipping and installing the add-on via zipfile method? Could using Kodi 17.6 Android, ARM be affecting me? I'm at a loss.

@SirScott13
Copy link

@JimmyJones79
All I did was download the Edited ZIP file that @fritsie82 posted. Then I installed that add-on via ZIP. Then when I opened GamePass, full functionality had returned.

@Ghoschdi
Copy link

The failed login problems seems to occur when you logged in to the service on another device or multiple times on the same one. I think they found out that last season you could watch GP on 3 separate devices with 1 account. I believe some of the fixes that @aqw has done in the newer versions address this, but break the functionality of the playback. So i recommend to log out of all devices, do as SirScott said and try in about 15 mins.

@acrewe
Copy link

acrewe commented Sep 23, 2018

Got mine working on 1st and 2nd Gen firesticks, so shouldn't be an android/arm issue. To circumvent the login error I was getting, I did have to reboot my router to force a refresh of my IP address as waiting/logging out of everything did not alleviate it.

@Ghoschdi
Copy link

Ghoschdi commented Sep 23, 2018

I have a static IP address and can tell you, just logging out of everything and waiting long enough for all sessions to terminate does work.

That said, getting a new IP accelerates your efforts, sure

@acrewe
Copy link

acrewe commented Sep 23, 2018

Fair enough, I must have just been impatient

@Ghoschdi
Copy link

Fair enough, I must have just been impatient

I know that one! :)

@JimmyJones79
Copy link

JimmyJones79 commented Sep 23, 2018

Well I uninstalled, then installed the Master file again. Loaded up fine and is now streaming the Jets browns game with no issue, sometimes I think the thing just likes messing with me because I didn't do anything different other than 12hrs passed from the last attempt.
I'll keep my fingers crossed for kick off time today. Thanks for the help guys, it's appreciated.
@Ghoschdi ip address timing certainly may of been the issue for me

Live Eagles vs Colts streaming fine.

@TweekDash
Copy link

TweekDash commented Sep 24, 2018

Hoping someone can assist. I am having many problems and have tried multiple solutions. I was using the Master branch from https://github.com/aqw/xbmc-gamepass and was able to login but got the errors anytime I would try to start a stream. I went ahead and followed this thread and downloaded the updated file https://ufile.io/puxho which had the edited pigskin.py from Kaileu's master branch.

When I installed that file I could not login to the app at all looks to be like the login issues from #397 What I tried next was applying the change vs_format = i.attrib['format'].lower() to vs_format = i.attrib['name'].lower() here into the aqw master, the login lines used different variables, first I only replaced the ['format'] to ['name'] but that didn't fix is to then next I replaced the entire For vs from aqe with the For I from the updated kaileu version and I still can't play streams

@Ghoschdi
Copy link

Just sign out of all apps, use the zip file and give the sessions time to terminate. Then try to login again. Until aqw is back or someone from the team can figure out all the clashing changes, there is nothing else you can do (unless you are familiar with python yourself and debug/merge the versions)

@jpieti
Copy link

jpieti commented Sep 27, 2018

@fritsie82 zip file worked as a charm! Thank you very much! Also big thanks to people who develop and maintain this NFL game pass addon!

@jpieti
Copy link

jpieti commented Sep 28, 2018

Actually I'm using Android TV , too. The only challenge I had, was to figure out how to load the modified zip -file to my Android TV system. My solution was to use my WLAN, which has network hardrive connected. From there it was easy, just install addon from zip file (Kodi showed automatically my network harddrive) and it started work.

@laufgas
Copy link

laufgas commented Sep 28, 2018

@jpieti I don't get an error message now, but when I try to start NFL network or a game, I choose the quality of the stream but nothing happens.

@laufgas
Copy link

laufgas commented Sep 28, 2018

One more update: I managed to start Highlights & Condensed games. The rest (NFL Network, full games, coache's film & NFL network archive) dont work.

@jpieti
Copy link

jpieti commented Sep 29, 2018

@laufgas In my installation everything works: at least the stuff I need: the games and NFL Network live. Sorry, but I have no clue, why they don't work in your system.

@jpieti
Copy link

jpieti commented Sep 29, 2018

@laufgas I don't know, if this has something to do with this... probably not... but I have followed this tip, which helped me earlier:

  1. go to add-ons-my Addons
  2. VideoPlayer Input Stream
  3. Enable input Stream Adaptive
  4. Go to gamepass Settings-->display/Video
  5. Activate Input Stream Adaptive.
    This was because of this: https://forum.kodi.tv/showthread.php?tid=320450&pid=2768126#pid2768126

But like I said, I don't know, if this has anything to do with this.

@kabukimurder
Copy link

The fix worked for me one time, but after logging out(after a few days) i can't seen to log in again. Reinstalling doesn't seen to help either.. probably because the user settings are saved.

@jpieti
Copy link

jpieti commented Oct 3, 2018

Now I'm getting the 'login failed' error. In the log there's an error which says something like this: you're not allowed to login in from this server. I give up. I started to use built-in chromecast and NFL game pass App from my phone.

@tommmlij
Copy link

tommmlij commented Oct 4, 2018

I never wrote a xbmc addon, but I could not accept that I am not able to watch Drew shredding the record or the shootout between Bortels and the new Uber-QB. So I used my limited knowledge of Python and the Debug Console of Chrome to fix this.

I don't know how robust this is, but it's working for me...

Changes:
tommmlij@f3cb73a

The zip can be found here:
https://github.com/tommmlij/xbmc-gamepass/releases

Have fun and happy gameday.

@aqw
Copy link
Collaborator

aqw commented Oct 4, 2018

@tommmlij Glad you got this working. I've left a few comments in your repo. If you can do some additional testing, I'll include your changes.

@kaileu
Copy link
Collaborator

kaileu commented Oct 4, 2018

If thats your opinion than please make a pull request instead of release an own version.

@tommmlij
Copy link

tommmlij commented Oct 4, 2018

@kaileu
That is not my opinion, but what I did to make that work for me.
The changes are not tested thoroughly, so I made no pull request. But since the next game is in 11h I made a fork and wanted people to know and potentially make it work. Geeze...

@jpieti
Copy link

jpieti commented Oct 4, 2018

@tommmlij Thank you very much! Works great at least in my system!

@aqw
Copy link
Collaborator

aqw commented Oct 4, 2018

I've pushed a version that ports over the latest auth code form pigskin, includes your changes to the post data for gigya auth, adds further guards against exceptions, and includes @kaileu's videoSource fix.

This /should/ work, though no guarantees.

Testing is most welcome.

@jm-duke
Copy link
Contributor

jm-duke commented Oct 4, 2018

Yup, I'm back in business. I installed master and can log-in and stream games again. Thanks to all who contributed!

Cheers!

@kabukimurder
Copy link

Master works great now. Thanks guys!

@laufgas
Copy link

laufgas commented Oct 4, 2018

Sorry but I'm abit confused. Which file should I download to test and see if it's working now?

@ttobsen
Copy link

ttobsen commented Oct 5, 2018

Sorry but I'm abit confused. Which file should I download to test and see if it's working now?

I think @aqw means the content of the Master branch. You can easily download the Zip file for installation by choosing the master branch and download the Zip file from the "clone or download" button.

I can also confirm that Master is working smoothly. And I'm pretty sure that games are loading a lot faster now (1-2 seconds compared to felt 5+ seconds in the last versions).

@Yattle190
Copy link

This worked for me too on multiple machines last night but this morning I had the same old "debugging" message when running a stream.

I cleared my cache in Kodi and now it is working again. So try clearing your cache if you are still having problems with the updated Master. Hope this helps someone.

@hrym55
Copy link

hrym55 commented Oct 9, 2018

Hi,

I loaded the current master branch and I'm able to login and start condensed and the highlight videos, but unfortunately not the actual game video. I'm allowed to select the bitrate and then nothing happens. In the log there is the following message:

kodi_short.txt

@Ghoschdi
Copy link

Ghoschdi commented Oct 9, 2018

Working flawless for me on both live and replay.
@hrym55: Can you switch to inputstream adaptive? Look at #410 (comment) for instructions

@hrym55
Copy link

hrym55 commented Oct 9, 2018

Oh, I didn't realize this still needs to be done. Now it works. Thank you!

@JimmyJones79
Copy link

@tommmlij thank you. I had it working, then last Sunday it stopped again I was getting the "failed_login" error even though I knew the credentials were correct. So I hooked up my laptop to the TV and watched it that way. Tried again today and still got the failed_login error. Just read that you posted a link to a new file you created and figured give it a try. First time I got a add-on error but I tried again and it works. Thank you.

@laufgas
Copy link

laufgas commented Oct 14, 2018

Just wanted to thank you all. Working now. Btw, we can't watch the red zone channel there?

@Ghoschdi
Copy link

, we can't watch the red zone channel there?

Sure, i always watch red zone whenever my team is not playing, works smoothly

@Drunal
Copy link

Drunal commented Jan 6, 2019

I know its a while, but I can confirm that current master still works, while none of the last two releases does.
How much effort is it to put a new release out there, just to avoid the search for this topic here?

@Ghoschdi
Copy link

Ghoschdi commented Jan 8, 2019

The latest master works flawlessly with the last Kodi 17. release. Cutting a new release is sth the maintainers have to do and since @aqw is very busy with an hefty workload, it might take a while. My gut feeling also says that the next release might bring also compatibility for v18 but that will mean even longer waiting time.

@jm-duke
Copy link
Contributor

jm-duke commented Apr 25, 2022

Doing some clean-up and this issue report is really old, so I'm closing it.

@jm-duke jm-duke closed this as completed Apr 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests