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

A lot of errors in https://github.com/deep-foundation/deeplinks/blob/main/.github/workflows/server-build.yaml #337

Open
suenot opened this issue May 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@suenot
Copy link
Member

suenot commented May 22, 2024

Bug description

https://github.com/deep-foundation/deeplinks/actions/runs/9149345063/job/25152863938
Step: Run deeplinks

2024-05-19T17:26:40.896Z deeplinks:engine:log isDeeplinksDocker: {
  "error": {
    "message": "connect ECONNREFUSED ::1:3006",
    "name": "Error",
    "stack": "Error: connect ECONNREFUSED ::1:3006
    at AxiosError.from (/usr/local/lib/node_modules/@deep-foundation/deeplinks/node_modules/axios/dist/node/axios.cjs:836:14)\n    at RedirectableRequest.handleRequestError (/usr/local/lib/node_modules/@deep-foundation/deeplinks/node_modules/axios/dist/node/axios.cjs:3086:25)\n    at RedirectableRequest.emit (node:events:529:35)\n    at eventHandlers.<computed> (/usr/local/lib/node_modules/@deep-foundation/deeplinks/node_modules/follow-redirects/index.js:38:24)\n    at ClientRequest.emit (node:events:517:28)\n    at Socket.socketErrorListener (node:_http_client:501:9)\n    at Socket.emit (node:events:517:28)\n    at emitErrorNT (node:internal/streams/destroy:151:8)\n    at emitErrorCloseNT (node:internal/streams/destroy:116:3)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at Axios.request (/usr/local/lib/node_modules/@deep-foundation/deeplinks/node_modules/axios/dist/node/axios.cjs:3876:41)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async _checkDeeplinksStatus (/usr/local/lib/node_modules/@deep-foundation/deeplinks/imports/engine-server.cjs:205:14)\n    at async call (/usr/local/lib/node_modules/@deep-foundation/deeplinks/imports/engine-server.cjs:359:29)\n    at async /usr/local/lib/node_modules/@deep-foundation/deeplinks/call.cjs:8:3",
    "config": {
      "transitional": {
        "silentJSONParsing": true,
        "forcedJSONParsing": true,
        "clarifyTimeoutError": false
      },
      "adapter": [
        "xhr",
        "http"
      ],
      "transformRequest": [
        null
      ],
      "transformResponse": [
        null
      ],
      "timeout": 7000,
      "xsrfCookieName": "XSRF-TOKEN",
      "xsrfHeaderName": "X-XSRF-TOKEN",
      "maxContentLength": -1,
      "maxBodyLength": -1,
      "env": {},
      "headers": {
        "Accept": "application/json, text/plain, */*",
        "User-Agent": "axios/1.6.8",
        "Accept-Encoding": "gzip, compress, deflate, br"
      },
      "method": "get",
      "url": "http://localhost:3006/api/healthz"
    },
    "code": "ECONNREFUSED",
    "status": null
  }
}
2024-05-19T17:26:40.896Z deeplinks:engine:log isDeepcaseDocker: {
  "error": {
    "message": "connect ECONNREFUSED ::1:3007",
    "name": "Error",
    "stack": "Error: connect ECONNREFUSED ::1:3007
    at AxiosError.from (/usr/local/lib/node_modules/@deep-foundation/deeplinks/node_modules/axios/dist/node/axios.cjs:836:14)\n    at RedirectableRequest.handleRequestError (/usr/local/lib/node_modules/@deep-foundation/deeplinks/node_modules/axios/dist/node/axios.cjs:3086:25)\n    at RedirectableRequest.emit (node:events:529:35)\n    at eventHandlers.<computed> (/usr/local/lib/node_modules/@deep-foundation/deeplinks/node_modules/follow-redirects/index.js:38:24)\n    at ClientRequest.emit (node:events:517:28)\n    at Socket.socketErrorListener (node:_http_client:501:9)\n    at Socket.emit (node:events:517:28)\n    at emitErrorNT (node:internal/streams/destroy:151:8)\n    at emitErrorCloseNT (node:internal/streams/destroy:116:3)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at Axios.request (/usr/local/lib/node_modules/@deep-foundation/deeplinks/node_modules/axios/dist/node/axios.cjs:3876:41)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async _checkDeepcaseStatus (/usr/local/lib/node_modules/@deep-foundation/deeplinks/imports/engine-server.cjs:219:14)\n    at async call (/usr/local/lib/node_modules/@deep-foundation/deeplinks/imports/engine-server.cjs:360:28)\n    at async /usr/local/lib/node_modules/@deep-foundation/deeplinks/call.cjs:8:3",
    "config": {
      "transitional": {
        "silentJSONParsing": true,
        "forcedJSONParsing": true,
        "clarifyTimeoutError": false
      },
      "adapter": [
        "xhr",
        "http"
      ],
      "transformRequest": [
        null
      ],
      "transformResponse": [
        null
      ],
      "timeout": 7000,
      "xsrfCookieName": "XSRF-TOKEN",
      "xsrfHeaderName": "X-XSRF-TOKEN",
      "maxContentLength": -1,
      "maxBodyLength": -1,
      "env": {},
      "headers": {
        "Accept": "application/json, text/plain, */*",
        "User-Agent": "axios/1.6.8",
        "Accept-Encoding": "gzip, compress, deflate, br"
      },
      "method": "get",
      "url": "http://localhost:3007/api/healthz"
    },
    "code": "ECONNREFUSED",
    "status": null
  }
}
2024-05-19T17:26:40.910Z deeplinks:engine:log versions error: Error: ENOENT: no such file or directory, scandir '/home/runner/.nvm/versions/node'
Error: Timed out waiting for: http-get://localhost:8080/healthz
    at /usr/local/lib/node_modules/@deep-foundation/deeplinks/node_modules/wait-on/lib/wait-on.js:131:31
    at doInnerSub (/usr/local/lib/node_modules/@deep-foundation/deeplinks/node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js:22:31)
    at outerNext (/usr/local/lib/node_modules/@deep-foundation/deeplinks/node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js:17:70)
    at OperatorSubscriber._this._next (/usr/local/lib/node_modules/@deep-foundation/deeplinks/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:33:21)
    at Subscriber.next (/usr/local/lib/node_modules/@deep-foundation/deeplinks/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18)
    at AsyncAction.work (/usr/local/lib/node_modules/@deep-foundation/deeplinks/node_modules/rxjs/dist/cjs/internal/observable/timer.js:28:28)
    at AsyncAction._execute (/usr/local/lib/node_modules/@deep-foundation/deeplinks/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js:79:18)
    at AsyncAction.execute (/usr/local/lib/node_modules/@deep-foundation/deeplinks/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js:67:26)
    at AsyncScheduler.flush (/usr/local/lib/node_modules/@deep-foundation/deeplinks/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncScheduler.js:38:33)
    at listOnTimeout (node:internal/timers:569:17)

    at ChildProcess.exithandler (node:child_process:422:12)
    at ChildProcess.emit (node:events:517:28)
    at maybeClose (node:internal/child_process:1098:16)
    at ChildProcess._handle.onexit (node:internal/child_process:303:5)

Also I can install deep on server by this insruction that used in https://github.com/deep-foundation/deeplinks/blob/main/.github/workflows/server-build.yaml

Expected Behavior

No response

Current Behavior

No response

Steps to reproduce

No response

Workaround

No response

Environment

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant