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

Matrx to IRC messages not getting through #1768

Closed
stefanor opened this issue Aug 7, 2023 · 4 comments
Closed

Matrx to IRC messages not getting through #1768

stefanor opened this issue Aug 7, 2023 · 4 comments

Comments

@stefanor
Copy link

stefanor commented Aug 7, 2023

Apologies for a bad bug report, I need some help to understand what's going on.

Since upgrading matrix.debian.social's OFTC bridge to 1.0.1 (from 0.35), we've clearly hit some bug, the bridge has just not been stable. When we upgraded to 1.0.1, we also had to upgrade nodejs, and switch our IRC connections to a different hostname, to get SSL verification working again. So there are a few changes that happened together.

Today's issue:

After the last startup (with 1.0.1) the bridge initially worked, for me, delivering messages to and from IRC. But a few days later, my bridge IRC client had fallen out of some IRC channels and isn't getting any messages from the matrix side. The bot wasn't responding in the admin room, at all, either.

I restarted the bot. With 500 users, restarts are slow (a couple of hours for all the users to rejoin). That got me back in all my rooms, but my messages still weren't getting through.

If I POST via the debug API, messages get to IRC, as me. So clearly there is something broken between Synapse and the bot.

Any hints on further debugging?

@stefanor
Copy link
Author

stefanor commented Aug 7, 2023

OK, some more poking around took me to matrix-org/matrix-appservice-node#63. I think our synapse is too old for the new matrix-appservice-irc. I backed out that commit, and now messages are flowing.

Not sure how anything worked since the upgrade, without that. I'll keep monitoring...

@Half-Shot
Copy link
Contributor

Half-Shot commented Aug 8, 2023

Erp, it should have warned you on startup that communication between HS<->AS isn't working :(

With 500 users, restarts are slow (a couple of hours for all the users to rejoin). That got me back in all my rooms, but my messages still weren't getting through.

You might want to adjust the flood delay value in the config, that sounds quite extreme.

@stefanor
Copy link
Author

stefanor commented Aug 9, 2023

You might want to adjust the flood delay value in the config, that sounds quite extreme.

Ah, is that the critical timer here? thanks!

@stefanor
Copy link
Author

stefanor commented Aug 9, 2023

Erp, it should have warned you on startup that communication between HS<->AS isn't working :(

Ah, yes, it did. Lost in a sea of errors, but it was there.

Homeserver cannot reach the bridge.

You might want to adjust the flood delay value in the config, that sounds quite extreme.

Ah, is that the critical timer here? thanks!

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

No branches or pull requests

2 participants