m4tx / tundra

MyAnimeList scrobbler for Linux
https://tundra.moe
GNU General Public License v3.0
53 stars 2 forks source link

oauth2 request error despite successful authentication #124

Open impoteto opened 3 months ago

impoteto commented 3 months ago

it may or may not be an actual issue/bug, hence no bug/issue label (from my side)

I have no idea what to do, so kinda had to create an issue here

problem after authenticating (successfully), nothing happens on Tundra , but after a few minutes, encountering below error: Screenshot from 2024-03-24 15-34-55

log I didn't find an actual log and honestly didn't know where to look except for journalctl -b | grep tundra :

مارس 24 15:28:24 zbook-g3 moe.tundra.Tundra.desktop[22729]: 2024-03-24 15:28:24 [INFO] [tundra::clients::oauth2_helper] Trying to start listening on addresses: [127.0.0.1:12177, 127.0.0.1:13326, 127.0.0.1:16474, 127.0.0.1:22626, 127.0.0.1:22823, 127.0.0.1:29728, 127.0.0.1:32600, 127.0.0.1:41100, 127.0.0.1:45186, 127.0.0.1:63355]
مارس 24 15:28:24 zbook-g3 moe.tundra.Tundra.desktop[22729]: 2024-03-24 15:28:24 [INFO] [tundra::clients::oauth2_helper] Server running on port 12177
مارس 24 15:28:24 zbook-g3 moe.tundra.Tundra.desktop[22729]: 2024-03-24 15:28:24 [INFO] [tundra::clients::oauth2_helper] OAuth2 code receiver server is running
مارس 24 15:28:24 zbook-g3 moe.tundra.Tundra.desktop[22729]: 2024-03-24 15:28:24 [INFO] [tundra::gtk_gui] Authentication URL: https://myanimelist.net/v1/oauth2/authorize?response_type=code&client_id=61c9c7ae268592c2bbe6196c4c1d8aea&state=srMSWwch9H4LYHVRIW-1uQ&code_challenge=XXgx2G6_TwTQjYEqiOZue09zCMOOIFambVW4JUsb2Fs&code_challenge_method=plain&redirect_uri=http%3A%2F%2F127.0.0.1%3A12177
مارس 24 15:28:31 zbook-g3 moe.tundra.Tundra.desktop[22729]: 2024-03-24 15:28:31 [INFO] [tundra::clients::oauth2_helper] OAuth2 code receiver server has been stopped

note: systemd[1166]: Started app-flatpak-moe.tundra.Tundra-16908.scope. is omitted if I should look for other info , guide me to do so

very basic system info(in form of uname -a

Linux zbook-g3 6.5.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Mar 12 10:22:43 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

thanks in advance