These are chat archives for Automattic/mongoose

Jun 2016
Pedro Gomes
Jun 30 2016 12:08

Running several noejs apps with mongodb/mongoose behind haproxy and getting following error message:
Server is running @ port 3010

process.nextTick(function() { throw err; })
MongoError: server received an error {"err":"socketHandler","trace":"","parseState":{"sizeOfMessage":1347703880}}
at null.<anonymous> (/opt/node/core-channel-manager/node_modules/mongoose/node_modules/mongodb-core/lib/topologies/server.js:372:40)
at emitTwo (events.js:100:13)
at emit (events.js:185:7)
at null.<anonymous> (/opt/node/core-channel-manager/node_modules/mongoose/node_modules/mongodb-core/lib/connection/pool.js:156:10)
at g (events.js:273:16)
at emitTwo (events.js:100:13)
at emit (events.js:185:7)
at Socket.<anonymous> (/opt/node/core-channel-manager/node_modules/mongoose/node_modules/mongodb-core/lib/connection/connection.js:263:20)
at emitOne (events.js:90:13)
at Socket.emit (events.js:182:7)
at readableAddChunk (_stream_readable.js:153:18)
at Socket.Readable.push (_stream_readable.js:111:10)
at TCP.onread (net.js:534:20)
error: Forever detected script exited with code: 1
error: Script restart attempt #660
error: Forever detected script was killed by signal: SIGKILL

has anybody seen similar already?

Maksim Karpychev
Jun 30 2016 19:45
hi all
help me
Alex Shpak
Jun 30 2016 19:59
@kodermax what problem?
Maksim Karpychev
Jun 30 2016 19:59
i solved it's'
i did found mixed type for schema)