parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

All Requests Receive Timeout Error

Open jgaull opened this issue 10 years ago • 83 comments

Environment Setup

  • Server: parse-server 2.2.10 (also tested on 2.2.9) , node 5.11.1, heroku
  • Database: mLab mongoDB 3.0.9

Steps to reproduce

I'm sorry this sucks, but we have not been able to narrow down the steps any more than this:

  1. Upload build to server
  2. Wait 5-15 minutes

Result: All requests begin timing out.

Code

Please note, this code does not appear to cause the problem as timeouts have begun without this ever running. However, I've been using this function when troubleshooting.

    console.log('running create!');
    //configure parameters
    var user = request.user;

    var title = request.params.title; //required
    var imageData = request.params.imageData; //required
    var videoData = request.params.videoData; //optional
    var content = request.params.content; //optional
    var attachment = request.params.attachment; //optional always URL

    //create a new story
    var newStory = new Story();
    //set the default parameters
    newStory.set("user", user);
    newStory.set("inspireCount", 0);
    newStory.set("commentCount", 0);
    newStory.set("viewCount", 0);
    newStory.set("notificationsOptOut", []);
    newStory.set("archived", false);
    newStory.set("toAllUsers", true);
    //add params that have been passed in
    newStory.set("title", title);
    newStory.set("content", content);
    newStory.set("attachment", attachment);
    //get the user's name and set it to the story
    var creatorName = user.get("name");
    newStory.set("creatorName", creatorName);

    //set the ACL
    newStory.setACL(createACLForStory(newStory));

    //this will be used to store promises when saving files
    var mediaFileSavePromises = [];
    //create image
    var image = new Parse.File("Image.jpg", imageData, "image/jpg");
    //save the image and push the promise into an array of promises
    mediaFileSavePromises.push(image.save());
    newStory.set("imageFile", image);

    //if there is a video
    if (videoData) {
        //create a file
        var video = new Parse.File("Video.mp4", videoData, "video/mp4");
        //save the file and push the promise onto the array
        mediaFileSavePromises.push(video.save());
        newStory.set("videoFile", video);
    }

    Parse.Promise.when(mediaFileSavePromises).then(function (mediaFiles) {
        //save the story
        console.log("media saved");
        return newStory.save();

    })
//more stuff. But never runs after timeouts start

Logs/Trace

Once timeouts begin I'm seeing this with VERBOSE enabled:

2016-05-20T20:18:26.942301+00:00 app[web.1]: verbose: GET /parse/classes/ClinkComment { host: '****.herokuapp.com',
2016-05-20T20:18:26.942311+00:00 app[web.1]:   connection: 'close',
2016-05-20T20:18:26.942313+00:00 app[web.1]:   'user-agent': 'node-XMLHttpRequest, Parse/js1.8.5 (NodeJS 5.11.1)',
2016-05-20T20:18:26.942313+00:00 app[web.1]:   accept: '*/*',
2016-05-20T20:18:26.942314+00:00 app[web.1]:   'content-type': 'text/plain',
2016-05-20T20:18:26.942317+00:00 app[web.1]:   'x-request-id': '9a7593e2-87c6-4e48-bc56-d1f9d05a0177',
2016-05-20T20:18:26.942318+00:00 app[web.1]:   'x-forwarded-for': '54.242.116.62',
2016-05-20T20:18:26.942319+00:00 app[web.1]:   'x-forwarded-proto': 'https',
2016-05-20T20:18:26.942319+00:00 app[web.1]:   'x-forwarded-port': '443',
2016-05-20T20:18:26.942320+00:00 app[web.1]:   via: '1.1 vegur',
2016-05-20T20:18:26.942320+00:00 app[web.1]:   'connect-time': '2',
2016-05-20T20:18:26.942321+00:00 app[web.1]:   'x-request-start': '1463775506929',
2016-05-20T20:18:26.942322+00:00 app[web.1]:   'total-route-time': '0',
2016-05-20T20:18:26.942322+00:00 app[web.1]:   'content-length': '349' } {
2016-05-20T20:18:26.942323+00:00 app[web.1]:   "where": {
2016-05-20T20:18:26.942324+00:00 app[web.1]:     "clink": {
2016-05-20T20:18:26.942324+00:00 app[web.1]:       "__type": "Pointer",
2016-05-20T20:18:26.942325+00:00 app[web.1]:       "className": "Clink",
2016-05-20T20:18:26.942325+00:00 app[web.1]:       "objectId": "B1vNrvL9sC"
2016-05-20T20:18:26.942326+00:00 app[web.1]:     }
2016-05-20T20:18:26.942327+00:00 app[web.1]:   },
2016-05-20T20:18:26.942327+00:00 app[web.1]:   "include": "user",
2016-05-20T20:18:26.942328+00:00 app[web.1]:   "limit": 25,
2016-05-20T20:18:26.942328+00:00 app[web.1]:   "order": "-createdAt"
2016-05-20T20:18:26.942329+00:00 app[web.1]: }
2016-05-20T20:18:26.696219+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/parse/classes/ClinkComment" host=***.herokuapp.com request_id=dcac6a25-54f5-42b0-b15e-dd43556a7a4a fwd="54.242.116.62" dyno=web.1 connect=1ms service=30000ms status=503 bytes=0
2016-05-20T20:18:31.243011+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/parse/functions/fetchStories" host=***.herokuapp.com request_id=3d6c2b02-57f4-430c-b836-54563d5ace3f fwd="108.212.64.230" dyno=web.1 connect=1ms service=30000ms status=503 bytes=0
2016-05-20T20:18:31.260092+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/parse/classes/Clink" host=***.herokuapp.com request_id=0fbf25bd-2def-43a3-81c3-c0e875950825 fwd="54.242.116.62" dyno=web.1 connect=1ms service=30000ms status=503 bytes=0

If I wait around long enough I see this error:

2016-05-20T19:19:53.738611+00:00 app[web.1]: error! Received an error with invalid JSON from Parse: <!DOCTYPE html>
2016-05-20T19:19:53.738637+00:00 app[web.1]:     <html>
2016-05-20T19:19:53.738638+00:00 app[web.1]:     <head>
2016-05-20T19:19:53.738639+00:00 app[web.1]:       <meta name="viewport" content="width=device-width, initial-scale=1">
2016-05-20T19:19:53.738640+00:00 app[web.1]:       <style type="text/css">
2016-05-20T19:19:53.738641+00:00 app[web.1]:         html, body, iframe { margin: 0; padding: 0; height: 100%; }
2016-05-20T19:19:53.738643+00:00 app[web.1]:         iframe { display: block; width: 100%; border: none; }
2016-05-20T19:19:53.738643+00:00 app[web.1]:       </style>
2016-05-20T19:19:53.738645+00:00 app[web.1]:     <title>Application Error</title>
2016-05-20T19:19:53.738645+00:00 app[web.1]:     </head>
2016-05-20T19:19:53.738646+00:00 app[web.1]:     <body>
2016-05-20T19:19:53.738647+00:00 app[web.1]:       <iframe src="//s3.amazonaws.com/heroku_pages/error.html">
2016-05-20T19:19:53.738647+00:00 app[web.1]:         <p>Application Error</p>
2016-05-20T19:19:53.738648+00:00 app[web.1]:       </iframe>
2016-05-20T19:19:53.738648+00:00 app[web.1]:     </body>
2016-05-20T19:19:53.738649+00:00 app[web.1]:     </html>

Tested These Things

  • Spun up a new server instance. Still saw issue.
  • Waited until issue started and visited https://my-app.herokuapp.com/ and saw "I dream of being a website"
  • Added console.log statements in cloud code (above). Cloud functions get called even when requests are timing out. PFFiles are successfully saved. Nothing happens after newStory.save().
  • Enabled "log-runtime-metrics". Memory usage was stable.
  • Restarted server. This solves the issue temporarily.
  • Rolled back to a previous deploy. This solved the issue. Diffed code between releases and saw only trivial changes. A few console.logs.

I'm very much at a loss for how to continue troubleshooting this problem. Thanks so much for your help!

jgaull avatar May 20 '16 21:05 jgaull

You are receiving an AWS error, which seems to indicate an issue with your AWS config. If you run the server locally, do you get the same issue?

drew-gross avatar May 20 '16 21:05 drew-gross

Thanks @drew-gross! I'm not set up to run the server locally. I can work on this.

Is it possible that this AWS error is related to S3Adapter? As far as I know that's the only AWS we integrate with.

jgaull avatar May 20 '16 21:05 jgaull

That is possible, yes. Possibly if you have an extremely large file are are trying to proxy it through a very small heroku instance or something.

drew-gross avatar May 20 '16 21:05 drew-gross

@drew-gross largest file in S3 is 7.7mb. Should be fine. It looks like #1854 describes exactly what our team is experiencing.

jgaull avatar May 20 '16 21:05 jgaull

I have no sure about the problem, but before upgrade to 2.2.10 all works fine, local and remote (same server), and I'm using Google Cloud Storage to files, so I don't think that it is an issue because of server load or proxy, before upgrade everything works fine including fetch files... But I don't know.

The MongoDb I don't think too, because I can access data normally on the parse-server database, using MongoChef.

Also after restart the Docker container of parse-server it back to normal, but then down again. It's mean is something related with parse-server.

I'm waiting the log here, soon I paste here after the parser-serve go to down.

jadsonlourenco avatar May 20 '16 22:05 jadsonlourenco

Ok, after few minutes the server not respond anymore, but show nothing on the logs (VERBOSE). Can be related with database, I'm installing the database locally now to see the logs too. Just to share :relaxed:

jadsonlourenco avatar May 20 '16 22:05 jadsonlourenco

@jgaull If your ClinkComment class is large and there is no index on createdAt then mongo may be forced to do a full table scan which takes too long. This is why my suggestion was to check the mongo logs for long running queries.

drew-gross avatar May 21 '16 01:05 drew-gross

@drew-gross do you have any ideas on why this happened only after updating, and can be temporarily fixed for under 15 minutes by resetting the dyno?

dcdspace avatar May 21 '16 02:05 dcdspace

I'm experiencing the same issue, however I deploy on EB. Here's the Nginx error log after I switched to a single instance:

-------------------------------------
/var/log/nginx/error.log
-------------------------------------
2016/05/21 02:13:57 [warn] 3409#0: duplicate MIME type "text/html" in /etc/nginx/conf.d/00_elastic_beanstalk_proxy.conf:42
2016/05/21 02:25:14 [error] 3432#0: *6 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 75.165.113.35, server: , request: "POST /api/classes/Brand HTTP/1.1", upstream: "http://127.0.0.1:8081/api/classes/Brand", host: "www.example.com"
2016/05/21 02:25:14 [error] 3432#0: *7 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 75.165.113.35, server: , request: "POST /api/classes/Review HTTP/1.1", upstream: "http://127.0.0.1:8081/api/classes/Review", host: "www.example.com"
2016/05/21 02:25:14 [error] 3432#0: *5 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 75.165.113.35, server: , request: "POST /api/classes/Location HTTP/1.1", upstream: "http://127.0.0.1:8081/api/classes/Location", host: "www.example.com"
2016/05/21 02:25:14 [error] 3432#0: *8 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 75.165.113.35, server: , request: "POST /api/classes/Review HTTP/1.1", upstream: "http://127.0.0.1:8081/api/classes/Review", host: "www.example.com"

Otherwise with auto-scaling there is a 111 error:

failed (111: Connection refused) while connecting to upstream

davide-scalzo avatar May 21 '16 02:05 davide-scalzo

@drew-gross There are only 232 records in the table. I can double check that there's an index tomorrow.

jgaull avatar May 21 '16 03:05 jgaull

No, I don't have any ideas unfortunately, hence why I'm looking for logs. There weren't actually very many changes in the recent versions of Parse Server, and looking at them I don't see anything that seems relevant.

drew-gross avatar May 21 '16 03:05 drew-gross

@jgaull 232 records wouldn't be enough to cause issues even if a tablescan is going on. Checking the mongo logs for slow queries would still be useful though.

drew-gross avatar May 21 '16 03:05 drew-gross

@drew-groos I'm still can seeing data is showing on parse.com dashboard. (I was already migrated data) but it not showing from my server.

johndrewing avatar May 21 '16 07:05 johndrewing

@jadsonlourenco @jgaull are the three of us all on mongoLab sandbox plan?

davide-scalzo avatar May 21 '16 07:05 davide-scalzo

@davodesign84 yes and no. I did a test with MLab, but I'm using Docker (https://hub.docker.com/r/jadsonlourenco/mongo-rocks/), and I did a test using a local mongo server (3.2) over OSX, get the same bug.

jadsonlourenco avatar May 21 '16 09:05 jadsonlourenco

So, I launched a new mongo deployment via Cloud Manager on AWS, same issue. Mongo logs seems pretty good:

2016-05-21T09:00:47.896+0000 I NETWORK [conn307] end connection 127.0.0.1:34507 (2 connections now open)
2016-05-21T09:00:37.838+0000 I ACCESS [conn307] Successfully authenticated as principal __system on local
2016-05-21T09:00:37.826+0000 I NETWORK [initandlisten] connection accepted from 127.0.0.1:34507 #307 (3 connections now open)
2016-05-21T09:00:37.825+0000 I NETWORK [conn306] end connection 127.0.0.1:34503 (2 connections now open)
2016-05-21T09:00:36.751+0000 I ACCESS [conn139] Successfully authenticated as principal mms-monitoring-agent on admin
2016-05-21T08:59:37.043+0000 I ACCESS [conn139] Successfully authenticated as principal mms-monitoring-agent on admin
2016-05-21T08:59:29.042+0000 I ACCESS [conn139] Successfully authenticated as principal mms-monitoring-agent on admin
2016-05-21T08:59:27.463+0000 I ACCESS [conn300] Successfully authenticated as principal __system on local
2016-05-21T08:59:27.451+0000 I NETWORK [initandlisten] connection accepted from 127.0.0.1:34486 #300 (3 connections now open)
2016-05-21T08:59:27.451+0000 I NETWORK [conn299] end connection 127.0.0.1:34483 (2 connections now open)
2016-05-21T08:59:21.042+0000 I ACCESS [conn139] Successfully authenticated as principal mms-monitoring-agent on admin
2016-05-21T08:59:17.406+0000 I ACCESS [conn299] Successfully authenticated as principal __system on local
2016-05-21T08:59:17.394+0000 I NETWORK [initandlisten] connection accepted from 127.0.0.1:34483 #299 (3 connections now open)
2016-05-21T08:59:17.393+0000 I NETWORK [conn298] end connection 127.0.0.1:34481 (2 connections now open)
2016-05-21T08:59:13.043+0000 I ACCESS [conn139] Successfully authenticated as principal mms-monitoring-agent on admin
2016-05-21T08:59:07.340+0000 I ACCESS [conn298] Successfully authenticated as principal __system on local
2016-05-21T08:59:07.328+0000 I NETWORK [initandlisten] connection accepted from 127.0.0.1:34481 #298 (3 connections now open)
2016-05-21T08:59:07.327+0000 I NETWORK [conn297] end connection 127.0.0.1:34480 (2 connections now open)
2016-05-21T08:59:05.043+0000 I ACCESS [conn139] Successfully authenticated as principal mms-monitoring-agent on admin
2016-05-21T08:58:57.295+0000 I ACCESS [conn297] Successfully authenticated as principal __system on local
2016-05-21T08:58:57.283+0000 I NETWORK [initandlisten] connection accepted from 127.0.0.1:34480 #297 (3 connections now open)
2016-05-21T08:58:57.282+0000 I NETWORK [conn296] end connection 127.0.0.1:34475 (2 connections now open)
2016-05-21T08:58:57.043+0000 I ACCESS [conn139] Successfully authenticated as principal mms-monitoring-agent on admin
2016-05-21T08:58:47.230+0000 I ACCESS [conn296] Successfully authenticated as principal __system on local
2016-05-21T08:58:47.218+0000 I NETWORK [initandlisten] connection accepted from 127.0.0.1:34475 #296 (3 connections now open)

but nginx logs are not happy:

2016/05/21 08:35:17 [warn] 3515#0: duplicate MIME type "text/html" in /etc/nginx/conf.d/00_elastic_beanstalk_proxy.conf:42
2016/05/21 08:57:56 [error] 3533#0: *328 upstream prematurely closed connection while reading response header from upstream, client: 172.31.63.230, server: , request: "GET /api/classes/Brand HTTP/1.1", upstream: "http://127.0.0.1:8081/api/classes/Brand", host: "api-production-dramsclub.us-east-1.elasticbeanstalk.com"
2016/05/21 08:57:56 [error] 3533#0: *328 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 172.31.63.230, server: , request: "GET /api/classes/Brand HTTP/1.1", upstream: "http://127.0.0.1:8081/api/classes/Brand", host: "api-production-dramsclub.us-east-1.elasticbeanstalk.com"
2016/05/21 08:57:58 [warn] 4111#0: duplicate MIME type "text/html" in /etc/nginx/conf.d/00_elastic_beanstalk_proxy.conf:42
2016/05/21 08:57:59 [error] 4116#0: *2 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.63.230, server: , request: "GET /api/classes/Brand HTTP/1.1", upstream: "http://127.0.0.1:8081/api/classes/Brand", host: "api-production-dramsclub.us-east-1.elasticbeanstalk.com"

davide-scalzo avatar May 21 '16 09:05 davide-scalzo

Interestingly the access log shows a lot of POST requests

172.31.63.230 - - [21/May/2016:08:57:56 +0000] "GET /api/classes/Brand HTTP/1.1" 502 574 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36" "82.2.89.115"
172.31.63.230 - - [21/May/2016:08:57:59 +0000] "GET /api/classes/Brand HTTP/1.1" 502 574 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36" "82.2.89.115"
172.31.63.230 - - [21/May/2016:08:58:03 +0000] "GET /api/classes/Brand HTTP/1.1" 200 14212 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36" "82.2.89.115"
172.31.51.62 - - [21/May/2016:08:59:08 +0000] "GET /api/classes/Brand HTTP/1.1" 200 14212 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36" "82.2.89.115"
172.31.63.230 - - [21/May/2016:08:59:15 +0000] "GET /api/classes/Review HTTP/1.1" 200 11414 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36" "82.2.89.115"
172.31.51.62 - - [21/May/2016:09:00:19 +0000] "POST /api/classes/Location HTTP/1.1" 200 1512 "-" "okhttp/2.5.0" "77.154.204.216"
172.31.51.62 - - [21/May/2016:09:00:19 +0000] "POST /api/classes/Brand HTTP/1.1" 200 51770 "-" "okhttp/2.5.0" "77.154.204.216"
172.31.51.62 - - [21/May/2016:09:00:19 +0000] "POST /api/classes/Review HTTP/1.1" 200 14 "-" "okhttp/2.5.0" "77.154.204.216"
172.31.51.62 - - [21/May/2016:09:00:21 +0000] "POST /api/classes/Review HTTP/1.1" 200 31561 "-" "okhttp/2.5.0" "77.154.204.216"
172.31.63.230 - - [21/May/2016:09:00:35 +0000] "GET /api/classes/Brand HTTP/1.1" 200 14212 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36" "82.2.89.115"
172.31.51.62 - - [21/May/2016:09:00:41 +0000] "POST /api/classes/Review HTTP/1.1" 200 14 "-" "okhttp/2.5.0" "77.154.204.216"
172.31.51.62 - - [21/May/2016:09:00:41 +0000] "POST /api/classes/Review HTTP/1.1" 200 14 "-" "okhttp/2.5.0" "77.154.204.216"
172.31.51.62 - - [21/May/2016:09:00:41 +0000] "POST /api/classes/Review HTTP/1.1" 200 14 "-" "okhttp/2.5.0" "77.154.204.216"
172.31.51.62 - - [21/May/2016:09:00:41 +0000] "POST /api/classes/Review HTTP/1.1" 200 14 "-" "okhttp/2.5.0" "77.154.204.216"
172.31.51.62 - - [21/May/2016:09:00:42 +0000] "POST /api/classes/Review HTTP/1.1" 200 14 "-" "okhttp/2.5.0" "77.154.204.216"
172.31.51.62 - - [21/May/2016:09:00:42 +0000] "POST /api/classes/Review HTTP/1.1" 200 14 "-" "okhttp/2.5.0" "77.154.204.216"
172.31.51.62 - - [21/May/2016:09:00:42 +0000] "POST /api/classes/Review HTTP/1.1" 200 14 "-" "okhttp/2.5.0" "77.154.204.216"
172.31.51.62 - - [21/May/2016:09:00:42 +0000] "POST /api/classes/Review HTTP/1.1" 200 14 "-" "okhttp/2.5.0" "77.154.204.216"
172.31.51.62 - - [21/May/2016:09:00:42 +0000] "POST /api/classes/Review HTTP/1.1" 200 14 "-" "okhttp/2.5.0" "77.154.204.216"
172.31.51.62 - - [21/May/2016:09:00:42 +0000] "POST /api/classes/Review HTTP/1.1" 200 14 "-" "okhttp/2.5.0" "77.154.204.216"
172.31.51.62 - - [21/May/2016:09:00:53 +0000] "POST /api/classes/Review HTTP/1.1" 200 14 "-" "okhttp/2.5.0" "77.154.204.216"
172.31.51.62 - - [21/May/2016:09:00:53 +0000] "POST /api/classes/Review HTTP/1.1" 200 14 "-" "okhttp/2.5.0" "77.154.204.216"
172.31.51.62 - - [21/May/2016:09:00:53 +0000] "POST /api/classes/Review HTTP/1.1" 200 14 "-" "okhttp/2.5.0" "77.154.204.216"
172.31.51.62 - - [21/May/2016:09:00:53 +0000] "POST /api/classes/Review HTTP/1.1" 200 14 "-" "okhttp/2.5.0" "77.154.204.216"
172.31.51.62 - - [21/May/2016:09:00:53 +0000] "POST /api/classes/Review HTTP/1.1" 200 14 "-" "okhttp/2.5.0" "77.154.204.216"
172.31.51.62 - - [21/May/2016:09:00:53 +0000] "POST /api/classes/Review HTTP/1.1" 200 14 "-" "okhttp/2.5.0" "77.154.204.216"
172.31.51.62 - - [21/May/2016:09:00:53 +0000] "POST /api/classes/Review HTTP/1.1" 200 14 "-" "okhttp/2.5.0" "77.154.204.216"
172.31.51.62 - - [21/May/2016:09:00:53 +0000] "POST /api/classes/Review HTTP/1.1" 200 14 "-" "okhttp/2.5.0" "77.154.204.216"
172.31.51.62 - - [21/May/2016:09:00:55 +0000] "POST /api/classes/Review HTTP/1.1" 200 14 "-" "okhttp/2.5.0" "77.154.204.216"
172.31.51.62 - - [21/May/2016:09:00:55 +0000] "POST /api/classes/Review HTTP/1.1" 200 14 "-" "okhttp/2.5.0" "77.154.204.216"
172.31.51.62 - - [21/May/2016:09:01:08 +0000] "POST /api/classes/Review HTTP/1.1" 200 14 "-" "okhttp/2.5.0" "77.154.204.216

okhttp should my react-native android client, which hasn't been changed in the last 3-4 weeks.... but I'll redeploy with the verbose flag and see home many requests are actually received by node.

davide-scalzo avatar May 21 '16 09:05 davide-scalzo

Well for me the Mongo and Parse-server logs show nothing strange, just normal info. One thing I noticed that I deleted all the extra classes, just let the default classes, and removed all content. So in this case with a standard database the parse-server not stop after minutes. I think this issue is related with parse-server, after some query, but I don't know where I can see it, because the logs not appear any error, and is not in the database, I think, who did not show anything unusual on logs too.

jadsonlourenco avatar May 21 '16 09:05 jadsonlourenco

I'm facing the same issue with modulus.io. Nothing found in logs. Switching back to older versions of parse-server does not solve the problem

DevJoghurt avatar May 21 '16 10:05 DevJoghurt

Tests report:

  • OS: Linux (Debian), OSX (10.11.5);
  • Node: 5, 6.1, 6.2;
  • Mongo: 3.0 (rocksdb), 3.2 (default);
  • Parse-server: 2.2.7, 2.2.9, 2.2.10;
  • Parse-dashboard: 1.0.11;
  • Database: "standard" and "custom" classes, small db at all;
  • Files: Google Cloud Storage, small files 1mb.
  • Client: IOS SDK 1.13.0

The parse-server goes down after few minutes only after run the mobile app, I can get the content without error. Before run the mobile app the mongo logs:

2016-05-21T11:01:06.319+0000 I NETWORK  [initandlisten] connection accepted from 172.20.0.3:33286 #73 (14 connections now open)
2016-05-21T11:01:06.376+0000 I ACCESS   [conn73] Successfully authenticated as principal parse on parse

But, as I said after run the app, get the content from parse-server correctly, the server down and on mongo logs not show this message any more, don't show any logs from parse-server...

jadsonlourenco avatar May 21 '16 11:05 jadsonlourenco