AnsweredAssumed Answered

Problems hitting REST services when running App on Node.js server

Question asked by ggarza on Jun 18, 2015
Latest reply on Jun 22, 2015 by junshan_liu-esristaff

Has anyone had any problems with the node server used for running web appbuilder?

I run the node windows service on my local development machine so I can both make changes through web app builder and test the app quickly without having to deploy.  While testing a query tool, I repeatedly received timeout errors when making the query call to the REST service.   I could hit it a few times with no problem.  As soon as it would get a timeout, then most of my queries would result in timeouts as well as calls to the print service.  I tried various things like rebuilding indexes on the layer, restarting the windows service, checking server logs, running the queries on the rest service page and stepping through the code but could not figure out the issue.  However, when I deployed and tested the app on an IIS server, the app ran smoothly and I did not have any timeouts.  Since nothing else I tried worked, I am assuming it is the node service but am open to any suggestions.  Thanks.

Outcomes