benCd / uni-park

uni-park is an open source university parking forecast service, providing university students with predictive models for parking sport analysis.
GNU Affero General Public License v3.0
1 stars 0 forks source link

ECONNRESET server error #53

Open ClayBullard opened 5 years ago

ClayBullard commented 5 years ago

Run the uniserver.js for some time, query it, and then the following error occurs:

Error: read ECONNRESET

at _errnoException (util.js:992:11)

at TCP.onread (net.js:618:25)     
--------------------            
at Protocol._enqueue (/ServerApplications/uni-park/up_server/node_modules/mysql/lib/protocol/Protocol.js:144:48)

at Connection.query (/ServerApplications/uni-park/up_server/node_modules/mysql/lib/Connection.js:200:25)

at Strategy._verify (/ServerApplications/uni-park/up_server/uniserver.js:41:16)

at Strategy.authenticate (/ServerApplications/uni-park/up_server/node_modules/passport-local/lib/strategy.js:90:12)

at attempt (/ServerApplications/uni-park/up_server/node_modules/passport/lib/middleware/authenticate.js:361:16)

at authenticate (/ServerApplications/uni-park/up_server/node_modules/passport/lib/middleware/authenticate.js:362:7)

at /ServerApplications/uni-park/up_server/uniserver.js:135:5

at Layer.handle [as handle_request] (/ServerApplications/uni-park/up_server/node_modules/express/lib/router/layer.js:95:5)

at next (/ServerApplications/uni-park/up_server/node_modules/express/lib/router/route.js:137:13)

at Route.dispatch (/ServerApplications/uni-park/up_server/node_modules/express/lib/router/route.js:112:3)