You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the Docker method, wg-manager has been running just fine.
However, on server reboots, it wouldn't always work. I was never able to trace the root cause. The web server came up, the wg0 interface showed green, everything seemed to work. Except clients couldn't connect.
My conclusion is that there's some sort of network race condition, but it's not making a lot of sense why. My solution is crude, but it works. I delayed Docker's start by 30 seconds.
In an Ubuntu host, I edited: /etc/systemd/system/multi-user.target.wants/docker.service
under [Service] right before ExecStart, I added ExecStartPre=/bin/sleep 30
The delay is definitely a band-aid that shouldn't be needed, but hopefully it helps someone.
The text was updated successfully, but these errors were encountered:
Using the Docker method, wg-manager has been running just fine.
However, on server reboots, it wouldn't always work. I was never able to trace the root cause. The web server came up, the wg0 interface showed green, everything seemed to work. Except clients couldn't connect.
My conclusion is that there's some sort of network race condition, but it's not making a lot of sense why. My solution is crude, but it works. I delayed Docker's start by 30 seconds.
In an Ubuntu host, I edited:
/etc/systemd/system/multi-user.target.wants/docker.service
under
[Service]
right beforeExecStart
, I addedExecStartPre=/bin/sleep 30
The delay is definitely a band-aid that shouldn't be needed, but hopefully it helps someone.
The text was updated successfully, but these errors were encountered: