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

"Unauthorized" error using docker-compose-le.yml #60

Open
corruptedbuffer opened this issue Aug 19, 2016 · 2 comments
Open

"Unauthorized" error using docker-compose-le.yml #60

corruptedbuffer opened this issue Aug 19, 2016 · 2 comments
Labels

Comments

@corruptedbuffer
Copy link
Contributor

corruptedbuffer commented Aug 19, 2016

I'm using the docker-compose-le.yml file to run Parse with Letsencrypt, following the example in the wiki. When I browse to https://my-domain/parse, I see the following JSON in response: {"error":"unauthorized"}. Browsing to https://my-domain properly shows the default nginx greeting "I dream of being a web site.".

Is this an indication of something obvious I've done wrong?

Using Docker 1.10.3 on Ubuntu 16.04.1 x64

@yongjhih yongjhih added the bug label Aug 19, 2016
@gdiazlo
Copy link

gdiazlo commented Oct 2, 2016

did you fix this? what's the workaround?

@Nightbr
Copy link

Nightbr commented Oct 18, 2016

it is the correct behavior, you must authenticate your query with headers:

X-Parse-Application-Id
X-Parse-Master-Key

Try using postman or curl to make a proper request:
curl -X POST -H "X-Parse-Application-Id: MyAppID" -H "X-Parse-Master-Key: MyMasterKey" -H "Content-Type: application/json" -d '{}' "https://my-domain/parse/functions/hello"

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

No branches or pull requests

4 participants