Closed Dhalkar closed 2 years ago
The bot is your octoprint server. Can you get me the latest logs from your server so I can have a look?
On Mon, 9 May 2022, 5:24 am Dhalkar, @.***> wrote:
So the bot worked earlier today. Now it's just listed as Offline, it works fine to invite it, I've also tried reinviting it and redoing the entire process.
Is the Bot itself offline?
— Reply to this email directly, view it on GitHub https://github.com/cameroncros/OctoPrint-DiscordRemote/issues/220, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK7FL5IME52PLF5SMFJE7LVJAIGDANCNFSM5VMK3VUA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
The bot is your octoprint server. Can you get me the latest logs from your server so I can have a look? … On Mon, 9 May 2022, 5:24 am Dhalkar, @.> wrote: So the bot worked earlier today. Now it's just listed as Offline, it works fine to invite it, I've also tried reinviting it and redoing the entire process. Is the Bot itself offline? — Reply to this email directly, view it on GitHub <#220>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK7FL5IME52PLF5SMFJE7LVJAIGDANCNFSM5VMK3VUA . You are receiving this because you are subscribed to this thread.Message ID: @.>
I checked the logfile myself, and found the error, for some reason my Bot Token is not 59 chars, it's 70. The only thing I've actually changed is the bots name and I've added a picture instead of the default one.
I'll try and change some parameters on the Bot-page and see if I can get 59 chars instead...
Try regenerating the token and re-setting it in octoprint. If the length is still wrong, can you send me the bot token? (Reset it and send me the old one)
On Tue, 10 May 2022, 5:14 am Dhalkar, @.***> wrote:
The bot is your octoprint server. Can you get me the latest logs from your server so I can have a look? … <#m_-93102513098058130_m7695943181347321215> On Mon, 9 May 2022, 5:24 am Dhalkar, @.> wrote: So the bot worked earlier today. Now it's just listed as Offline, it works fine to invite it, I've also tried reinviting it and redoing the entire process. Is the Bot itself offline? — Reply to this email directly, view it on GitHub <#220 https://github.com/cameroncros/OctoPrint-DiscordRemote/issues/220>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK7FL5IME52PLF5SMFJE7LVJAIGDANCNFSM5VMK3VUA https://github.com/notifications/unsubscribe-auth/AAK7FL5IME52PLF5SMFJE7LVJAIGDANCNFSM5VMK3VUA . You are receiving this because you are subscribed to this thread.Message ID: @.>
I checked the logfile myself, and found the error, for some reason my Bot Token is not 59 chars, it's 70. The only thing I've actually changed is the bots name and I've added a picture instead of the default one.
— Reply to this email directly, view it on GitHub https://github.com/cameroncros/OctoPrint-DiscordRemote/issues/220#issuecomment-1121477262, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK7FLZXU62ILVXPNLBI3H3VJFP2ZANCNFSM5VMK3VUA . You are receiving this because you commented.Message ID: @.***>
Try regenerating the token and re-setting it in octoprint. If the length is still wrong, can you send me the bot token? (Reset it and send me the old one) … On Tue, 10 May 2022, 5:14 am Dhalkar, @.> wrote: The bot is your octoprint server. Can you get me the latest logs from your server so I can have a look? … <#m_-93102513098058130_m7695943181347321215> On Mon, 9 May 2022, 5:24 am Dhalkar, @.> wrote: So the bot worked earlier today. Now it's just listed as Offline, it works fine to invite it, I've also tried reinviting it and redoing the entire process. Is the Bot itself offline? — Reply to this email directly, view it on GitHub <#220 <#220>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK7FL5IME52PLF5SMFJE7LVJAIGDANCNFSM5VMK3VUA https://github.com/notifications/unsubscribe-auth/AAK7FL5IME52PLF5SMFJE7LVJAIGDANCNFSM5VMK3VUA . You are receiving this because you are subscribed to this thread.Message ID: @.> I checked the logfile myself, and found the error, for some reason my Bot Token is not 59 chars, it's 70. The only thing I've actually changed is the bots name and I've added a picture instead of the default one. — Reply to this email directly, view it on GitHub <#220 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK7FLZXU62ILVXPNLBI3H3VJFP2ZANCNFSM5VMK3VUA . You are receiving this because you commented.Message ID: @.>
Tried generating a new one and setting it in OctoPrint, still get the longer tokens when generating a new token though.
Can't see any good way to email it to you privately, but since I generated a new one the old one isn't much good anyway, attaching it in the attached .txt file.
i confirm that discord stably genetrate 70-symbol tokens now (and i have 2FA which made testing just annoying) i suggest you just remove length check to avoid repeat of this situation
Just in, im also generating 70 char tokens, will it also generate 50 char ones or is a change in the code needed?
It's a trivial code change, but I will need to find some time to do it. Short term, if you can find your plugin source code on your octoprint installation, look for this file:
And delete that block (the if plus the the following 2 lines).
On Thu, 19 May 2022, 1:49 pm KenwoodFox, @.***> wrote:
Just in, im also generating 70 char tokens, will it also generate 50 char ones or is a change in the code needed?
— Reply to this email directly, view it on GitHub https://github.com/cameroncros/OctoPrint-DiscordRemote/issues/220#issuecomment-1131171100, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK7FL62WC6RVNAAVUCVCRDVKW25PANCNFSM5VMK3VUA . You are receiving this because you commented.Message ID: @.***>
See latest release
Aww, nice of them to change that for no good reason. I will try push out a fix later this week
On Thu, 19 May 2022, 4:41 am EvilGremlin, @.***> wrote:
i confirm that discord stably genetrate longer tokens now (and i have 2FA which made testing just annoying)
— Reply to this email directly, view it on GitHub https://github.com/cameroncros/OctoPrint-DiscordRemote/issues/220#issuecomment-1130379128, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK7FL6BQVF3FL2SDSETDO3VKU2UVANCNFSM5VMK3VUA . You are receiving this because you commented.Message ID: @.***>
Thanks :)
So the bot worked earlier today. Now it's just listed as Offline, it works fine to invite it, I've also tried reinviting it and redoing the entire process.
Is the Bot itself offline?