Open Azureit opened 3 years ago
I have the same issue. I try to generate the WireGuard configuration base on this project, and using the config on GL.iNet router, it works. But when the router disconnect the WireGuard, after 2 minutes, try to reconnect, it will give up connecting. Anyone know how to fix this? Do I need to call the disconnect API?
My workaround at the file hide.me.go, is replace the "break" at line 155 by "continue connectLoop" Test if it works for you too.
From time to time I reboot my router (crappy ISP/router), it takes 3 minutes to have internet again, and this client will give up reconnecting.
My workaround/fix at hide.me.go