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

connection reset error in server #266

Open
nikita-fuchs opened this issue Dec 12, 2023 · 0 comments
Open

connection reset error in server #266

nikita-fuchs opened this issue Dec 12, 2023 · 0 comments

Comments

@nikita-fuchs
Copy link
Contributor

Hello, when doing docker-compose up and starting the server (cd server && npm run dev) , I get a weird connection reset error:

13:34:07 - Starting compilation in watch mode...


13:34:11 - Found 0 errors. Watching for file changes.
[2023-12-12 12:34:12.282 +0000] INFO (38733 on MacBook-Pro-3.fritz.box): Bot service running at port 3000
/Users/XXX/Aeternity/state-channel-demo/server/node_modules/@azure/core-rest-pipeline/dist/index.js:1691
                reject(new RestError(err.message, { code: (_a = err.code) !== null && _a !== void 0 ? _a : RestError.REQUEST_SEND_ERROR, request }));
                       ^

RestError: read ECONNRESET
    at ClientRequest.<anonymous> (/Users/XXX/Aeternity/state-channel-demo/server/node_modules/@azure/core-rest-pipeline/dist/index.js:1691:24)
    at Object.onceWrapper (node:events:629:26)
    at ClientRequest.emit (node:events:514:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:514:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  code: 'ECONNRESET',
  statusCode: undefined,
  request: PipelineRequestImpl {
    url: 'http://localhost:3013/v3/status',
    body: undefined,
    headers: HttpHeadersImpl {
      _headersMap: Map(4) {
        'accept' => { name: 'Accept', value: 'application/json' },
        'accept-encoding' => { name: 'Accept-Encoding', value: 'gzip,deflate' },
        'user-agent' => {
          name: 'User-Agent',
          value: 'azsdk-js-node/1.0.0-beta.1 core-rest-pipeline/1.9.0 Node/v18.17.1 OS/(x64-Darwin-23.1.0)'
        },
        'x-ms-client-request-id' => {
          name: 'x-ms-client-request-id',
          value: '5b956873-7d46-4be8-b5cc-bac748c39046'
        }
      }
    },
    method: 'GET',
    timeout: 0,
    formData: undefined,
    disableKeepAlive: false,
    proxySettings: undefined,
    streamResponseStatusCodes: Set(0) {},
    withCredentials: false,
    abortSignal: undefined,
    tracingOptions: undefined,
    onUploadProgress: undefined,
    onDownloadProgress: undefined,
    requestId: '5b956873-7d46-4be8-b5cc-bac748c39046',
    allowInsecureConnection: true,
    enableBrowserStreams: false
  },
  response: undefined
}

Node.js v18.17.1
nikita-fuchs added a commit to nikita-fuchs/state-channel-demo that referenced this issue Dec 12, 2023
nikita-fuchs added a commit to nikita-fuchs/state-channel-demo that referenced this issue Dec 12, 2023
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