Skip to content
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

Error : Unable to retrieve access token #89

Open
lothrick opened this issue Sep 15, 2016 · 38 comments
Open

Error : Unable to retrieve access token #89

lothrick opened this issue Sep 15, 2016 · 38 comments

Comments

@lothrick
Copy link

Hi, I've been using Twitch app on my Samsung smart TV for like a year now with no issues at all.
Today I can't load any stream and dunno how to fix this. I tried reinstalling and forcing update withe the IP and dev Samsung account but it says my app is up to date.

Did anyone experience this issue today and know how to fix it??

@madbatwithhat
Copy link

same here since yesterday
you can try twitchmod for plex to watch till it get a fix
hope this app will get an update

@poLmN
Copy link

poLmN commented Sep 15, 2016

Looks like it's broken for everyone. Thought I'm the only one. Lets hope it's going to be fixed soon.

@lothrick
Copy link
Author

you can try twitchmod for plex to watch till it get a fix

Can you explain a bit more what's that? I'm kinda nooby :)

@Ottha
Copy link

Ottha commented Sep 15, 2016

Hey,
the reason is an Update in the twitch api which requires the requesting Source to be a verified client.
You can read it up here: https://m.reddit.com/r/Twitch/comments/52ta5d/twitch_api_clientid_enforcement_is_now_live_what/

If it's fine for the owner to have someone contribute I could check the change over the weekend maybe.

@lothrick
Copy link
Author

lothrick commented Sep 15, 2016

Plz be our hero Ottha ;)

@madbatwithhat
Copy link

Can you explain a bit more what's that? I'm kinda nooby :)

  1. just install plex app for your tv
  2. install plex server on your pc/media center
  3. add this plugin to your plex server: https://forums.plex.tv/discussion/178235/rel-twitchmod-twitch-tv-with-extra-features

seems plex is already fixed

still hope for this stand alone app to be continued

@lothrick
Copy link
Author

Well I did that and I give up. Plex doesn't work for me either. Keep getting "Unable to connect to the content server" error. I really hope someone will fix this app soon.

@northlane94
Copy link

Have the same problem. I tried to reinstall the app, but when i start to sync the app i get the message "Error_Development_002". I am normally logged in with the develop. Someone got the same problem? I realy hope this is getting fixed, i use this app over a year now and i hate watching normal tv.. :(

@abacha
Copy link

abacha commented Sep 16, 2016

+1

@xXxBreak
Copy link

Should be just a matter of adding the Client-ID header to all the HTTP queries to the API. Not sure if this app has its own client ID, but as an interim we could just use the Client-ID twitch's own webapp uses (jzkbprff40iqj646a697cyrvl0zt2m6)

@lothrick
Copy link
Author

If that's the case maybe someone will try to fix this issue. I'm really not looking forward to watch Twitch on my PS4 or TV browser :(
Is there a way to contant the app creator maybe?

@nikitakatchik
Copy link
Owner

nikitakatchik commented Sep 16, 2016

I'm here, boys 😄 So has anyone tried adding official client ID to the request? (At least in a browser)
The thing is I am not a registered developer within Twitch and don't have a client ID, I'm yet to look it up.

UPDATE. Ok, we got an ID.

@xXxBreak
Copy link

I pulled the queries and ran them in curl, adding the Client-ID header and they alll worked fine

@Cbroeter
Copy link

Hey, is the issue fixed?

@Ottha
Copy link

Ottha commented Sep 16, 2016

Cool we have one. I hope you didn't just use the one from the twitch app but created your own. I doubt twitch would be happy with other apps using 'mismatching' ids^^

@g1raffi
Copy link

g1raffi commented Sep 16, 2016

Sorry guys I can't follow. How do we receive an Client-ID? Do I need to change any code, or can I simply update the app from my TV? Still not working atm :S
Cheers

@Ottha
Copy link

Ottha commented Sep 16, 2016

Hey, it's not fixed yet. I guess we should just wait a little longer until our mate has updated his could. Will be pretty soon I guess :)

@g1raffi
Copy link

g1raffi commented Sep 16, 2016

Aight. Thanks. Found the error. But im unable to deploy... Ill just hang tight, thanks guys

@poLmN
Copy link

poLmN commented Sep 17, 2016

Any predictions when it's going to be fixed? Miss twitch :/

@KZN1
Copy link

KZN1 commented Sep 17, 2016

FeelsBadMan

@northlane94
Copy link

Do you guys also get this "Error_Development_002" if you want to sync the app again?

@brenocibin
Copy link

northlane94 I'm having that error aswell =/ FeelsBadMan

@poLmN
Copy link

poLmN commented Sep 18, 2016

Well it wont work untill someone fixes it and uploads new version

@JavonneM
Copy link

Anyone planning to upload a fix ? or should I start looking into this ?

@NovaInferno
Copy link

MKVD appears to be on it. They mentioned in a previous comment the acquisition of a "Client ID" which is newly required by the twitch api. Can we get an ETA?

@lothrick
Copy link
Author

Yeah an update or ETA would be great

@nikitakatchik
Copy link
Owner

Weird. Adding
xmlHttp.setRequestHeader('Client-ID', 'anwtqukxvrtwxb4flazs2lqlabe3hqv');
after each creation of a XMLHttpRequest instance didn't help.

@lestera
Copy link

lestera commented Sep 19, 2016

@mkvd That's because it needs to be added after open and before send, as mentioned here: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/setRequestHeader

@nikitakatchik
Copy link
Owner

nikitakatchik commented Sep 19, 2016

@mkvd That's because it needs to be added after open and before send, as mentioned here:

Right, I should have paid more attention to that page 😃

App seems to be working now, I just uploaded the updated version to both github releases section and our sync server. Client-ID of this app is unique. 😄

@whitedragonLT
Copy link

And now hen I import new app, there is no run as > tizen web app. now there is run as>run configurations.... :[

@lothrick
Copy link
Author

@mkvd you're a god :) thx a lot my APP is working now. Just had to delete and reinstall it

@whitedragonLT
Copy link

oh just found out this is not the 2016TV branch, sorry

@northlane94
Copy link

My god, thanks alot @mkvd you are the man ! It works again, THANK YOU !!

@jazha
Copy link

jazha commented Sep 19, 2016

Is the sync server down? Getting "Error_Development_002" , and I cannot figure out why :/

--- Nevermind, after uninstalling I had to restart my TV, relog as develop and add the ip settings again. Then it worked, thanks!

@kerolajna
Copy link

Sorry for being a bit dumb, but for me it was a significant milestone to even install the Twitch app on my TV. :) So how can I make it work again please? I tried to download the new ZIP folder, but I got stuck at the same spot as @whitedragonLT (that Run Configurations... option), I must be missing something...

@northlane94
Copy link

@kerolajna i know how you feel, same for me. I recommend you to simply install it by syncing the app with your TV. That was the easiest way for me. Just follow the README -> https://github.com/mkvd/smarttv-twitch

@kerolajna
Copy link

I just found a ZIP folder made by @whitedragonLT for 2016 TV and it works! Finally! Thanks a lot. :)

@frozywozy
Copy link

I get "Error: Unable to load stream data" after 15 replies using the version 3.6.

Anyone could help me out? thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests