floblik / YouScrobbler

Scrobbling from YouTube to Last.FM - Userscript for Firefox and Chrome (DISCONTINUED)
http://lukash.de/youscrobbler
GNU General Public License v2.0
33 stars 9 forks source link

Authenticate Issue #12

Open Feuerforst opened 7 years ago

Feuerforst commented 7 years ago

Hey,

i have a new Bug/Issue.

I`m not sure how to reproduce it but sometimes i got an Error Popup, but it show no error message. After that scrobbling is not working.

So i deinstalled the Script and restartet FF. After that i installed it again and try to login, but it`s not working. "Error: Error occured while connecting to Last.FM Api"

Sometimes its working when i delete the Last.fm Cookies but at the Moment its not.

deleteing last.fm Cookies - not working reinstall Script/Plugin - not working.

Firefox 51.0.1 (64-Bit) Greasemonkey 3.10 YouScrobbler 1.4.2

floblik commented 7 years ago

Hey,

I'm able to authenticate without problems. I added some logging server side. Maybe that helps investigating the problem.

So please try it a few times more and tell me if the problem persists.

Feuerforst commented 7 years ago

after few Minutes i could also authenticate without Problems. But now i have again the other Problem

i try to watch a Video and everthing looks normal: img_002 The Timer is running normal: img_003

But than this message pops up: img_004

and if i pres manual the Scrobble Button i can see this: img_005

Feuerforst commented 7 years ago

And now i hit the Reset Auth Button and can`t login img_003 img_002

floblik commented 7 years ago

Can you check it now again? I had some similar problems but seems its fixed now.

rururux commented 7 years ago

i have same problem still showing error("Error occured while connecting to Last.FM Api") in 1.4.3

Firefox 52.0 64bit

Feuerforst commented 7 years ago

Thx.

im trying. But at the Moment i dont know how i can reproduce this Error.

I used the Reset Auth Button and with 1.4.3 i could Login back without Problems.

Feuerforst commented 7 years ago

Ok Problem is still there. This Error popped up and if i reseth the Auth i can`t login again.

Feuerforst commented 7 years ago

Even after many hours i cannot Authenticate. tryed to delete the Cookies. reseted many times the Auth restarded the Browser many times

floblik commented 7 years ago

What about 1.4.4 ?

rururux commented 7 years ago

1.4.4, Succesfully logged in :) thank you

nikolettk commented 7 years ago

Hi, I have the same problem with the same error messages. I had it about two weeks ago, then I installed the 1.4.4. version as you suggested here, which solved the issue, however the errors appeared again today. After getting the "could not connect to last fm API", I reset my login, but cannot even authenticate, as it says "error occurred while connecting to last fm API". I am using Mozilla Firefox 52.0.1 (32 bit).

Edit: some days it works (for a while), other days it doesn't.

duri2 commented 7 years ago

Same story here, unfortunately (Firefox 52.0.1 64-bit)

Edit: Everything seems working fine, maybe it was a problem on Last.fm side.

Ravanger commented 7 years ago

I can confirm this new strange behaviour. Sometimes it works perfectly, other days it won't let me scrobble or authenticate with the same error as above.

Feuerforst commented 7 years ago

it looks that it happens when youtube switches the SOng with autoplay and when the new Song start you can see the green Message in the Corner and the Timer starts so run down. In this Moment, when the Timer is running down and you switch the Song, ne new message comes up and says scrobbling in X Sek and at this moment its broken and no Songs can`t be scrobbled

floblik commented 7 years ago

@Feuerforst As I read your comment I was using YouScrobbler and got the error on a track I was listening. I kept refreshing the YouTube page and getting the error. After about 10 - 15 min it worked again and I could keep listening to Autoplay tracks.

And as above said

I can confirm this new strange behaviour. Sometimes it works perfectly, other days it won't let me scrobble or authenticate with the same error as above.

This may be caused by many repeatedly made requests. Heres an excerpt of a log file from today on youscrobbler api server: grafik

And 7 minutes later still:

grafik

As you can see the requests are beeing blocked but still may run the server to capacity.

duri2 commented 7 years ago

Maybe there should be an option to use own Last.fm API key? It's possible to create one: https://www.last.fm/api/account/create

halfh07 commented 6 years ago

I have the same problem with firefox 59.0.1 (64 bits) and YouScrobbler 1.4.7 with tampermonkey 4.6.5709

every time y tray to authenticate it sends me to last.fm and then back to youtube and ask for authentication again