-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Unable to connect to Parse API #199
Comments
Have you configured your process.env.SERVER_URL variable? |
I don't know how to set process.env.SERVER_URL. I thought it would be set automatically. |
And I could get server log and it was running well. |
Have you looked at .ebextensions/app.config file? Myself I run parse-server on Heroku, I set my environmental variables by using external module - https://www.npmjs.com/package/dotenv |
I already set environmental variables. Can you show me how to use external module? |
If it still doesn't work, I don't know how to help. Perhaps somebody with Elastic Beanstalk expertise will. |
Please teach me how to use "dotenv". It might be able to help me. |
Please read the instructions on the page I've sent you. I cannot explain any better than that. |
Thank you Kasparas42180 |
I have same problem. I use amazon EB as hosting. To fix problem i restart application, but problem again repeated. Logs: |
You may check the document here: Example .ebextensions/options.config
|
…eadme Add npm badge to README.
Here is my server configuration. (index.js)
![screen-shot-2016-05-24-at-10 54 37](https://cloud.githubusercontent.com/assets/16528614/15498171/be425f5c-219e-11e6-866c-e730101173b7.jpg)
And here is my cloud code. (/cloud/main.js)
![screen-shot-2016-05-24-at-11 01 44](https://cloud.githubusercontent.com/assets/16528614/15498247/19a5bbb4-219f-11e6-91c1-9827974debfa.png)
For testing, I run this command.
Then I got this message.
{"code":141,"error":"XMLHttpRequest failed: "Unable to connect to the Parse API""}
I tried all reference of Git about this problem but couldn't fix this problem. Please help me.......
The text was updated successfully, but these errors were encountered: