Skip to content

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

@ossdev07

Description

@ossdev07

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions