nmattisson/HttpClient

Error: Timeout while reading response.

Closed this issue · 0 comments

Hi,
thank you for this nice contribution! Had quite some trouble getting my Core speaking with my node express app.
While everything played out nicely, I receive a 5s Timeout on every get or post like for example:

HttpClient>     Receiving TCP transaction of 128 bytes.
HTTP/1.1 200 OK
X-Powered-By: Express
Content-Type: text/html; charset=utf-8
Content-Length: 12
ETag: W/"c-441cfa1a"
Date: Sat, 10 Jan 2015 19:06:49 GMT
Connection: close

Hi from node
HttpClient>     End of TCP transaction.
HttpClient>     Error: Timeout while reading response.

HttpClient>     End of HTTP Response (5602ms).
HttpClient>     Status Code: 200

My node app is generated by express and I am just doing

router.get('/get', function(req, res) {
  res.send('Hi from node');
});

By the way is there an easy way to get rid of the LOGGING define in the Web IDE? Or do I need to fork the library and disable that line manually?

Thanks!