-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Can't connect to remote parse server on iOS (local works) #1341
Comments
Can you access it through CURL? |
Yes, that's why it is so odd. cURL, parse dashboard, both work.
is also set. |
Sorry, I just noticed you wrote that already. that's only affecting the Facebook login right? all other calls are working properly? |
well, I can't make any other call from inside the iOS without logging in first. |
alright, that's odd indeed... Can you run the server in verbose? setting VERBOSE=1 and see if the call gets to it. Otherwise that may indicate a problem in the iOS SDK |
what's the cURL equivalent of that call? I think it really is a iOS issue since dashboard connects fine and I can do everything (modify entries and such). |
Check the REST documentation here: https://www.parse.com/docs/rest/guide#users-linking-users |
Yes, that worked, returned the full user. Really strange. Using Parse (1.13.0) |
I was able to track it down a little bit further via It's weird from the start. Very simple test cloud functions that work on localhost and via cURL fail to execute on remote (internal server error). Both installations (localhost and remote) point to the same MongoDB instance on mLab and use the same DB user. Based on my local testing and the remote cURL testing everything should work. |
Can your provide the server VERBOSE logs? Also, what's the body received when you have the status 400? Error 141 is related to triggers, do you have beforeSave or afterSave hooks set? |
FOUND IT!!!! That also explains why direct cURL calls worked and cloud code functions didn't. |
alright :) nice! |
Nice. Changing http://localhost:1337/parse to http://localhost/parse did the trick. |
I have a rather strange issue, I can perfectly fine connect to my local parse-server instance but not to the remote one on iOS.
I always get this error upon facebook login:
This are my connection settings, first one always works, second one always fails:
Note: doesn't matter if the url ends with "parse/" or "parse".
Note 2: The elastic beanstalk environment is an exact mirror of the local installation.
Note 3: serverURL is set on both
To add insult to injury, parse dashboard works perfectly fine for BOTH settings.
A cURL test call also works perfectly fine.
This is really odd.
The text was updated successfully, but these errors were encountered: