vsTerminus / Discord-NP

Last.FM Now Playing info in your Discord status message
MIT License
43 stars 6 forks source link

Last.FM Lookup failed #28

Closed jscott5811 closed 2 years ago

jscott5811 commented 2 years ago

Cannot send OP Client is not connected at gateway.pm line 302

vsTerminus commented 2 years ago

In config.ini set log_level = debug and log_dir = . and try again.

It should generate a file named mojo-discord.log.

You can either share that file here with me or look through it yourself and see if it sheds any more light on the problem.

jscott5811 commented 2 years ago

It was working before and now it doesn't and i haven't changed anything recently mojo-discord.log .

vsTerminus commented 2 years ago

[2022-07-14 12:35:35.51677] [7928] [info] [Gateway.pm] [on_finish] Websocket connection closed with Code $code = 4004; (Authentication failed.)

Likely your token has expired or otherwise been changed. This is common when you log in with a new device for the first time, change MFA settings, and on other events.

Try getting a new copy of your Discord token and see if that works for you!

jscott5811 commented 2 years ago

Updated the discord token and it seems to be working again!

vsTerminus commented 2 years ago

Great!

You can disable the logging by changing the log level back to fatal.