mirror of
https://github.com/casualsnek/onthespot.git
synced 2026-04-26 20:45:56 +03:00
[GH-ISSUE #47] Failed logging in user - invalid credentials #36
Labels
No labels
Feedback requested
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/onthespot#36
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @blp77 on GitHub (Mar 9, 2023).
Original GitHub issue: https://github.com/casualsnek/onthespot/issues/47
in the logs its says "invalid credentials", but credentials are correct.
already deleted config file to eliminate possible other cause, but it didn't fix the problem.
rm .config/casualOnTheSpot/config.json
Also tried to login with email address instead username, same error.
here the console output:
18:05:12,130 :: gui/mainui.py -> 523: __add_account() :: INFO] -> Add account clicked
18:05:12,131 :: utils/utils.py -> 18: login_user() :: INFO] -> logging in user 'tm31****@.'
18:05:12,131 :: utils/utils.py -> 24: login_user() :: INFO] -> Session file exists for user, attempting to use it 'tm31***@.'
18:05:14,091 :: utils/utils.py -> 38: login_user() :: ERROR] -> Failed logging in user 'tm31***@*.', invalid credentials
18:05:14,092 :: runtimedata.py -> 48: handle_exception() :: CRITICAL] -> Uncaught exception
@casualsnek commented on GitHub (Mar 10, 2023):
Can you try clearing config as well as the session file at
%appdata%/.cache/casualOnTheSpotand try logging in again !@blp77 commented on GitHub (Mar 11, 2023):
session file deleted, unfortunately got similar error
[2023-03-10 21:57:52,813 :: gui/mainui.py -> 523: __add_account() :: INFO] -> Add account clicked
[2023-03-10 21:57:52,813 :: utils/utils.py -> 18: login_user() :: INFO] -> logging in user 'tm31****@.'
[2023-03-10 21:57:52,814 :: utils/utils.py -> 43: login_user() :: INFO] -> Session file does not exist user 'tm31***@.', attempting login with uname/pass
[2023-03-10 21:57:52,814 :: utils/utils.py -> 45: login_user() :: INFO] -> logging in user 'tm31***@.'
[2023-03-10 21:57:54,999 :: utils/utils.py -> 52: login_user() :: ERROR] -> Failed logging in user 'tm31***@*.', unexpected error !
[2023-03-10 21:57:55,000 :: gui/mainui.py -> 551: __add_account() :: ERROR] -> Account add failed for : tm31*****************
I tried again and deleted config file together with session file. Still same error.
What makes me wonder is that after deleting both files, the UI "Configuration" tab still knows path to my download location. Is there anything else I should try to clear?
@Igorgro commented on GitHub (Mar 18, 2023):
Confirimng this issue. Deleting settings and sesion doesn't work
@blp77 commented on GitHub (Apr 3, 2023):
I think I found what was causing this... its roaming...
I was traveling outside of my country in which Spotify was registered. Seems like after XX days being abroad they cut off your access via mobile app, but not web app.
My best guess is that "onthespot" acts as a mobile app from Spotify servers point of view and Spotify rejects login to the service after XX days if geolocation does not match country of origin.
@Igorgro Can you confirm you have been using it from abroad or via vpn etc?
@Igorgro commented on GitHub (Apr 4, 2023):
I am using it through wiregurad (it wraps all traffic). If I open browser, spotify works well there
@SteveDesmond-ca commented on GitHub (Jul 26, 2024):
Confirmed, trying to log in via onthespot while connected via VPN fails; disconnect from VPN, login succeeds