Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: this._types.getTypeParser is not a function #1175

Open
pasupulaphani opened this issue Dec 1, 2016 · 2 comments
Open

TypeError: this._types.getTypeParser is not a function #1175

pasupulaphani opened this issue Dec 1, 2016 · 2 comments

Comments

@pasupulaphani
Copy link

pasupulaphani commented Dec 1, 2016

»  app web.1 - - /app/node_modules/pg/lib/type-overrides.js:35
» - - return this.getOverrides(format)[oid] || this._types.getTypeParser(oid, format);
»  app web.1 - - ^
»  app web.1 - -
»  app web.1 - - TypeError: this._types.getTypeParser is not a function at TypeOverrides.getTypeParser (/app/node_modules/pg/lib/type-overrides.js:35:56) at Result.addFields (/app/node_modules/pg/lib/result.js:102:23) at Query.handleRowDescription (/app/node_modules/pg/lib/query.js:80:16) at Connection.<anonymous> (/app/node_modules/pg/lib/client.js:112:24) at emitOne (events.js:96:13) at Connection.emit (events.js:188:7) at TLSSocket.<anonymous> (/app/node_modules/pg/lib/connection.js:121:12) at emitOne (events.js:96:13) at TLSSocket.emit (events.js:188:7) at readableAddChunk (_stream_readable.js:176:18) at TLSSocket.Readable.push (_stream_readable.js:134:10) at TLSWrap.onread (net.js:551:20)
»  app web.1 - - {"name":"ps-api","hostname":"*******","pid":18,"level":30,"msg":"worker 34 died","time":"2016-11-30T11:34:06.847Z","v":0}
»  app postgres.**** - - [XXXX] could not receive data from client: Connection reset by peer

Any insights on how this could happen? This is happening a lot on our prod env. (couldn't reproduce locally)

@pasupulaphani
Copy link
Author

Having some major issues with this on production.

@MichaelErmer
Copy link

How did u resolve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants