(2016-02-13, 13:56)cruisecruise Wrote: Does anyone know what's wrong ?
New log file with the .11 version here. I had no roger subrcribtion activated. Hope the new log helps
Http://xbmclogs.com/pdlgaijgj
Still not sure why you are getting http error 400. If you use a dns proxy or vpn services disable them and try starting a stream.
I added some debug code to the next version that should help me understand what's going on.
(2016-02-13, 16:48)thermo Wrote: ilikesushi - changing the UA string didn't seem to do anything for me this morning.
What I did:
1) Completely uninstalled everything and deleted directory in userdata/addon_data
2) Installed latest build from the repo 2016.2.11
3) Entered my credentials for my Rogers account
4) Played a recap from yesterday - New York and LA I think it was - looked amazing BTW
5) Tried to play the full game
6) Received the following error:
Sign On Restriction - Too Many Usage Attempts
7) Editted main.py and replace UA_PC with "AppleCoreMedia/1.0.0.8C148 (iPad; U; CPU OS 4_2_1 like Mac OS X; en_us)" - note no quotes around the UA_PC
8) Rebooted
9) Tried full game Carolina vs Pittsburgh - same error Sign On Restriction - Too Many Usage Attempts
Looking at the log files it appears to be sending the playstation 4 UA way for some reason:
09:39:05 T:1924187184 DEBUG: CFileCache::Open - opening <|User-Agent=PS4Application libhttp/1.000 (PS4) libhttp/3.15 (PlayStation 4).....
I went back in and changed UA_PS4 to the same user agent above and still got the Sign On Restriction error trying to start a game from yesterday.
Log here: http://xbmclogs.com/p3cfnemkv
This is on a Pivos XS running TOFULinux - which is basically Kodi 15.2. Everything ran fine before the MLB migration.
Thanks for your efforts Devs & Troubleshooters!
I did a bunch more testing last night. It seems the session key is what is causing the issue. The session key also seems to only change every 24 hours or so. Basically, if you request a new session key too many times in a short period of time the error is tripped. Also, if you put an improper session key in the request it will count as a new session key request.
So what gives? I've got a valid key why is the request treating it like it's not valid? That's when I noticed the session key wasn't being url encoded. So what that means is if the session key had a special character (ie. '+') in it, it was being sent incorrectly and the nhl tv servers counted it as a new session key request. This would explain why some people like my self would be able to stream fine and others couldn't. If you were a lucky one who got a session key without any special characters everything would run fine, if not you probably ran into too many usage attempts pretty quickly. It wasn't until my session key was updated to one that contained a special character last night that I began to realize what was happening.
I still need to do some more testing with the next release, but I pretty confident that it will squash this bug. However, keep in mind you can still trip this error if you login to your account multiple times with in a short period. That means if you login via the browser, official apps, or other kodi apps these all count towards the sign-on restriction. In fact I was able to trip the error by running the logout 4 times in a row with my addon alone. However, there should be no reason to do this I was just doing it for testing purposes and once you login your cookies are valid for 6 hours which is plenty of time for the sign-on counter to reset before a new login is needed. Also, most the official apps hold on to there cookies for long periods of time, that is why people are able to stream videos on there game consoles while the addon is throwing errors. The addon is attempting a new login (including a new session key request) while the official app is still running on valid cookies, if you were to logout of the official app and attempt a log in it would throw an error.
I'll update my repo and post and update message once I am satisfied with my preliminary testing.
(2016-02-13, 04:56)WHamilton Wrote: (2016-02-11, 22:00)WHamilton Wrote: (2016-02-11, 19:21)eracknaphobia Wrote: Update 2016.2.11 Released
- Added No spoilers setting for live games only
I think this should be the other side.
"Spoilers only for live Games" makes senses and is a good Feature.
I see which games are tight and select the Game.
have you read my objection ?
Today i ve watched on kodi (linux native) since 7 pm eastern.
7 pm LA Kings @ NY Rangers (1/3)
7:40 pm St.Louis @ Florida (1/3)
8:10 pm LA Kings @ NY Rangers (2/3)
8:40 pm St.Louis @ Florida (2/3)
9:05 pm Montreal @ Buffalo (3/3)
9:25 pm LA Kings @ NY Rangers (OT)
9:35 pm Colorado @ Detroit (3/3)
without any error "too many usage attemps" until now 9:55 pm.
Yes, I will add a "Only for archive games" selection for the no spoilers setting.
I'm almost positive this is a result of your session key rolling to a new one that contained special characters. I would imagine this probably happened around the 9:25 request and allowed you to load streams until the sign-on restriction was tripped. This should be fixed in the next version.