Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot connect anymore since 2023-09-18 #183

Open
martinetd opened this issue Sep 20, 2023 · 5 comments
Open

cannot connect anymore since 2023-09-18 #183

martinetd opened this issue Sep 20, 2023 · 5 comments

Comments

@martinetd
Copy link

martinetd commented Sep 20, 2023

since yesterday (2023-09-18T20:29:35Z first disconnect), irc-slack has been disconnecting from slack in a loop like a clockwork every 5 minutes:
level=warning msg="Disconnected from Slack (intentional: false, cause: signaled)" prefix=ircslack

They must have changed something (expecting a ping or something?) that'll need investigating; I don't have the time to check right now but will look after work unless someone beats me to it.

EDIT: ah, it's just that my client reconnects every 5 minutes -- it just doesn't work at all.
I'll try getting a new auth token first, later...

@martinetd martinetd changed the title disconnect every 5 minutes since 2023-09-18 cannot connect anymore since 2023-09-18 Sep 20, 2023
@martinetd
Copy link
Author

Getting a fresh auth token/cookie didn't help.

Before investigating futher I'd like to confirm if others are running in the same issue recently?
More precisely, my irc client connects and can joins channels, get their members and immediately disconnects without any obvious reason (with the warning I posted earlier on irc-slack logs)

Looking at other similar projects ltworf/localslackirc#426 was made just yesterday and claims "slack changed their authentication and this fixes it" -- just sending the bearer token to the notification websocket, that would probably do it.

I won't have time to look before this weekend, but I'll try to do the same here this weekend on irc-slack and see if this helps. If someone wants to do this first, don't wait for me :)

@the-real-ed
Copy link

Before investigating futher I'd like to confirm if others are running in the same issue recently?

I can confirm that I'm also affected by this bug (failure to auth). Authentication failures started within a few hours of your reported timestamp.

However, I'm a matterircd user, which appears to use some auth code from this project, which brought me here.

@mcepl
Copy link

mcepl commented Jun 1, 2024

Has this been fixed? Did anybody apply the patch suggested in slack-go/slack#1230 to slack-go?

@martinetd
Copy link
Author

(I ended up using mautrix-slack instead of trying to fix this further; it's also based on slack-go so I had assumed it wouldn't work but it somehow did and I stopped looking...)

@scottro11
Copy link

I'm not sure when it stopped working for me, but I tried reinstalling it recently. I'm able to add the network and localhost, and it connects and shows all the channels, but then gives a message
Unknown MODE flags +i Irssi: Connection lost to localhost

Then it again shows it joining channels and again loses connection with
Error handling connection from 127.0.0.1:39162: read tcp 127.0.0.1:6666->127.0.0.1:

I've sort of given up and am using weeslack which works. Whenever it stops working, I've been able to go to irc, and a fix follows within minutes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants