-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
After changing my DNS cloud code can not write or query to database the error in verbose mode is:
I've changed my serverUrl this I think is related to nginx and ssl configuration. have you experienced same error already?
0|parse-wr | verbose: RESPONSE from [POST] /parse/classes/Trip: {
0|parse-wr | "status": 201,
0|parse-wr | "response": {
0|parse-wr | "objectId": "JUW8KIpyCK",
0|parse-wr | "createdAt": "2017-12-08T11:05:56.741Z"
0|parse-wr | },
0|parse-wr | "location": "http://********.ir/parse/classes/Trip/JUW8KIpyCK"
0|parse-wr | } status=201, objectId=JUW8KIpyCK, createdAt=2017-12-08T11:05:56.741Z, location=http://*********.ir/parse/classes/Trip/JUW8KIpyCK
1|parse-wr | verbose: REQUEST for [POST] /parse/functions/driveRequest: {
1|parse-wr | "riderLongitude": 49.187789261341095,
1|parse-wr | "riderLatitude": 30.716097895513627,
1|parse-wr | "tripId": "JUW8KIpyCK"
1|parse-wr | } method=POST, url=/parse/functions/driveRequest, x-real-ip=1.2.3.4, x-forwarded-for=1.2.3.4, x-nginx-proxy=true, host=psappco.ir, connection=upgrade, content-length=94, x-parse-session-token=r:72ae786ff94369a24ea262be3fa5e032, x-parse-application-id=********, x-parse-client-version=a1.16.3, x-parse-app-build-version=2, x-parse-app-display-version=1.0.2, x-parse-os-version=7.0, user-agent=Parse Android SDK 1.16.3 (ir.***********.psapp/2) API Level 24, x-parse-installation-id=ccacc4fa-68ed-44cf-bf99-04a4457a9629, content-type=application/json, accept-encoding=gzip, riderLongitude=49.187789261341095, riderLatitude=30.716097895513627, tripId=JUW8KIpyCK
1|parse-wr | error: Failed running cloud function driveRequest for user lPHtBbLm7D with:
1|parse-wr | Input: {"riderLongitude":49.187789261341095,"riderLatitude":30.716097895513627,"tripId":"JUW8KIpyCK"}
1|parse-wr | Error: {"code":141,"message":"Received an error with invalid JSON from Parse: <html>\r\n<head><title>400 Bad Request</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>400 Bad Request</h1></center>\r\n<hr><center>nginx/1.10.3
my node version 9.2.0
npm version 5.5.6
parse server 2.7.1
Metadata
Metadata
Assignees
Labels
No labels