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

Error: read ECONNRESET when define a property to Object #471

Open
alexaleluia12 opened this issue Sep 9, 2018 · 0 comments
Open

Error: read ECONNRESET when define a property to Object #471

alexaleluia12 opened this issue Sep 9, 2018 · 0 comments

Comments

@alexaleluia12
Copy link

Add a property to Object causes a run time error and disconnect client from RabbitMQ

Error from amqp: Error: unsupported type in amqp table: function
at Object.serializeValue (/home/alex/Documentos/cod/my/test-node-amqp/node_modules/amqp/lib/serializer.js:181:17)
at Object.serializeTable (/home/alex/Documentos/cod/my/test-node-amqp/node_modules/amqp/lib/serializer.js:200:18)
at Object.serializeFields (/home/alex/Documentos/cod/my/test-node-amqp/node_modules/amqp/lib/serializer.js:310:22)
at Connection._sendMethod (/home/alex/Documentos/cod/my/test-node-amqp/node_modules/amqp/lib/connection.js:858:14)
at Connection._onMethod (/home/alex/Documentos/cod/my/test-node-amqp/node_modules/amqp/lib/connection.js:472:12)
at AMQPParser.self.parser.onMethod (/home/alex/Documentos/cod/my/test-node-amqp/node_modules/amqp/lib/connection.js:136:12)
at AMQPParser._parseMethodFrame (/home/alex/Documentos/cod/my/test-node-amqp/node_modules/amqp/lib/parser.js:377:10)
at frameEnd (/home/alex/Documentos/cod/my/test-node-amqp/node_modules/amqp/lib/parser.js:94:16)
at frame (/home/alex/Documentos/cod/my/test-node-amqp/node_modules/amqp/lib/parser.js:79:14)
at AMQPParser.header [as parse] (/home/alex/Documentos/cod/my/test-node-amqp/node_modules/amqp/lib/parser.js:65:14)
Error from amqp: { Error: read ECONNRESET
at TCP.onread (net.js:660:25) errno: 'ECONNRESET', code: 'ECONNRESET', syscall: 'read' }

reproduce the error: https://github.com/alexaleluia12/reproduce-error-amqp
RabbiMQ: 3.7.7
Node: v10.9.0
amqp: 0.2.7

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

1 participant