Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Maximilian Eschenbacher <maximilian@eschenbacher.email>
To: wireguard@lists.zx2c4.com
Subject: Wireguard on android w/o kernel module
Date: Fri, 1 Jun 2018 18:38:53 +0200	[thread overview]
Message-ID: <20180601163852.bjlmnqjeqd5eidvo@kajt.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 3502 bytes --]

Good day to all of you,

I'm using wireguard version 0.0.20180601 from google play store on a
stock BQ Aquaris X with android version 8.1 without the wireguard kernel
module.

I am unable to start any tunnels. Every time I am trying to do so there
is a window which tells me: "Error brining up tunnel: VPN service not
authorized by user". I have been looking around the android settings
because this sounds like a configuration issue which I could be able to
solve as an end user, however, I didn't turn up anything useful.

Here's the `adb logcat` output:

06-01 18:27:03.518  6265  6906 D WireGuard/GoBackend: Changing tunnel test1 to state UP
06-01 18:27:03.519  6265  6906 I WireGuard/GoBackend: Bringing tunnel up
06-01 18:27:03.542  6265  6265 E WireGuard/b: Error bringing up tunnel: VPN service not authorized by user
06-01 18:27:03.542  6265  6265 E WireGuard/b: b.b.a.b: java.lang.Exception: VPN service not authorized by user
06-01 18:27:03.542  6265  6265 E WireGuard/b: 	at b.b.a.a.d(Unknown Source:19)
06-01 18:27:03.542  6265  6265 E WireGuard/b: 	at b.b.a.a.e(Unknown Source:4)
06-01 18:27:03.542  6265  6265 E WireGuard/b: 	at b.b.a.a$n.a(Unknown Source:18)
06-01 18:27:03.542  6265  6265 E WireGuard/b: 	at b.b.a.a.b(Unknown Source:35)
06-01 18:27:03.542  6265  6265 E WireGuard/b: 	at b.b.a.a.c(Unknown Source:15)
06-01 18:27:03.542  6265  6265 E WireGuard/b: 	at com.wireguard.android.e.a.a(Unknown Source:0)
06-01 18:27:03.542  6265  6265 E WireGuard/b: 	at com.wireguard.android.e.e.run(Unknown Source:4)
06-01 18:27:03.542  6265  6265 E WireGuard/b: 	at android.os.Handler.handleCallback(Handler.java:790)
06-01 18:27:03.542  6265  6265 E WireGuard/b: 	at android.os.Handler.dispatchMessage(Handler.java:99)
06-01 18:27:03.542  6265  6265 E WireGuard/b: 	at android.os.Looper.loop(Looper.java:164)
06-01 18:27:03.542  6265  6265 E WireGuard/b: 	at android.app.ActivityThread.main(ActivityThread.java:6518)
06-01 18:27:03.542  6265  6265 E WireGuard/b: 	at java.lang.reflect.Method.invoke(Native Method)
06-01 18:27:03.542  6265  6265 E WireGuard/b: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
06-01 18:27:03.542  6265  6265 E WireGuard/b: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
06-01 18:27:03.542  6265  6265 E WireGuard/b: Caused by: java.lang.Exception: VPN service not authorized by user
06-01 18:27:03.542  6265  6265 E WireGuard/b: 	at com.wireguard.android.backend.GoBackend.a(Unknown Source:25)
06-01 18:27:03.542  6265  6265 E WireGuard/b: 	at com.wireguard.android.backend.GoBackend.a(Unknown Source:74)
06-01 18:27:03.542  6265  6265 E WireGuard/b: 	at com.wireguard.android.d.b.b(Unknown Source:2)
06-01 18:27:03.542  6265  6265 E WireGuard/b: 	at com.wireguard.android.d.w.a(Unknown Source:6)
06-01 18:27:03.542  6265  6265 E WireGuard/b: 	at com.wireguard.android.e.a.a(Unknown Source:0)
06-01 18:27:03.542  6265  6265 E WireGuard/b: 	at com.wireguard.android.e.c.run(Unknown Source:6)
06-01 18:27:03.542  6265  6265 E WireGuard/b: 	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
06-01 18:27:03.542  6265  6265 E WireGuard/b: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
06-01 18:27:03.542  6265  6265 E WireGuard/b: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
06-01 18:27:03.542  6265  6265 E WireGuard/b: 	at java.lang.Thread.run(Thread.java:764)

Am I missing something obvious?

Best regards

Max

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

             reply	other threads:[~2018-06-01 16:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-01 16:38 Maximilian Eschenbacher [this message]
2018-06-01 16:42 ` Jason A. Donenfeld
2018-06-01 16:54   ` Maximilian Eschenbacher
2018-06-02 21:43     ` Jose Marinez
2018-06-02 21:49       ` Jason A. Donenfeld
2018-06-02 22:02         ` Jose Marinez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180601163852.bjlmnqjeqd5eidvo@kajt.de \
    --to=maximilian@eschenbacher.email \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).