Development discussion of WireGuard
 help / color / mirror / Atom feed
* wireguard-android: tunnel not working after reboot
@ 2021-05-26 10:47 lists.zx2c4.com.486782
  2021-05-26 14:33 ` Jason A. Donenfeld
  0 siblings, 1 reply; 4+ messages in thread
From: lists.zx2c4.com.486782 @ 2021-05-26 10:47 UTC (permalink / raw)
  To: wireguard

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

Hello,

When setting up a WireGuard tunnel as Always-on VPN and verifying it works, it stops working after a reboot. In order to make it work again, it must be disconnected and reconnected manually in either Android settings or WireGuard app.

I am not sure whether this is a WireGuard or Android/LineageOS bug, but Always-on VPN works fine with OpenVPN.

Environment:

Device: Nexus 5X
OS: LineageOS 15.1 (Android 8.1.0)
WireGuard app version: 1.0.20210506

Steps to reproduce:

1. Setup a new tunnel in WireGuard app and enable it
2. Verify the tunnel works
3. Set WireGuard as Always-on VPN in Android settings (i.e. Settings > Network > Internet > VPN)
4. Reboot device

Expected behavior:

VPN tunnel should work normally.

Actual behavior:

VPN tunnel doesn't work. Log extract:

05-26 11:56:50.068  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:56:50.069  6186  6327 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:56:55.168  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 10)

Attached are WireGuard app's log and configuration.

Thank you.

[-- Attachment #2: wireguard-log.txt --]
[-- Type: text/plain, Size: 21486 bytes --]

--------- beginning of main
05-26 11:55:47.800  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 2)
05-26 11:55:47.800  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:55:47.802  6186  6327 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:55:52.984  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 3)
05-26 11:55:52.984  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:55:52.986  6186  6327 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:55:58.237  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 2)
05-26 11:55:58.237  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:55:58.239  6186  6327 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:56:03.563  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 2)
05-26 11:56:03.564  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:56:03.566  6186  6304 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:56:08.645  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 2)
05-26 11:56:08.645  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:56:08.647  6186  6304 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:56:13.952  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 2)
05-26 11:56:13.952  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:56:13.954  6186  6327 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:56:19.096  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 3)
05-26 11:56:19.097  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:56:19.098  6186  6304 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:56:24.240  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 4)
05-26 11:56:24.240  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:56:24.242  6186  6304 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:56:29.533  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 5)
05-26 11:56:29.533  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:56:29.536  6186  6304 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:56:34.803  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 6)
05-26 11:56:34.803  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:56:34.805  6186  6327 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:56:39.882  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 7)
05-26 11:56:39.882  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:56:39.884  6186  6304 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:56:44.993  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 8)
05-26 11:56:44.993  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:56:44.995  6186  6327 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:56:50.067  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 9)
05-26 11:56:50.068  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:56:50.069  6186  6327 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:56:55.168  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 10)
05-26 11:56:55.168  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:56:55.170  6186  6327 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:57:00.190  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 11)
05-26 11:57:00.190  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:57:00.192  6186  6304 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:57:05.288  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 2)
05-26 11:57:05.288  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:57:05.294  6186  6327 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:57:10.968  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 3)
05-26 11:57:10.968  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:57:10.979  6186  6304 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:57:19.454  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 2)
05-26 11:57:19.454  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:57:19.457  6186  6327 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:57:24.682  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 2)
05-26 11:57:24.682  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:57:24.685  6186  6304 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:57:29.983  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 3)
05-26 11:57:29.983  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:57:29.990  6186  6327 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:57:35.055  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 4)
05-26 11:57:35.056  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:57:35.062  6186  6304 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:57:40.347  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 5)
05-26 11:57:40.347  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:57:40.353  6186  6327 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:57:45.665  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 6)
05-26 11:57:45.665  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:57:45.672  6186  6304 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:57:50.880  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 7)
05-26 11:57:50.880  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:57:50.882  6186  6327 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:57:56.014  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 8)
05-26 11:57:56.014  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:57:56.016  6186  6304 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
--------- beginning of events
05-26 11:57:57.896  6186  6186 I am_on_resume_called: [0,com.wireguard.android.activity.MainActivity,LAUNCH_ACTIVITY]
05-26 11:57:57.934  6186  9894 I Adreno  : QUALCOMM build                   : 8e59954, I0be83d0d26
05-26 11:57:57.934  6186  9894 I Adreno  : Build Date                       : 09/22/17
05-26 11:57:57.934  6186  9894 I Adreno  : OpenGL ES Shader Compiler Version: EV031.21.02.00
05-26 11:57:57.934  6186  9894 I Adreno  : Local Branch                     : O17A
05-26 11:57:57.934  6186  9894 I Adreno  : Remote Branch                    : 
05-26 11:57:57.934  6186  9894 I Adreno  : Remote Branch                    : 
05-26 11:57:57.934  6186  9894 I Adreno  : Reconstruct Branch               : 
05-26 11:57:57.937  6186  9894 D vndksupport: Loading /vendor/lib64/hw/gralloc.msm8992.so from current namespace instead of sphal namespace.
05-26 11:57:57.958  6186  9894 I Adreno  : PFP: 0x00000000, ME: 0x00000000
05-26 11:57:57.966  6186  9894 I zygote64: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
05-26 11:57:57.985  6186  9894 I OpenGLRenderer: Initialized EGL, version 1.4
05-26 11:57:57.985  6186  9894 D OpenGLRenderer: Swap behavior 2
05-26 11:57:58.042  6186  9894 D vndksupport: Loading /vendor/lib64/hw/android.hardware.graphics.mapper@2.0-impl.so from current namespace instead of sphal namespace.
05-26 11:57:58.046  6186  9894 D vndksupport: Loading /vendor/lib64/hw/gralloc.msm8992.so from current namespace instead of sphal namespace.
05-26 11:57:58.291  6186  6188 I zygote64: Do partial code cache collection, code=29KB, data=29KB
05-26 11:57:58.291  6186  6188 I zygote64: After code cache collection, code=29KB, data=29KB
05-26 11:57:58.291  6186  6188 I zygote64: Increasing code cache capacity to 128KB
05-26 11:57:59.854  6186  6186 I menu_item_selected: [0,Settings]
05-26 11:57:59.877  6186  6186 I am_on_paused_called: [0,com.wireguard.android.activity.MainActivity,handlePauseActivity]
05-26 11:57:59.976  6186  6186 I am_on_resume_called: [0,com.wireguard.android.activity.SettingsActivity,LAUNCH_ACTIVITY]
05-26 11:58:00.023  6186  6188 I zygote64: Do partial code cache collection, code=56KB, data=53KB
05-26 11:58:00.023  6186  6188 I zygote64: After code cache collection, code=56KB, data=53KB
05-26 11:58:00.023  6186  6188 I zygote64: Increasing code cache capacity to 256KB
05-26 11:58:00.049  6186  6186 I zygote64: Deoptimizing android.view.View androidx.appcompat.app.AppCompatDelegateImpl.onCreateView(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) due to JIT inline cache
05-26 11:58:00.160  6186  9894 D OpenGLRenderer: endAllActiveAnimators on 0x73409ac800 (RippleDrawable) with handle 0x73401791e0
05-26 11:58:00.516  6186  6186 I am_on_stop_called: [0,com.wireguard.android.activity.MainActivity,handleStopActivity]
05-26 11:58:01.077  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 9)
05-26 11:58:01.077  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:58:01.080  6186  6327 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:58:01.352  6186  6186 I am_on_paused_called: [0,com.wireguard.android.activity.SettingsActivity,handlePauseActivity]
05-26 11:58:01.408  6186  6186 I am_on_resume_called: [0,com.wireguard.android.activity.LogViewerActivity,LAUNCH_ACTIVITY]
05-26 11:58:01.504  6186  9894 D OpenGLRenderer: endAllActiveAnimators on 0x734087cc00 (RippleDrawable) with handle 0x7340882fe0
05-26 11:58:01.578  6186  6188 I zygote64: Do full code cache collection, code=122KB, data=102KB
05-26 11:58:01.578  6186  6188 I zygote64: After code cache collection, code=115KB, data=74KB
05-26 11:58:01.662  6186  6188 I zygote64: Do partial code cache collection, code=121KB, data=77KB
05-26 11:58:01.662  6186  6188 I zygote64: After code cache collection, code=121KB, data=77KB
05-26 11:58:01.662  6186  6188 I zygote64: Increasing code cache capacity to 512KB
05-26 11:58:01.700  6186  6186 I zygote64: Deoptimizing androidx.recyclerview.widget.RecyclerView$ViewHolder androidx.recyclerview.widget.RecyclerView.getChildViewHolderInt(android.view.View) due to JIT inline cache
05-26 11:58:01.871  6186  6188 I zygote64: Compiler allocated 4MB to compile void androidx.constraintlayout.widget.ConstraintLayout.onMeasure(int, int)
05-26 11:58:01.903  6186  6186 I am_on_stop_called: [0,com.wireguard.android.activity.SettingsActivity,handleStopActivity]
05-26 11:58:01.957  6186  6188 I zygote64: Compiler allocated 5MB to compile void androidx.constraintlayout.solver.widgets.ConstraintWidgetContainer.layout()
05-26 11:58:02.101  6186  6188 I zygote64: Do full code cache collection, code=253KB, data=169KB
05-26 11:58:02.102  6186  6188 I zygote64: After code cache collection, code=201KB, data=117KB
05-26 11:58:05.562  6186  6188 I zygote64: Do partial code cache collection, code=250KB, data=163KB
05-26 11:58:05.563  6186  6188 I zygote64: After code cache collection, code=248KB, data=163KB
05-26 11:58:05.563  6186  6188 I zygote64: Increasing code cache capacity to 1024KB
05-26 11:58:06.371  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 10)
05-26 11:58:06.371  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:58:06.374  6186  6304 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:58:10.251  6186  6186 I zygote64: Deoptimizing void androidx.appcompat.widget.AppCompatBackgroundHelper.applySupportBackgroundTint() due to JIT inline cache
05-26 11:58:10.313  6186  6186 I menu_item_selected: [0,Export log file]
05-26 11:58:10.392  6186  6186 I am_on_paused_called: [0,com.wireguard.android.activity.LogViewerActivity,handlePauseActivity]
05-26 11:58:11.645  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 11)
05-26 11:58:11.645  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:58:11.648  6186  6327 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:58:11.951  6186  6186 I am_on_resume_called: [0,com.wireguard.android.activity.LogViewerActivity,RESUME_ACTIVITY]
05-26 11:58:11.964  6186  6186 I zygote64: Deoptimizing void androidx.appcompat.widget.AppCompatTextView.<init>(android.content.Context, android.util.AttributeSet, int) due to JIT inline cache
05-26 11:58:11.966  6186  6186 I zygote64: Deoptimizing void com.google.android.material.textview.MaterialTextView.<init>(android.content.Context, android.util.AttributeSet) due to JIT inline cache
05-26 11:58:11.975  6186  6186 I zygote64: Deoptimizing android.util.TypedValue com.google.android.material.R$style.resolve(android.content.Context, int) due to JIT inline cache
05-26 11:58:16.164  6186  6186 I am_on_paused_called: [0,com.wireguard.android.activity.LogViewerActivity,handlePauseActivity]
05-26 11:58:16.264  6186  6186 I am_on_stop_called: [0,com.wireguard.android.activity.LogViewerActivity,handleStopActivity]
05-26 11:58:16.893  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 12)
05-26 11:58:16.894  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:58:16.896  6186  6304 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:58:21.987  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 13)
05-26 11:58:21.987  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:58:21.989  6186  6327 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:58:27.053  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 14)
05-26 11:58:27.053  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:58:27.055  6186  6304 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:58:32.297  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 15)
05-26 11:58:32.297  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:58:32.299  6186  6327 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:58:37.463  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 16)
05-26 11:58:37.463  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:58:37.465  6186  6304 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:58:42.586  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 17)
05-26 11:58:42.586  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:58:42.588  6186  6327 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:58:47.745  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 18)
05-26 11:58:47.745  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:58:47.748  6186  6327 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:58:52.967  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 19)
05-26 11:58:52.967  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:58:52.970  6186  6304 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:58:58.167  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 5 seconds, retrying (try 20)
05-26 11:58:58.167  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:58:58.171  6186  6327 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:59:03.424  6186  6304 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Handshake did not complete after 20 attempts, giving up
05-26 11:59:23.329  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending keepalive packet
05-26 11:59:23.329  6186  6327 D WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Sending handshake initiation
05-26 11:59:23.333  6186  6327 E WireGuard/GoBackend/pluto: peer(i8Gy…i2D8) - Failed to send handshake initiation: no known endpoint for peer
05-26 11:59:24.342  6186  6186 I am_on_resume_called: [0,com.wireguard.android.activity.LogViewerActivity,RESUME_ACTIVITY]
05-26 11:59:27.492  6186  6186 I menu_item_selected: [0,Export log file]

[-- Attachment #3: wireguard-export.conf --]
[-- Type: text/plain, Size: 235 bytes --]

[Interface]
Address = 10.6.0.2/24
DNS = 1.1.1.1, 192.71.245.208
PrivateKey = [omitted]

[Peer]
AllowedIPs = 192.168.1.0/24, 10.6.0.0/24
Endpoint = [omitted]:52999
PersistentKeepalive = 25
PreSharedKey = [omitted]
PublicKey = [omitted]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: wireguard-android: tunnel not working after reboot
  2021-05-26 10:47 wireguard-android: tunnel not working after reboot lists.zx2c4.com.486782
@ 2021-05-26 14:33 ` Jason A. Donenfeld
       [not found]   ` <bLrNvJdSf_UdV1e-d8nQ_4dNnzP0I7DhX2NPIFkVs93k7herY4-36gEJDPhcST5F_Z-A2F0aTPxU-Di4p9R3FgynPsVH-4jAtR2lfTZnRJs=@postermail.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Jason A. Donenfeld @ 2021-05-26 14:33 UTC (permalink / raw)
  To: lists.zx2c4.com.486782; +Cc: wireguard

Does your endpoint contain a DNS hostname rather than an IP, perchance?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: wireguard-android: tunnel not working after reboot
       [not found]   ` <bLrNvJdSf_UdV1e-d8nQ_4dNnzP0I7DhX2NPIFkVs93k7herY4-36gEJDPhcST5F_Z-A2F0aTPxU-Di4p9R3FgynPsVH-4jAtR2lfTZnRJs=@postermail.com>
@ 2021-05-26 15:06     ` Jason A. Donenfeld
  2021-05-26 16:06       ` Jason A. Donenfeld
  0 siblings, 1 reply; 4+ messages in thread
From: Jason A. Donenfeld @ 2021-05-26 15:06 UTC (permalink / raw)
  To: lists.zx2c4.com.486782; +Cc: WireGuard mailing list

On Wed, May 26, 2021 at 4:57 PM <lists.zx2c4.com.486782@postermail.com> wrote:
>
> Yes, it does. Unfortunately, the endpoint has a dynamic IP address, so I am stuck with that.
>
> Is there anything I can do about it?

Probably not, but it does explain the error well, which means I can
likely fix the bug. Thanks for the report.

Jason

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: wireguard-android: tunnel not working after reboot
  2021-05-26 15:06     ` Jason A. Donenfeld
@ 2021-05-26 16:06       ` Jason A. Donenfeld
  0 siblings, 0 replies; 4+ messages in thread
From: Jason A. Donenfeld @ 2021-05-26 16:06 UTC (permalink / raw)
  To: lists.zx2c4.com.486782; +Cc: WireGuard mailing list, Harsh Shandilya

Kind of terrible (for the reasons mentioned within), but:
https://git.zx2c4.com/wireguard-android/commit/?id=d139fd0c5cabe2db496e78477fdf57142ce97a36

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-26 16:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-26 10:47 wireguard-android: tunnel not working after reboot lists.zx2c4.com.486782
2021-05-26 14:33 ` Jason A. Donenfeld
     [not found]   ` <bLrNvJdSf_UdV1e-d8nQ_4dNnzP0I7DhX2NPIFkVs93k7herY4-36gEJDPhcST5F_Z-A2F0aTPxU-Di4p9R3FgynPsVH-4jAtR2lfTZnRJs=@postermail.com>
2021-05-26 15:06     ` Jason A. Donenfeld
2021-05-26 16:06       ` Jason A. Donenfeld

Development discussion of WireGuard

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ http://inbox.vuxu.org/wireguard \
		wireguard@lists.zx2c4.com
	public-inbox-index wireguard

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.wireguard


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git