Skip to content

Initial dial timeout waits forever #209

Description

@neben

Every now and then clients are offline due to intermittent Internet issues and won't reconnect automatically. If I connect to these devices over a local ssh connection and strace the exe process, I can see that the last message complains about a timed out DNS resolution. It seems as this might be the reason the client gets stuck?

# strace -fs 255 -p `pidof exe`
strace: Process 3906 attached with 7 threads
[pid  9442] futex(0x4000181d48, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
[pid  3911] futex(0x4000180148, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
[pid  3910] futex(0x4000080148, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
[pid  3909] futex(0x400005cf48, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
[pid  3908] futex(0x400005c848, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
[pid  3907] restart_syscall(<... resuming interrupted restart_syscall ...> <unfinished ...>
[pid  3906] write(2, "2025/11/18 22:51:22 Unable to connect directly TCP: failed to connect: dial tcp: lookup <redacted> on 8.8.8.8:53: read udp 192.168.0.101:33880->8.8.8.8:53: i/o timeout\n", 172

Activity

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingneeds testing (on unstable)A feature that now exists, but is looking for people to test and use it

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions