sm00th / bitlbee-discord

Bitlbee plugin for Discord (http://discordapp.com)
GNU General Public License v2.0
291 stars 27 forks source link

Discord reconnects, then forgets auto_join status #192

Open fish-face opened 5 years ago

fish-face commented 5 years ago

This morning I had the following in my control channel:

[02:12:11] <root> discord - Remote host is closing websocket connection
[02:12:11] <root> discord - Performing soft-reconnect
[04:23:47] <root> discord - Error: Failed to read ws header.
[04:23:47] <root> discord - Performing soft-reconnect
[04:23:57] <root> discord - Error: Failed to switch to websocket mode
[04:23:57] <root> discord - Signing off..
[04:24:07] <root> discord - Reconnecting in 5 seconds..
[04:24:09] <root> discord - Logging in: Logged in

Then when I came back, I had not rejoined most of my auto_join channels. They had gone to auto_join = false when I checked. This has happened multiple times before. It is then very tedious to go through every single channel affected and set them to auto_join. It doesn't occur for every channel and I wonder if it's the ones that you are not automatically joined to on a server.

I cannot use the global auto_join feature as I am in a Discord server with thousands of users, and my IRC client lags out and disconnects when trying to send the vast amount of information required when connecting to everything.

sm00th commented 5 years ago

Try using bitlbee's save command right after you configured all the auto_join channels. This should forcefully dump the config onto disk.