Skip to content

[Bug]: hysteria-server starts before wg-quick@wgcf if WARP is enabled and fails to start as a result. #427

@shogun-kub

Description

@shogun-kub

What system are you using?

Debian 12

What version are you using?

v2.8.1

What went wrong?

There is no dependency between hysteria-server and wg-quick@wgcf and as a result, on reboot hysteria-server can try to add a route through (yet) non-existing wireguard interface with log message:

hysteria[604]: 2026-04-13T00:24:47+03:00 FATAL failed to load server config {"error": "route ip+net: no such network interface"}

And fail to start automatically.

Any other helpful information?

I've solved it by adding an override:

(hysteria2_venv) ➜  ~ cat /etc/systemd/system/hysteria-server.service.d/override.conf
[Unit]
After=wg-quick@wgcf.service
Requires=wg-quick@wgcf.service

But it's a good idea to modify a service file for hysteria-server when adding warp (or add this override automatically).

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions