-
Notifications
You must be signed in to change notification settings - Fork 27
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
Spotifiy: tokenRefreshRequired #197
Comments
I have the same issue. Re-adding it only lasts for a short period however before it's needed to remove and re-add the Spotify service. My instance of Noson is installed via Snap and, I suspect, it's not able to store or retrieve the token for some reason. I've no idea if these logs are relevant or not:
The last time anything was written to the QML storage was December 5th:
|
First, thanks to the developer for this product - its the only one I have managed to get working on Linux. I just rebuilt the latest src (Manjaro/linux with linux-zen kernel) and can confirm the problem is also present (in non-snap install) Can confirm that it asks for token refresh quite a lot - perhaps it is only a default token for 1 hour ? Some logs... rc:/controls2/components/MusicRow.qml:101:13: QML Image: Error transferring http://192.168.1.3:1400/getaa?s=1&u=x-sonos-spotify%3Aspotify%253atrack%253a2zivGRWrgRZ3PZI4ZEhFVO%3Fsid%3D12%26flags%3D8224%26sn%3D1 - server replied: Not Found |
Just to confirm that I'm having the same problem, too, built from source (Arch AUR). It started about this week (Dec 20, 2022). |
I think you need to re-handshake your connection to Spotify. To do that: delete your service Spotify previously configured, and add it again. There the app will start a new handshake. |
Correct, but then after an hour you see the `tokenRefreshRequired` message again.
|
I also confirm that removing Spotify and then re-adding it works only temporarily, and in my case, stopped working the next day (and because I haven't been listening for more than an hour after it was re-added, it might have stopped just an hour later as @scottwallacesh reported). |
I have the same problem since the last update of Noson. Before it worked. What janbar wrote above didn't help anyway. I think he must research his last update for solving the issue. I deleted Noson and installed Unofficial Sonos Controller even it has some features less than Noson. But Spotify, TunIn aso. work perfect. You can also combine both depending on what you wanna do. But then you have to open either Noson or Unofficial Sonos Controller. |
I could imagine that Noson has no refresh token functionality implemented and Spotify simply shortened the livespan of the access token to an hour. The "unofficial Sonos Controller" doesn't do anything except for eternally showing that it searches for the Sonos system. You can approach that with a png as well, no need for an executable application. |
Same issue here, probably something that changed at the Spotify side? ncspot also seem to have some issues login in. (not sure if that's related) |
Hi, nothing was changed in the code of noson since 4 months. Token refreshing has been implemented from long time, but seems Spotify api changed recently. Must be investigated ... |
I need debug log to investigate this issue... |
So, I get fixed this bug. The new release including the patch is 5.3.3. The root cause is the new Spotify api uses an empty namespace, that wasn't expected, and in my opinion a bad practice. But it is like that today: you must plan for the worst ! |
I refreshed my Snap instance and it says, v5.4.0 -- and it appears to be working well! |
Thanks for the fast fix! Recompiled 5.4.0 on my Pinephone pro, and it works like a charm! Glad I can play music again on my Sonos speakers using Noson-app :D |
Thanks for the update - I confirm it worked. I made a donation as thanks for the timely fix. |
(Hi, once again, thanks for Noson.)
On two different computers where I installed Noson a long time ago, Spotify now complains: "tokenRefreshRequired".
I have no idea what to do here. The only solution I found was to remove Spotify and re-add it to Noson. After that, things worked again.
The text was updated successfully, but these errors were encountered: