Open the-real-ed opened 1 year ago
~Also running into auth issues with the messages example~
~Created an app/token and used the above example with the newly created token and only ever get "invalid_auth".~
UPDATE
Got this working... was just stuck on the very convoluted Slack instructions for such a simple task.
Hi,
I'm a matterircd user (Slack/Mattermost <-> IRC bridge), which utilises the slack-go library.
What happened
On September 19th (approximately 3AM UTC) I stopped receiving messages on my IRC client (IRC client <-> matterircd (uses slack-go) <-> Slack).
I investigated the logs and found the following errors (previously unseen):
The lack of authentication leads to HTTP 429 (Too Many Requests) responses, which I was able to determine with custom code.
I updated the Token/Cookie to rule out obvious credential errors. This did not resolve the issues.
Expected behavior
The correct behaviour is for Slack messages to appear in my IRC client (via the matterircd IRC <-> Slack bridge).
Steps to reproduce
On investigating, I found other Slack<->IRC bridge users were also being affected, e.g.: https://github.com/insomniacslk/irc-slack/issues/183 (also uses slack-go). The issue links to another Slack<->IRC bridge (written in Python) that hints at the solution: https://github.com/ltworf/localslackirc/pull/426
reproducible code
As a proof-of-concept, I was able to hardcode a work-around which resolved the issue for me:
manifest.yaml
Versions
Apologies for not providing a full solution, but I am not familiar with Golang or websockets. If you're able to resolve this issue, I can raise another issue with project matterircd (and irc-slack) to update their dependencies/code.
Regards