-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Parse Dashboard with Heroku Server unreachable #527
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
Comments
You should set the public server URL for your parse-server, now it looks like it's pointing to 'http://localhost:1337/parse' |
I have setup a config variable in the dashboard settings section that points to the server's url |
Not sure how heroku works, but it's very likely that the contents of that variable don't point to the right server. If you try to replace that whole line with:
|
I have also just tried hard coding it. It didn't like that either |
Does it work locally connecting with your remote heroku server? It's very unlikely to be a problem with parse-dashboard itself but a configuration error. |
To be honest, I haven't tried and am unsure on how to do it. If you would like me to try, I am happy to do so, but could you give me some instruction (please not just a link to the readme file) |
You haven't tried to run parse-dashboard locally? Is your parse-server running and accessible? |
No. I simply downloaded the repo. updated the information and pushed it to my Heroku application. |
So if the parse-server work fine, this is very likely that the URL is wrong. I can't help more than that without seeing the configuration. Also, everything you need to know to run/deploy should be in the README. |
Here is a screenshot of the config variables Update: Removed Screen shot as it showed some information that I didn't want public |
You should use HTTPS to connect to your heroku server, as you're transmitting the masterKey over HTTP, anyone could be able to steal it :) |
I read somewhere that this is not required as Heroku hides itself. But I will try changing it to HTTPS and let you know |
Um I feel like a complete dimwit now, Simply changing the url to https: worked like a charm. Thank you Sir |
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Dashboard!
Environment Setup
Hi,
I have searched through the listed issues, trying various solutions but nothing I have tried seems to work.
Okay so, I have a Parse Server which is up an running on Heroku, using the MongoDB add on. This part works absolutely fine. I have setup the config vars in Heroku using the process.env parameters
Trying to use the Parse Dashboard is where the problems occur. I have created a new app on Heroku and am trying to point it at the the app. I'm not experienced, in anyway with server hosting etc, so please bare with me. I believe I am using it as 'middleware'
The setup for the Dashboard app index.js file looks as such:
The code compiles fine and is pushed to the git repo on my Heroku application
However, when I click the open app button, I get the following screen
It says the server is unreachable
Steps to reproduce
I'm not too sure how to reproduce - I have a Parse Server running on MongoDB through Heroku on it's own application
I have the Parse Dashboard running on it's own application and I am trying to point it at the database
Logs/Trace
Note: If you get a browser JS error please run
npm run dev
. This will provide source maps and a much more useful stack trace.The text was updated successfully, but these errors were encountered: