dmanjunath / node-redshift

A simple collection of tools to help you get started with Amazon Redshift from node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connection constantly resets.

jarrettj opened this issue · comments

Hi,

Good day

Is there any option one can use to stop the connection from dying? I keep on getting the following error:

Error: read ECONNRESET
    at _errnoException (util.js:1003:13)
    at TCP.onread (net.js:611:25)
From previous event:
    at _queryHelper (/var/www/redshift/migrate_to_s3/node_modules/node-redshift/lib/query.js:107:12)
    at Redshift.query (/var/www/redshift/migrate_to_s3/node_modules/node-redshift/lib/query.js:28:10)
    at Timeout.unload [as _onTimeout] (/var/www/redshift/migrate_to_s3/migrate_by_subtype.js:104:20)
    at ontimeout (timers.js:462:13)
    at tryOnTimeout (timers.js:298:5)
    at Timer.listOnTimeout (timers.js:261:5)

Thanks.

Regards.
JJ