Skip to content

Parse Dashboard only showing a blank white page #1596

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

Closed
benjaminchevoor opened this issue Sep 29, 2020 · 4 comments · Fixed by #2363
Closed

Parse Dashboard only showing a blank white page #1596

benjaminchevoor opened this issue Sep 29, 2020 · 4 comments · Fixed by #2363
Labels
state:released Released as stable version state:released-alpha Released as alpha version state:released-beta Released as beta version

Comments

@benjaminchevoor
Copy link

Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Dashboard!

  • [✔] You're running version >=1.0.23 of Parse Dashboard.

  • [✔] You're running version >=2.3.2 of Parse Server.

  • [✔] You've searched through existing issues. Chances are that your issue has been reported or resolved before.

I know this symptom has come up dozens of times, and I have gone through some dozen tickets and SO pages to try and resolve it. Nothing has worked for me so far.

Environment Setup

Docker

I am seeing this:
image

Steps to reproduce

I am following the steps in this Medium article:
https://medium.com/@yildizberkay/how-to-install-parse-server-with-docker-c5931bd84c17

Which can be summarized as:

docker run --name parse-mongo-db \
-e MONGO_INITDB_ROOT_USERNAME=admin \
-e MONGO_INITDB_ROOT_PASSWORD=admin \
-d mongo

docker run --name parse-server-1 \
 -e PARSE_SERVER_APPLICATION_ID=APP_ID_1 \
 -e PARSE_SERVER_MASTER_KEY=MASTER_KEY_1 \
 -e PARSE_SERVER_DATABASE_URI=mongodb://admin:admin@mongo/parse_server?authSource=admin \
 --link parse-mongo-db:mongo \
 -d -p 1337:1337 parseplatform/parse-server

docker run --name parse-dashboard-1 \
 -e PARSE_DASHBOARD_APP_ID=APP_ID_1 \
 -e PARSE_DASHBOARD_MASTER_KEY=MASTER_KEY_1 \
 -e PARSE_DASHBOARD_USER_ID=admin \
 -e PARSE_DASHBOARD_USER_PASSWORD=admin \
 -e PARSE_DASHBOARD_ALLOW_INSECURE_HTTP=true \
 -e PARSE_DASHBOARD_SERVER_URL=http://localhost:1337/parse \
 -d -p 4040:4040 parseplatform/parse-dashboard

Logs/Trace

From the chrome console:

VM115:1 POST http://localhost:1337/serverInfo net::ERR_CONNECTION_REFUSED
VM115:1 POST http://localhost:1337/schemas net::ERR_CONNECTION_REFUSED
VM115:1 POST http://localhost:1337/schemas net::ERR_CONNECTION_REFUSED
VM115:1 POST http://localhost:1337/schemas net::ERR_CONNECTION_REFUSED
VM115:1 POST http://localhost:1337/schemas net::ERR_CONNECTION_REFUSED
VM115:1 POST http://localhost:1337/schemas net::ERR_CONNECTION_REFUSED
@benjaminchevoor
Copy link
Author

In writing up this original post I actually solved the issue. (Don't you love it when that happens, Mr. Rubber Duck?) But I wanted to post it anyway so I can share what I learned.

For me, the issue was in the environment variable PARSE_DASHBOARD_SERVER_URL=http://localhost:1337/parse.

Because I was accessing the server from another system on the network, I needed to fix this to be the IP address of the system hosting my docker container. Eg: PARSE_DASHBOARD_SERVER_URL=http://192.168.2.39:1337/parse.

And now I can see my dashboard!

I am good with marking this ticket as closed :)

@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 5.1.0-alpha.2

@parseplatformorg parseplatformorg added the state:released-alpha Released as alpha version label Jan 20, 2023
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 5.1.0-beta.2

@parseplatformorg parseplatformorg added the state:released-beta Released as beta version label Mar 1, 2023
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 5.1.0

@parseplatformorg parseplatformorg added the state:released Released as stable version label May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:released Released as stable version state:released-alpha Released as alpha version state:released-beta Released as beta version
Projects
None yet
2 participants