[nodejs] Re: Server is accepting requests but is not responding. There is something hanging up the response.

2015-08-12 Thread Moacir Braga
Hi Alain, your answer makes me happy because if Mandrill is the problem, many things will make sense to me, but I need to ask you something. The problem you mentioned before was a completely hanging up server? I didn't understand very well your comment 10 retries as 30s interval. Why did you

Re: [nodejs] http server.close() is taking about 2 mins to close

2015-08-12 Thread Kiran Ravuri
There are no pending requests. As you can see in the log there is only one request and server replied to that and i got 'end' event for that. With out any requests if i give server.close() is working properly. Even if it servers one request it is taking long to close. You can just copy paste

Re: [nodejs] http server.close() is taking about 2 mins to close

2015-08-12 Thread Kiran Ravuri
UPDATED code with 'finish' event var http=require(http), server = null; server = http.createServer(function (request, response) { request.on(end, function(){ console.log(server: reqest end + new Date()); }); response.on('finish', function () { console.log('server: response

Re: [nodejs] Re: Server is accepting requests but is not responding. There is something hanging up the response.

2015-08-12 Thread alainm
That application is very old, in asp classic and badly written. The page was aborting because of an error sending the email. Implementing a try-catch (it's equivalent in asp) solved the problem. But to make sure that tje message Enviado através do AquaMail para Android

Re: [nodejs] Re: Server is accepting requests but is not responding. There is something hanging up the response.

2015-08-12 Thread alainm
Sorry, truncated... So... To make sure that the message doesn't get lost, I implemented a retry. My diagnose is that the problem was with the connection and not properly with Mandrill Enviado através do AquaMail para Android http://www.aqua-mail.com A 12 de agosto de 2015 18:11:00 Moacir

Re: [nodejs] Re: Server is accepting requests but is not responding. There is something hanging up the response.

2015-08-12 Thread Alain Mouette
That application is very old, in asp classic and badly written. The page was aborting because of an error sending the email. Implementing a try-catch (it's equivalent in asp) solved the problem. But to make sure that the message doesn't get lost, I implemented a retry, it waits 3s each time and

Re: [nodejs] performance issue with express-validator

2015-08-12 Thread Matt
On Sun, Aug 9, 2015 at 2:27 PM, Sebastian M Cheung minsche...@googlemail.com wrote: After adding express-validator, the app slows down dramatically: why is that? One would assume, because node-validator is slow. I'm not sure what other answer you could expect... What level of slow down are

[nodejs] Node Firebird driver node-firebird 0.6.7 is released

2015-08-12 Thread Adrian Marius Popa
New release for node-firebird https://www.npmjs.com/package/node-firebird driver with Improved https://github.com/hgourvest/node-firebird/pull/74 Pool Management : More efficient Pool destroy method. -- Job board: http://jobs.nodejs.org/ New group rules:

Re: [nodejs] Re: Server is accepting requests but is not responding. There is something hanging up the response.

2015-08-12 Thread alainm
Hi, I am using Mandrill in one other application. I had some problems until I started checking for errors and implemented 10 retries as 30s interval. After that I never had problems again... Enviado através do AquaMail para Android http://www.aqua-mail.com A 12 de agosto de 2015 16:39:30

Re: [nodejs] http server.close() is taking about 2 mins to close

2015-08-12 Thread Maximilian Hill
Maybe the socket is wariting for FIN of some connrctions. Max Am 12.08.2015 21:39 schrieb Kiran Ravuri kiranravur...@gmail.com: Hi All, I am testing cluster in node, and i had a question regarding that which i posted @