Description
I'm in the middle of the migration process and at the point I'm trying to run my server locally. I have the server up and running, and can hit it using CURL no problem, even hitting my db on mongolab.
However when I try to initialize Parse in my iOS app, it fails to connect. My configuration looks like the following (with the real values in there):
Parse.initializeWithConfiguration(
ParseClientConfiguration(block: { (configuration:ParseMutableClientConfiguration) -> Void in
configuration.applicationId = "appId"
configuration.clientKey = "clientKey"
configuration.server = "http://localhost:1337/parse"
})
)
However, whenever I have this line in my appdelegate normal initialization spot, I have the following erorrs in my console because it is failing to connect:
2016-02-24 22:45:24.061 TestApp[12580:2788400] [Error]: The operation couldn’t be completed. (NSURLErrorDomain error -1004.) (Code: 100, Version: 1.12.0)
2016-02-24 22:45:24.061 TestApp[12580:2788400] [Error]
It then continues to retry but obviously just continues to fail. Again, I know it's up and running because I can query the database on mongolab running the CURL command and hitting the endpoint with the correct headers passed in.
I have been trying to figure this out all evening and haven't had any luck so I thought I would ask here.
Any ideas?