kaiseki
kaiseki copied to clipboard
error socket hang up code 'econnreset'
After running Kaiseki for a while polling Parse variables I get this error.
" error socket hang up code 'econnreset' "
This seems to be related to this issue http://stackoverflow.com/questions/18692580/node-js-post-causes-error-socket-hang-up-code-econnreset
Could a fix be implemented somewhere in the code?
@sjunnesson I use request for all Parse API calls. Could it be solved by upgrading that?
not sure but possible. Depends if the bug is in there also. The solution seems to be to add a properly calculated length to the request which Im not sure if that happens on your side or the request side.
@sjunnesson Can you give me more info on how to reproduce this? Thanks!
it occurs after doing multiple connection to Parse over a 24 hour period. Probably do about 10k querries in that time frame. The whole node script is being kept alive with a forever and I believe it is in conjunction with the forever script that some port is not properly closed down when exiting and then restarting.
Sorry for the vague descriptions but due to NDA I cant share the code.
@sjunnesson Did you ever figure out this issue? I am seeing the same problem with ECONNRESET, ECONNTIMEOUT as well.