Skip to content

Fails on network outage when Address unreachable #47

@EntityinArray

Description

@EntityinArray

Thank you for this amazing project!
doh-client fails to keep running under Address unreachable network outage

OS: Arch Linux

here's journalctl -eu doh-client

сен 11 14:31:33 okcomputer systemd[1]: Started DNS-over-HTTPS Client.
сен 11 14:31:33 okcomputer doh-client[901]: 2023/09/11 14:31:33 Get "https://1.1.1.1/dns-query?ct=application/dns-message&dns=AAABAAABAAAAAAABBnJlbGF5>
сен 11 14:31:33 okcomputer doh-client[901]: 2023/09/11 14:31:33 Get "https://1.1.1.1/dns-query?ct=application/dns-message&dns=AAABAAABAAAAAAABBnJlbGF5>
сен 11 14:31:33 okcomputer doh-client[901]: 2023/09/11 14:31:33 Get "https://1.1.1.1/dns-query?ct=application/dns-message&dns=AAABAAABAAAAAAABBnJlbGF5>
сен 11 14:31:33 okcomputer doh-client[901]: 2023/09/11 14:31:33 Get "https://1.1.1.1/dns-query?ct=application/dns-message&dns=AAABAAABAAAAAAABBnJlbGF5>
сен 11 14:31:36 okcomputer doh-client[901]: 2023/09/11 14:31:36 Get "https://1.1.1.1/dns-query?ct=application/dns-message&dns=AAABAAABAAAAAAABBHBpbmcJ>
сен 11 14:31:36 okcomputer doh-client[901]: 2023/09/11 14:31:36 Get "https://1.1.1.1/dns-query?ct=application/dns-message&dns=AAABAAABAAAAAAABBHBpbmcJ>
сен 11 14:31:36 okcomputer systemd[1]: Stopping DNS-over-HTTPS Client...
сен 11 14:31:36 okcomputer systemd[1]: doh-client.service: Deactivated successfully.
сен 11 14:31:36 okcomputer systemd[1]: Stopped DNS-over-HTTPS Client.
сен 11 14:31:36 okcomputer systemd[1]: Started DNS-over-HTTPS Client.
сен 11 14:31:36 okcomputer systemd[1]: Stopping DNS-over-HTTPS Client...
сен 11 14:31:36 okcomputer systemd[1]: doh-client.service: Deactivated successfully.
сен 11 14:31:36 okcomputer systemd[1]: Stopped DNS-over-HTTPS Client.
сен 11 14:31:36 okcomputer systemd[1]: Started DNS-over-HTTPS Client.
сен 11 14:31:36 okcomputer systemd[1]: Stopping DNS-over-HTTPS Client...
сен 11 14:31:36 okcomputer systemd[1]: doh-client.service: Deactivated successfully.
сен 11 14:31:36 okcomputer systemd[1]: Stopped DNS-over-HTTPS Client.
сен 11 14:31:36 okcomputer systemd[1]: Started DNS-over-HTTPS Client.
сен 11 14:31:41 okcomputer systemd[1]: Stopping DNS-over-HTTPS Client...
сен 11 14:31:41 okcomputer systemd[1]: doh-client.service: Deactivated successfully.
сен 11 14:31:41 okcomputer systemd[1]: Stopped DNS-over-HTTPS Client.
сен 11 14:31:41 okcomputer systemd[1]: Started DNS-over-HTTPS Client.
сен 11 14:31:41 okcomputer systemd[1]: Stopping DNS-over-HTTPS Client...
сен 11 14:31:41 okcomputer systemd[1]: doh-client.service: Deactivated successfully.
сен 11 14:31:41 okcomputer systemd[1]: Stopped DNS-over-HTTPS Client.
сен 11 14:31:41 okcomputer systemd[1]: doh-client.service: Start request repeated too quickly.
сен 11 14:31:41 okcomputer systemd[1]: doh-client.service: Failed with result 'start-limit-hit'.
сен 11 14:31:41 okcomputer systemd[1]: Failed to start DNS-over-HTTPS Client.
# Here I restart it manually and it starts working fine
сен 11 19:08:26 okcomputer systemd[1]: Started DNS-over-HTTPS Client.

Tell me if any additional info is needed, thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions