question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Server is unavailable

See original GitHub issue

I am getting error while try to start run-rs. When I check data folder, folder 27017 contain some files, but 27018 and 27019 are empty. MongoDB is running at 27017, but it looks like that it wont start servers at 27018 and 27019.

OS: archlinux 5.10.83-1-lts Node: v17.1.0. npm: 8.1.3

Purging database... Running '/usr/lib/node_modules/run-rs/4.0.12/mongod' [ 27017, 27018, 27019 ] Starting replica set... Error: Server is unavailable at /usr/lib/node_modules/run-rs/node_modules/mongodb-topology-manager/lib/utils.js:79:40 at Socket.<anonymous> (/usr/lib/node_modules/run-rs/node_modules/mongodb-topology-manager/lib/utils.js:43:5) at Socket.emit (node:events:390:28) at emitErrorNT (node:internal/streams/destroy:164:8) at emitErrorCloseNT (node:internal/streams/destroy:129:3) at processTicksAndRejections (node:internal/process/task_queues:83:21)

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:4
  • Comments:6

github_iconTop GitHub Comments

1reaction
jineshdoshicommented, Jun 20, 2022

I created a docker image to run mongodb 5.0.9 with run-rs https://github.com/giant-connect/docker-mongodb-rs

1reaction
MrFabiocommented, Feb 18, 2022

Same issue here, with node v17.5.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

503 Service Unavailable Error: What It Is and How to Fix It
A 503 Service Unavailable Error is an HTTP response status code indicating that a server is temporarily unable to handle the request.
Read more >
What is a 503 Service Unavailable Error (And How Can I Fix It)?
A 503 Service Unavailable Error indicates that a web server is temporarily unable to handle a request. That could be the web server...
Read more >
How to Fix 503 Service Unavailable Error: 7 Steps That Work
1. Check Resource Usage · 2. Check for Ongoing Maintenance · 3. Stop Running Processes · 4. Reset Firewall · 5. Check Server...
Read more >
How To Fix The “DNS Server Unavailable” Error
Pull up the Run dialog by simultaneously pressing the Windows key and R key. Type cmd into the field and press Enter.
Read more >
503 Service Unavailable Error Message: What It Is and How to ...
The 503 Service Unavailable error is an HTTP status code that means a website's server is not available right now. Most of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found