-
-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid QR code #166
Comments
Huh.. this is weird, what is the output of the QR code? |
Done |
This is what I got when I scan it |
Fascinating, I'm running official WireGuard client from Google Play, and it fails to decode this. Decoding also fails with Binary Eye which usually outputs the contents of QR codes as is. |
This is interesting lol, I never had this problem since i'm using an iOS device. I will look into it. |
What is the output of the qrcode when you use a normal scanner? |
Hi I've noticed that there are some part of the QR code did not show, around the border, could you try right click and save the qrcode and scan it again with wireguard? I used an android device to scan my own qrcode and it worked. |
No dice. Still the same issue. I think this is a problem with the library used by WireGuard client, ZXing which fails to recognize this as a QR code. Binary Eye: UPC-E code @donaldzou what phone did you use, what Android version? what WireGuard application version? |
I was using a XiaoMi phone, android 11 and the newest wireguard version (just downloaded from playstore) |
I created another peer for my Galaxy S10, and it has the same problem when using the WireGuard application. There must be some kind of issue with the way it deals with QR code recognition... |
Yes, the the qrcode on your side should looks similar to mine, you mind telling me what browser your are using? |
Firefox 98.0.2 under Windows 10 |
Exactly the same issue happens when I go to the dashboard using my phone. At this point I consider it a problem with my installation. |
do you mind to do |
|
This is very interesting... Python should have a same output across all different OS, that's why I choose to use python on this project... I will look into this... |
Or maybe do a fresh install? If you want to |
I've encountered an issue with scanning a QR code on a dark theme. It appears that adding white margins around the QR code is necessary. |
Describe The Problem
Android WireGuard client refuses to import via QR code with
WireGuard/TunnelImporter: Couldn't import tunnel: unkown section in Config
I also tried scanning the QR code using https://play.google.com/store/apps/details?id=de.markusfisch.android.binaryeye&hl=pl&gl=US which yields
03048812
instead of the configuration file as one would expectThe text was updated successfully, but these errors were encountered: