Skip to content

Workspace startup issue #7366

Open
Open

Description

@lexiv0re

It’s still possible if workspace starts before account for it to get stale.

Failing withRetryConnUntilSuccess with error cause: Error: getaddrinfo ENOTFOUND account
    at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
  errno: -3008,
  code: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  hostname: 'account'
}

This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:

TypeError: fetch failed
    at node:internal/deps/undici/undici:13185:13
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async workerHandshake (/usr/src/app/bundle.js:240:591660)
    at async /usr/src/app/bundle.js:240:590457
    at async N6t.start (/usr/src/app/bundle.js:453:440228) 

Huly®: UBERF-8597

Activity

  1. self-assigned this
    on Dec 8, 2024
  2. MichaelUray commented on Oct 20, 2026

    @MichaelUray
    Contributor

    The workspace service now waits for the account service: in server/workspace-service/src/service.ts the worker handshake runs with withRetryConnUntilSuccess inside a try/catch loop that retries until it succeeds, so starting before the account service no longer causes an unhandled rejection. It was checked against the current Platform-Collective develop code. If maintainers agree this covers the report, please consider closing.

  3. MichaelUray commented on Oct 20, 2026

    @MichaelUray
    Contributor

    @lexiv0re — based on the check described above, this looks resolved in the current code. Could you please close this issue if you agree? If you think it is not fixed yet, please describe what still goes wrong (steps, expected vs. actual behaviour), so it can be looked at again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions