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

Facing Error: read ECONNRESET while running tests in the package #474

Open
ossdev07 opened this issue Dec 3, 2018 · 0 comments
Open

Facing Error: read ECONNRESET while running tests in the package #474

ossdev07 opened this issue Dec 3, 2018 · 0 comments

Comments

@ossdev07
Copy link

ossdev07 commented Dec 3, 2018

Have installed rabbitmq-server and installed this package. While running tests for this package using command npm test facing ECONNRESET error.

Facing below issue in debian, nodejs v10.8 and RabbitMQ 3.3.5.
test/test-basic-return.js: Error: read ECONNRESET
at TCP.onread (net.js:660:25)
at Object.run (/node/node-amqp/test/harness.js:49:23)
at Object. (/node/node-amqp/test/test-basic-return.js:1:22)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:266:19)

Downloaded the current commit and connection.js file has destroy function called as mentioned in ticket #300 .
case methods.connectionCloseOk:
debug && debug("Received close-ok from server, closing socket");
this.socket.end();
this.socket.destroy();
break;

But still facing this issue. Please suggest me on solving this issue. Thanks.

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