-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Parse Dashboard not connecting Parse Server (err: master key is required) #2382
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
Thanks for opening this issue!
|
Similar issue #602 @andrewfelker I know the previous issue is quite old, but do you have any insights here? |
Similar issue #2349 @zhangwb1996 do you see any issue with the way I have set up |
It would be relating to |
Thanks @dblythy .. I am going to try it on my parse-server. Also looks like this fix is out in the |
Yay! I got this working .. thanks @dblythy! Going to close this issue. |
Would you want to add the step to the Parse Dashboard installation instructions in the README? It should say that for Parse Server 6 the I've reopened this as a docs issue. |
hello, |
Is there any documentation to this property |
Yes, you can use CIDR syntax to enable for example all IPs. The Parse Server docs for that option have been improved but it's not merged into stable release yet hence they are not published.
|
@mtrezza let me take a stab at fixing the docs. I read somewhere that this issue was fixed in the upcoming new release (not sure if thats still true). |
@sudhishkr hi, I have 'unauthorized: master key is required' problem but can't solve this. Can you explain to me? But basic please :D |
I think this info will be important for someone having trouble when trying to run parse-server + parse-dashboard on docker-compose: When listing ips on PARSE_SERVER_MASTER_KEY_IPS, the syntax is not an array like on javascript, this catch errors on server start, you need to list ips splitted by comma on environment variable. Ex: PARSE_SERVER_MASTER_KEY_IPS: 172.0.0.0/1,::1 |
@edson-gaspar Would you want to open a PR to add this to the docs? |
@mtrezza I don't feel quite sure how I should document it. |
@mtrezza - if you can assign this to me, I can try to take a stab on Thursday. |
@sudhishkr We don't "assign" issues, please feel free to open a PR and link this issue so that others can see you're working on it. |
Fix for "Server not reachable: unauthorized: master key is required" ErrorI ran up against this today and struggled a bit. Hope this helps someone. If you encounter the error "Server not reachable: unauthorized: master key is required" while setting up Parse Server, you might need to specify the IP addresses allowed to use the master key. To resolve this issue, add the PARSE_SERVER_MASTER_KEY_IPS environment variable to your configuration, using the CIDR notation 0.0.0.0/0 to allow all IPs. In my parse:
image: parseplatform/parse-server
environment:
- # OTHER ENV VARS
- PARSE_SERVER_MASTER_KEY_IPS=0.0.0.0/0 Be cautious with this setting as it opens up master key access to all IP addresses, which could pose a security risk. If you want to tighten it up, add your own local IP address that you are accessing the dashboard from (e.g. your laptop's IP). |
New Issue Checklist
Issue Description
Parse Dashboard not connecting Parse Server (err: master key is required)
Steps to reproduce
Actual Outcome
Expected Outcome
Successful Login
Environment
Dashboard
Server
Database
Logs
on browser ^
The text was updated successfully, but these errors were encountered: