Skip to content

nprobe should not give up trying to connect to the license server #647

@marcoeg

Description

@marcoeg

nprobe stops trying to connect to the license server instead of keep trying. See log below where it stops trying after only two minutes and four attempts.

A continuous retry is recommended, perhaps with a backoff algorithm. After a power down for instance, it may take a long time for the network to be available at the restart.

Apr 02 00:43:52 NanoPi-R3S nprobe[642]: 02/Apr/2025 00:43:52 [licenseMgrClient.c:459] WARNING: Unable to connect to license manager [212.54.224.108:3003](http://212.54.224.108:3003/)
Apr 02 00:43:52 NanoPi-R3S nprobe[642]: 02/Apr/2025 00:43:52 [licenseMgrClient.c:941] Connection failed: sleeping 30 sec [17/20 attempts]
Apr 02 00:44:22 NanoPi-R3S nprobe[642]: 02/Apr/2025 00:44:22 [licenseMgrClient.c:459] WARNING: Unable to connect to license manager [212.54.224.108:3003](http://212.54.224.108:3003/)
Apr 02 00:44:22 NanoPi-R3S nprobe[642]: 02/Apr/2025 00:44:22 [licenseMgrClient.c:941] Connection failed: sleeping 30 sec [18/20 attempts]
Apr 02 00:44:52 NanoPi-R3S nprobe[642]: 02/Apr/2025 00:44:52 [licenseMgrClient.c:459] WARNING: Unable to connect to license manager [212.54.224.108:3003](http://212.54.224.108:3003/)
Apr 02 00:44:52 NanoPi-R3S nprobe[642]: 02/Apr/2025 00:44:52 [licenseMgrClient.c:941] Connection failed: sleeping 30 sec [19/20 attempts]
Apr 02 00:45:22 NanoPi-R3S nprobe[642]: 02/Apr/2025 00:45:22 [licenseMgrClient.c:459] WARNING: Unable to connect to license manager [212.54.224.108:3003](http://212.54.224.108:3003/)
Apr 02 00:45:22 NanoPi-R3S nprobe[642]: 02/Apr/2025 00:45:22 [licenseMgrClient.c:941] Connection failed: sleeping 30 sec [20/20 attempts]
Apr 02 00:45:52 NanoPi-R3S nprobe[642]: 02/Apr/2025 00:45:52 [licenseMgrClient.c:950] Connection failed: giving up

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions