I finally restarted my Chromebook to apply the ChromeOS 94 update, and I can now no longer use my Wireguard VPN via the Android app. The VPN connects, but then anything going over the VPN times out and won’t connect.
It doesn’t look like routes are getting added properly or something? Has anyone else experienced this same issue? Using the same config on my Android phone works fine, so it seems to be an issue with ChromeOS and the Android subsystem?
I use surfshark and have no issues. Might be wiregaurd specific. i would check your google dns settings under “Privacy and security” Try some different dns hosts and see if that might be the issue.
My VPN also has no problem at all. Just another thing for you to try, have you checked the connection methods for your specific Wi-Fi hot-spot in the Wi-Fi setting? Sometimes it gets defaulted to connection through some kind of proxy and that could interfere with a lot if things such as VPN.
I was able to solve the problem by uninstalling the wireguard app and then rebooting the Chromebook and installing wireguard again.
ChromeOS 96.0.4664.77(Official Build)WireGuard V1.0.20211029
Same problem for me, ChromeOS v96.0.4664.111 and wireguard android app v1.0.20211029. Thanks for the tip about rebooting, that works for me also (until sleep-mode again). Not sure if it started after ChromeOS update or wireguard client update.
Late to the party, but it still isn’t fixed. Reboot worked for me though, so thanks to all for that suggestion! Annoying for sure. Hopefully this mainboard gets supported by Mr. Chromebox soon so I can wipe this miserable OS off here and put a real Linux on it.
When I put my Chromebook to sleep and then come back to it, it acts like the packets are jammed in other Android apps. So I end up using Terminal.adb shell reboot nowin the terminal to reboot the Android emulator itself and then re-launch the wireguard app.No big deal.
It looks like sometimes after a reboot I can get it to connect until I suspend/resume. After that it won’t connect again (the wireguard server shows no handshake). So it definitely seems like something with ChromeOS.
I tried this but it unfortunately didn’t fix the issue. Can’t get it to connect at all now. The Pixelbook is still on ChromeOS 94 (just checked again), so maybe when it gets 96 it’ll fix it…
I just had to downgrade to an older version, then disable automatic updates for it. It’s apparently either something with the Wireguard app, or maybe they changed the target SDK and that broke it.
Downgrading the app works. Maybe whenever Wireguard releases an update it will fix it, but for now reverting to the version posted in the other comments works.
Ohhh that’s weird, do you have dev mode on? You can try iwconfig and a few other tools in the dev console when it’s not working to try to figure out what is going on.
After that, I confirmed that once the Chromebook came back from sleep, it would not connect to the Internet via Wireguard. There is definitely something wrong.
Yeah I do. It looks like no routes are getting added for the VPN. But since the VPN server doesn’t see a handshake, it must fail earlier than that step and never actually connects, even though ChromeOS and the app itself both seem to think that it has.
I hit this same problem today and uninstall+reboot+reinstall seemed to fix it. Simply uninstalling and reinstalling wasn’t enough. I’ve now restarted a few times and slept it once and it seems OK. At least there’s a way to make it work somehow.
Edit: the VPN fails after a sleep, still. v1.0.20211029.
Downgrade Wireguard on the Chromebook. I think the working version is 1.0.200210926, but I’m traveling right now and don’t have my chromebook with me to check. I uninstalled the current version, then downloaded it from apkmirror or a similar site and manually installed it. Then disabled automatic updates to keep it on that version.
If that version doesn’t work, use the next oldest version.