bitnami / containers

Bitnami container images
https://bitnami.com
Other
3.31k stars 4.8k forks source link

[bitnami/parse-dashboard] parse-server not reachable: unable to connect to server #46775

Open 3x3cut0r opened 1 year ago

3x3cut0r commented 1 year ago

Name and Version

bitnami/parse-dashboard:latest

What architecture are you using?

amd64

What steps will reproduce the bug?

  1. download default bitnami/parse-dashboard docker-compose.yml
  2. docker compose up -d
  3. connect to http://localhost:4040
  4. login with default username and password (user:bitnami)
  5. try to connect to your parse-server app

What is the expected behavior?

connection to the parse-server app is successful

What do you see instead?

Server not reachable: unable to connect to server

Additional information

I just want to create a parse stack with mongodb, parse-server and parse-dashboard. I tried to use the default docker-compose.yml from above, but even with that I already can't connect to the app on the parse-server. I have tried dozens of settings and docker container versions and combinations, but have had no success. I normaly use this docker-compose.yml, which is configured some more advanced and is behind a reverse proxy, but i think this doesn't matter in this case. I'm not even sure where the error lies exactly, on parse itself or on the parse-dashboard? Is anyone out there having a running parse stack, deployed via docker? Which version do you guys use (mongodb:6, parse:6, parse-dashboard:5 ?)? I tried also 5 ... Is there a way to turn on verbosity in the logs? Because i can't see any errors in there, neither in the parse logs nor in the parse-dashboard logs. Can anyone help me with that? Thank you so much.

carrodher commented 1 year ago

It seems you're using the parse docker-compose instead of the parse-dashboard one. Could you try using https://github.com/bitnami/containers/blob/main/bitnami/parse-dashboard/docker-compose.yml?

3x3cut0r commented 1 year ago

oh, sorry. that was a mistake above. i have for sure used the dashboard one with 3 containers (db, parse, dashboard)!

github-actions[bot] commented 1 year ago

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

fevisera commented 1 year ago

Hi @3x3cut0r,

Sorry for the delay. I could reproduce that error: image

The docker containers seem to be running fine though and I did not find a specific error:

$ docker-compose ps
NAME                                IMAGE                                 COMMAND                  SERVICE             CREATED              STATUS              PORTS
parse-dashboard-mongodb-1           docker.io/bitnami/mongodb:6.0         "/opt/bitnami/script…"   mongodb             About a minute ago   Up About a minute   27017/tcp
parse-dashboard-parse-1             docker.io/bitnami/parse:5             "/opt/bitnami/script…"   parse               About a minute ago   Up About a minute   0.0.0.0:1337->1337/tcp, 3000/tcp
parse-dashboard-parse-dashboard-1   docker.io/bitnami/parse-dashboard:5   "/opt/bitnami/script…"   parse-dashboard     About a minute ago   Up About a minute   3000/tcp, 0.0.0.0:80->4040/tcp

The application's host port is 80, not 4040 as indicated in the issue description. I also tested http://127.0.0.1/parse, and it led me to a 404 error page.

I will initiate an internal task to review this use case. I cannot provide an ETA at the moment, but we will get back to you as soon as we have any updates.

Thank you for your comprehension and for reporting the issue!

3x3cut0r commented 1 year ago

No problem. My containers do not produce errors either. Neither yours (bitnami) nor the official ones (parseplattform). And as i mentioned i have tried a lot but i did not find out where exactly the problem is either. Thank you for working on this!

jonny07 commented 7 months ago

Is there any update? I also use the docker images for parse and dashboard and always get "unable to connect to server".