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

Automatic snap package update leads to unreachable instance #15806

Closed
scoopex opened this issue Nov 17, 2019 · 4 comments
Closed

Automatic snap package update leads to unreachable instance #15806

scoopex opened this issue Nov 17, 2019 · 4 comments
Labels
stat: stale Stale issues will be automatically closed if no activity

Comments

@scoopex
Copy link

scoopex commented Nov 17, 2019

Description:

Trigger a update of the snap package.

It seems that nodejs server runs in a timeout because the mongodb server is not not seems to be ready fast enough. The rocketchat server does probably not wait long enough to be connected to mongodb. Probably there is a trivial fix in just increasing connection pool timeout values or re-trying forever to get a mongodb connection.

Steps to reproduce:

  1. Stop rocketchat nodejs server and mongodb server
  2. Start rocketchat nodejs server
  3. Wait 10 minutes
  4. Start Mongodb server
  5. Nodejs does not automatically connect to mongodb after mongodb is available

Expected behavior:

Rocketchat should retry forever (ideally with a exponential backoff, limited by 5 minute cycles) to get a mongodb connection.

Server Setup Information:

  • Version of Rocket.Chat Server: 2.1.1
  • Operating System: Ubuntu 18.04
  • Deployment Method: snap
  • Number of Running Instances: 1
@scoopex scoopex changed the title Snap package update leads to unreachable insance Automatic snap package update leads to unreachable instance Dec 19, 2019
@scoopex
Copy link
Author

scoopex commented Dec 19, 2019

Happens again this night after update to 2.3.1.

@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stat: stale Stale issues will be automatically closed if no activity label Jul 16, 2020
@scoopex
Copy link
Author

scoopex commented Jul 16, 2020

Probably still broken. I stopped using rocketchat.

@github-actions github-actions bot removed the stat: stale Stale issues will be automatically closed if no activity label Jul 17, 2020
@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stat: stale Stale issues will be automatically closed if no activity label Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat: stale Stale issues will be automatically closed if no activity
Projects
None yet
Development

No branches or pull requests

1 participant