Skip to content

Empty uuid being used with balena tunnel #1161

@slovak194

Description

@slovak194

Hi!

If this branch is executed it leaves worker.uuid empty

else if (match) {
const ipAddress = match[1];
console.log(`Setting URL as IP address: ${ipAddress}`);
this.workerUser = 'root';
this.workerPort = 22222;
this.workerHost = ipAddress;

But it is still used here, in a call to balena tunnel
let argsClient = [
`tunnel`,
this.uuid,
`-p`,
`22222:${workerPort}`
];
let tunnelProcClient = spawn(`balena`, argsClient, {stdio: 'inherit'});

This triggers an error message in the terminal but does not stop the execution.

Best regards,
Oleksandr Slovak

Metadata

Metadata

Assignees

No one assigned

    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