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

Times out for mongodb://localhost:27017 #140

Open
samleeney opened this issue Jun 20, 2023 · 1 comment
Open

Times out for mongodb://localhost:27017 #140

samleeney opened this issue Jun 20, 2023 · 1 comment

Comments

@samleeney
Copy link

Returns 'Failed to fetch' on Access:browser and 'Gateway timeout' on Access:server.

This is quite possibly a user error rather than a bug!

@numbpun
Copy link

numbpun commented May 1, 2024

It is an user error! I was stuck on it for quite a bit. Are you using containers? If yes, then the mongoDB url might be wrong. You need to enter 'mongodb://root:password@<container_name>:' . Also you would need to run it on server on `http;//<proxy_container>:3333' . All containers should be on same network and also if your proxy is not a separate container then it would keep on turning off everytime you enter wrong query. Therefore, you would need to again enter the command 'npm run server' or make your proxy container in docker compose file to have "restart:always".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants