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

Bot Does Not Receive Messages From Server #74

Open
PythooonUser opened this issue Nov 24, 2018 · 2 comments
Open

Bot Does Not Receive Messages From Server #74

PythooonUser opened this issue Nov 24, 2018 · 2 comments

Comments

@PythooonUser
Copy link
Collaborator

I'm not sure what this is about, but at some point the bot just does not receive any messages from the server anymore. This happens to me frequently now, about two minutes after starting the bot.

I don't think the message structure has been changed, i.e. our regex parsing should be fine.

We also receive the PING message from the server and should answer with the PONG message.

I'm also not aware of the fact that my bot exceeded the message limit.

@joshuaskelly Any ideas? Can you confirm that?

@PythooonUser
Copy link
Collaborator Author

I contacted Twitch to increase the rate limit of my bot and set the bot status accordingly. Maybe that helps.
See https://dev.twitch.tv/limit-increase/.

@PythooonUser
Copy link
Collaborator Author

The JavaScript library tmi.js sends out PONGs every minute, not in response to a PING message. Maybe that is the problem where are facing here, that due to rare PONG sending the bot gets disconnected.

Can we receive an error message with the reason for disconnection?

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

1 participant