Closed gq5q92t724dctp494wy closed 1 year ago
Not what exactly changed between 0.7.43 and 0.7.45 to trigger this error now and not before. But this fix should sovle the problem. I uploaded a prebuilt of the next version with that patch to OpenVPN already applied. Can you test if that fixes the problem for you?
Dear Schwabe, thank you for the quick reply and for trying to help me. Unfortunately, I can't say why this has been happening since v0.7.45 and not before. I wanted to test your patched Apk right away, but this one doesn't work at all. Sorry for the bad feedback, maybe you could take another look into the piece of patch? ;-|
2023-07-11 14:51:58 official build 0.7.46 running on google Nexus 5 (hammerhead), Android 11 (RQ3A.211001.001) API 30, ABI armeabi-v7a, (google/hammerhead/hammerhead:6.0.1/M4B30Z/3437181:user/release-keys)
2023-07-11 14:51:58 Building configuration…
2023-07-11 14:51:58 Fetched VPN profile (Home) triggered by main profile list
2023-07-11 14:51:58 Scheduling VPN keep alive for VPN Home
2023-07-11 14:51:58 started Socket Thread
2023-07-11 14:51:58 P:WARNING: linker: Warning: "/data/app/~~fTDTaSJScIOVkSto-J76eg==/de.blinkt.openvpn-ASiYUVGwNlQFwXCeNkEjWQ==/lib/arm/libovpnexec.so" is not a directory (ignoring)
2023-07-11 14:51:58 Network Status: CONNECTED to WIFI
2023-07-11 14:51:58 Debug state info: CONNECTED to WIFI , pause: userPause, shouldbeconnected: true, network: SHOULDBECONNECTED
2023-07-11 14:51:58 Debug state info: CONNECTED to WIFI , pause: userPause, shouldbeconnected: true, network: SHOULDBECONNECTED
2023-07-11 14:51:58 Current Parameter Settings:
2023-07-11 14:51:58 Error reading from output of OpenVPN process: OpenVpn process was killed form java code
java.lang.InterruptedException: OpenVpn process was killed form java code
at de.blinkt.openvpn.core.OpenVPNThread.startOpenVPNThreadArgs(OpenVPNThread.java:179)
at de.blinkt.openvpn.core.OpenVPNThread.run(OpenVPNThread.java:76)
at java.lang.Thread.run(Thread.java:923)
2023-07-11 14:51:58 Waiting 0s seconds between connection attempt
2023-07-11 14:51:58 Unscheduling VPN keep alive
@schwabe i have to make a feedback. After your uploaded Apk "v0.7.47pre" not worked anyway, i did build the Apk by myself from the latest ics-openvpn v0.7.46 and OpenVPN v0.7.45 with your Patch . This App is working successfully and has no fatal issues anymore, disconnect manually and with keepalive-timeout just work both. Thank you so much for your great work and showed me the way how to fix this issue. I will use my own build until v0.7.47 is released, without crash, maybe resulting from recent changes on source.
General information
Description of the issue
Info in advance: The error occurs with version v0.7.45 and higher, with version v0.7.43 and older everything was fine. This issue appears on every devices at my home, with and without custom roms.
Anytime the VPN-Connection is closed, be it manually or via keepalive-timeout, the VPN-Session crashes with a fatal error. The app is then no longer able to reconnect in the event of a timeout, the app remains crashed and has to be manually connected again. There seems to be an error with deleting the specific route "::/3", of course this doesn't work on Android but this was bypassed earlier with the error message "Sorry, deleting routes on Android is not possible. The VpnService API allows routes to be set on connect only.". Since v0.7.45 this doesn't happen anymore and results in "Exiting due to fatal error". This issue will not be known as almost nobody does IPv6 routing actually. Thanks for your support and this nice App, keep developing.
Log
Server_Conf
Client_Conf