Downgrading to matterbridge-1.25.2-linux-64bit does not produce the same error. This only difference between those two versions is the commit mentioned above. The matterbridge folks advised me how to compile without this commit: https://github.com/42wim/matterbridge/issues/2037#issuecomment-1499700252 and it worked as expected.
The same matterbridge connects to irc.libera.chat without problems, so it seems something twitch specific.
Here you can see a successful join to irc.libera.chat and then starts the join to twitch. Matterbridge with --debug option:
interesting. I'd say this bug is pretty specific to Twitch's IRC implementation. the solution may be to implement an EarlyPing configuration directive.
🌧 Describe the problem
Following https://github.com/42wim/matterbridge/issues/2037 commit https://github.com/lrstanley/girc/commit/82409175c90805b876fef8a5be034d6a1c698ab8 causes matterbridge not connect to twitch.tv on irc protocol properly.
Using matterbridge-1.26.0-linux-64bit and this config
I get this error:
time="2023-04-04T11:26:18Z" level=error msg="disconnect: error: EOF" prefix=irc time="2023-04-04T11:26:18Z" level=fatal msg="Starting gateway failed: Bridge irc.tv failed to start: connection failed EOF" prefix=main
Downgrading to matterbridge-1.25.2-linux-64bit does not produce the same error. This only difference between those two versions is the commit mentioned above. The matterbridge folks advised me how to compile without this commit: https://github.com/42wim/matterbridge/issues/2037#issuecomment-1499700252 and it worked as expected.
The same matterbridge connects to irc.libera.chat without problems, so it seems something twitch specific.
Here you can see a successful join to irc.libera.chat and then starts the join to twitch. Matterbridge with --debug option:
This is the same log as in https://github.com/42wim/matterbridge/issues/2037#issuecomment-1499673427
⛅ Expected behavior
Connection to twitch.tv successful
🔄 Minimal reproduction
Run matterbridge 1.26.0 with the config mentioned above
💠 Version: girc
82409175c90805b876fef8a5be034d6a1c698ab8
🖥 Version: Operating system
linux/debian
⚙ Additional context
Workaround available: Downgrade to matterbridge-1.25.2-linux-64bit: version: 1.25.2 https://github.com/42wim/matterbridge/commit/20f841c5133d38dd9d0275b3f303215c18e3225f or removal of commit https://github.com/lrstanley/girc/commit/82409175c90805b876fef8a5be034d6a1c698ab8
Not urgent
Selfcontrolled, we can do all kinds of tests with it
Touches #54
Blocks https://github.com/42wim/matterbridge/issues/2037
For my reference 4114
🤝 Requirements