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

The bot don't connect back after disconnecting, but node.js process still works #2

Open
Magest1ckkz opened this issue Mar 7, 2023 · 3 comments
Assignees
Labels
Bug Something isn't working Enhancement New feature or request

Comments

@Magest1ckkz
Copy link
Owner

The bot don't connect when it died (got disconnected by some reason). After "Authentificating", it does not reconnect back.
The only way I can suggest is to restart the node.js process, which I'm tired of doing this manually almost everytime. Would be cool if the process would restart automatically after the bot got socket disconnected.

@Magest1ckkz Magest1ckkz added the Bug Something isn't working label Mar 7, 2023
@Magest1ckkz Magest1ckkz assigned Magest1ckkz and ghost Mar 7, 2023
@ghost
Copy link

ghost commented Mar 14, 2023

I think it's a network error and isn't related to the bot code.

@Magest1ckkz
Copy link
Owner Author

Then make it to connect again after a network failure

@ghost
Copy link

ghost commented Mar 14, 2023

Well, the bot tries to reconnect when socket.connected is false.

@ghost ghost added the Enhancement New feature or request label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant