Skip to content

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

Open
@suenot

Description

@suenot

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions