Blokada 5 unreliable on Pixel 6a

I have been using Blokada for many years and it was running (nearly) flawlessly on my Pixel 4a 5g. I now have a Pixel 6a and Blokada gets stuck at least once a day where all DNS traffic is blocked until I restart Blokada.

The problem doesn’t happen while I’m actively using the device but, at least once a day, when I unlock it I will find that all network calls will time out (Chrome complains about a DNS probe problem). Blokada is still running, the power icon is blue and the notification lock symbol is on the right next to wifi. I then stop Blokada and start it again and everything will work normally again.

I’m running…

  • Blokada 5 (22.3.7), downloaded from the blokada.org website
  • Stock Android 12 (latest for the 6a)
  • Keep alive on
  • Ping networks on
  • Cloudflare DNS
  • Encrypt DNS on
  • Private DNS off
  • Always-on VPN on
  • Block connections without VPN off
  • Verizon 5g
  • WiFi when at home (which is most of the time)

The logs, dumped below, seem to indicate that the device has lost all connectivity when it hasn’t. Cell and wifi signals are perfectly reliable when I’m at home. I suspect aggressive power management on the Pixel 6a is confusing Blokada. The log was captured while in the fail state and with good cell and wifi connectivity.

19:20:09.359   Connectivi New default route through network: 570341380109
19:20:09.362   Cloud      PrivateDNS changed: null
19:20:09.373   Connectivi Network is now default: 570341380109 = (Verizon, type=CELLULAR)
19:20:09.378 W PacketLoop Connectivity changed, loop was running, restarting it
19:20:09.382 W PacketLoop Packet loop stopped unexpectedly
19:20:09.383 W PacketLoop Device is online, bringing packet loop back
19:20:09.394   Log        Adding onShareLog callback for PLForwarder
19:20:09.395   Metrics    Started metrics
19:20:09.396   PLLibre    Started packet loop thread: 72338600
19:20:09.398   Processing [refreshDeviceInfo]
19:20:09.548   PLLibre    Tunnel thread 260817483 interrupted, stopping
19:20:09.549   PLLibre    Cleaning up resources: Thread[PacketLoopForLibre,5,main]
19:20:09.549   PLForwarde Forwarder closed all remaining sockets: 1
19:20:09.689   Connectivi Network lost: 570341380109 = (Verizon, type=CELLULAR)
19:20:09.690   Connectivi Lost default network, no connectivity
19:20:09.904   Tasker     refreshDeviceInfo: true, ordinal: 3
19:20:10.045   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 58ms/0/0
19:20:10.976   Doze       Doze changed: true
19:20:10.976   Connectivi Doze active, no connectivity
19:20:10.979   Processing []
19:20:14.465   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 93ms/0/0
19:20:19.417   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 34ms/0/0
19:30:00.785   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 111ms/0/0
19:54:41.110   ScreenOn   Received Screen ON
19:54:41.111 W PacketLoop Connectivity changed, loop was running, restarting it
19:54:41.111 W PacketLoop Packet loop stopped unexpectedly
19:54:41.112 W PacketLoop Device is offline, not bringing packet loop back for now
19:54:41.236   Connectivi Doze active, no connectivity
19:54:49.734   PLLibre    Tunnel thread 72338600 interrupted, stopping
19:54:49.735   PLLibre    Cleaning up resources: Thread[PacketLoopForLibre,5,main]
19:54:49.735   PLForwarde Forwarder closed all remaining sockets: 0
19:54:53.723   Connectivi Doze active, no connectivity
19:54:53.915   Doze       Doze changed: false
19:55:24.962 W MainActivi onResume: ui.MainActivity@b291a62
19:55:24.962   Blocka     Querying tunnel status
19:55:24.964   Processing [refreshStats]
19:55:24.964   Perms      DNS profile: false, notifications: false
19:55:24.983   Account    Account is stale, refreshing
19:55:24.984   Account    Refreshing account
19:55:25.204   Account    Account refreshed, active: false, type: 
19:55:25.266   Tasker     refreshStats: true, ordinal: 3
19:55:25.563   Processing []
19:55:25.801   Blocka     Requested to stop tunnel
19:55:25.802   Engine     Updating engine config
19:55:25.802   Engine     Reloading engine, config: (enabled=false, dns=cloudflare, doh=true, gw=null) for (null, type=FALLBACK)
19:55:25.802   PacketLoop Requested to stop packet loop
19:55:25.802   BlockaDns  Stopping DoH DNS proxy
19:55:25.808   SystemTunn Received a request to close tunnel
19:55:25.809   SystemTunn Binding SystemTunnel
19:55:25.813   Processing [plusWorking]
19:55:25.818   AdsCounter Rolling ads counter: 55455
19:55:25.834   SystemTunn Bound SystemTunnel
19:55:25.835   SystemTunn Tunnel turnOff() called
19:55:25.835   SystemTunn Closing tunnel descriptors
19:55:25.875 W Engine     Waiting after stopping system tunnel, before another start
19:55:29.878   Processing []
19:55:29.907   Blocka     Tunnel stopped successfully
19:55:30.646   Blocka     Requested to start tunnel
19:55:30.647   Engine     Updating engine config
19:55:30.648   Engine     Reloading engine, config: (enabled=true, dns=cloudflare, doh=true, gw=null) for (null, type=FALLBACK)
19:55:30.650   DnsMapper  Using DNS configuration [DoH/PlusMode: true/false]: Dns(id='cloudflare', ips=[1.1.1.1, 1.0.0.1, 2606:4700:4700::1111, 2606:4700:4700::1001], plusIps=null, canUseInCleartext=true)
19:55:30.651   DnsMapper  Using DNS: [/1.1.1.1, /1.0.0.1]
19:55:30.651   DnsMapper  Will use DNS over HTTPS
19:55:30.651   BlockaDns  Starting DoH DNS proxy
19:55:30.723   SystemTunn Received a request to open tunnel
19:55:30.723   SystemTunn Tunnel turnOn() called
19:55:30.724   STConfigur Configuring VPN for Libre mode
19:55:30.724   STConfigur Using IP: 203.0.113.69
19:55:30.724   STConfigur Adding DNS server: /1.1.1.1
19:55:30.724   STConfigur Adding mapped DNS server for IPv4
19:55:30.725   STConfigur Adding DNS server: /1.0.0.1
19:55:30.725   STConfigur Adding mapped DNS server for IPv4
19:55:30.725   STConfigur Setting MTU: 1280
19:55:30.725   STConfigur Setting bypass for 41 apps
19:55:30.732   SystemTunn Asking system for tunnel
19:55:30.765   PacketLoop Requested to start packet loop (libre mode)
19:55:30.766   Log        Adding onShareLog callback for PLForwarder
19:55:30.766   Metrics    Started metrics
19:55:30.766   PLLibre    Started packet loop thread: 19884031
19:55:30.775   Blocka     Tunnel started successfully
19:55:30.776   Processing [plusWorking]
19:55:30.778   Processing []
19:55:30.978   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 86ms/0/0
19:55:32.429 W MainActivi onPause: ui.MainActivity@b291a62
19:55:32.430   SystemTunn Unbinding SystemTunnel
19:55:32.431   SystemTunn unbindService called
19:55:32.439   SystemTunn onUnbind received: engine.SystemTunnel@77ba195
19:55:47.357   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 111ms/0/0
19:55:47.885   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 78ms/0/0
19:55:48.550   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 63ms/0/0
19:55:49.536   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 29ms/0/0
19:55:59.114   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 38ms/0/0
19:58:50.284   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 30ms/0/0
20:02:12.125   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 37ms/0/0
20:04:50.917   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 108ms/0/0
20:05:41.987   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 28ms/0/0
20:08:42.932   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 32ms/0/0
20:19:03.033   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 34ms/0/0
20:31:12.518   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 69ms/0/0
20:46:30.273   ScreenOn   Received Screen ON
20:46:30.273 W PacketLoop Connectivity changed, loop was running, restarting it
20:46:30.273 W PacketLoop Packet loop stopped unexpectedly
20:46:30.275 W PacketLoop Device is online, bringing packet loop back
20:46:30.275   Log        Adding onShareLog callback for PLForwarder
20:46:30.276   Metrics    Started metrics
20:46:30.277   PLLibre    Started packet loop thread: 52600851
20:46:52.578   PLLibre    Tunnel thread 19884031 interrupted, stopping
20:46:52.580   PLLibre    Cleaning up resources: Thread[PacketLoopForLibre,5,main]
20:46:52.581   PLForwarde Forwarder closed all remaining sockets: 0
20:48:00.680   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 97ms/0/0
20:48:58.349   ScreenOn   Received Screen ON
20:48:58.350 W PacketLoop Connectivity changed, loop was running, restarting it
20:48:58.350 W PacketLoop Packet loop stopped unexpectedly
20:48:58.352 W PacketLoop Device is online, bringing packet loop back
20:48:58.352   Log        Adding onShareLog callback for PLForwarder
20:48:58.353   Metrics    Started metrics
20:48:58.353   PLLibre    Started packet loop thread: 41672714
20:50:16.704   PLLibre    Tunnel thread 52600851 interrupted, stopping
20:50:16.705   PLLibre    Cleaning up resources: Thread[PacketLoopForLibre,5,main]
20:50:16.705   PLForwarde Forwarder closed all remaining sockets: 0
20:50:31.014   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 38ms/0/0
21:04:09.986   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 64ms/0/0
21:13:07.759   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 58ms/0/0
21:13:08.219   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 41ms/0/0
21:13:10.917   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 39ms/0/0
21:13:12.565   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 74ms/0/0
21:13:17.253   Connectivi New default route through network: 583226281997
21:13:17.254   Cloud      PrivateDNS changed: null
21:13:17.262   Connectivi Network is now default: 583226281997 = (Verizon, type=CELLULAR)
21:13:17.262 W PacketLoop Connectivity changed, loop was running, restarting it
21:13:17.262 W PacketLoop Packet loop stopped unexpectedly
21:13:17.263 W PacketLoop Device is online, bringing packet loop back
21:13:17.263   Log        Adding onShareLog callback for PLForwarder
21:13:17.263   Metrics    Started metrics
21:13:17.263   PLLibre    Started packet loop thread: 186688018
21:13:17.264   Processing [refreshDeviceInfo]
21:13:17.309   PLLibre    Tunnel thread 41672714 interrupted, stopping
21:13:17.310   PLLibre    Cleaning up resources: Thread[PacketLoopForLibre,5,main]
21:13:17.310   PLForwarde Forwarder closed all remaining sockets: 1
21:13:17.766   Tasker     refreshDeviceInfo: true, ordinal: 4
21:13:17.920   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 64ms/0/0
21:13:18.158   Processing []
21:13:19.080   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 34ms/0/0
21:13:20.292   Connectivi Network lost: 583226281997 = (Verizon, type=CELLULAR)
21:13:20.293   Connectivi Lost default network, no connectivity
21:13:21.411   Doze       Doze changed: true
21:13:21.412   Connectivi Doze active, no connectivity
21:13:27.396   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 26ms/0/0
21:23:30.362   ScreenOn   Received Screen ON
21:23:30.362 W PacketLoop Connectivity changed, loop was running, restarting it
21:23:30.362 W PacketLoop Packet loop stopped unexpectedly
21:23:30.363 W PacketLoop Device is offline, not bringing packet loop back for now
21:23:30.475   Connectivi Doze active, no connectivity
21:27:59.463   PLLibre    Tunnel thread 186688018 interrupted, stopping
21:27:59.464   PLLibre    Cleaning up resources: Thread[PacketLoopForLibre,5,main]
21:27:59.464   PLForwarde Forwarder closed all remaining sockets: 0
21:29:42.812   Connectivi Doze active, no connectivity
21:29:44.409   Connectivi Doze active, no connectivity
21:46:10.615   ScreenOn   Received Screen ON
21:46:10.615 W PacketLoop Connectivity changed, recreating packet loop
21:46:10.615   Log        Adding onShareLog callback for PLForwarder
21:46:10.616   Metrics    Started metrics
21:46:10.617   PLLibre    Started packet loop thread: 10548534
21:46:10.680   Connectivi Doze active, no connectivity
21:46:10.891   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 268ms/0/0
21:46:15.268   Doze       Doze changed: false
21:46:15.474   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 40ms/0/0
21:46:15.997   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 25ms/0/0
21:46:20.172   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 30ms/0/0
21:46:27.678   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 30ms/0/0
21:47:02.118   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 37ms/0/0
21:47:02.792   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 23ms/0/0
21:50:42.931   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 33ms/0/0
21:50:51.429   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 25ms/0/0
21:51:58.540   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 30ms/0/0
21:55:25.872   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 128ms/0/0
21:56:27.378   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 21ms/0/0
21:57:57.541   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 124ms/0/0
22:07:32.815   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 78ms/0/0
22:12:52.375   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 44ms/0/0
22:16:49.771   Connectivi New default route through network: 583226281997
22:16:49.774   Cloud      PrivateDNS changed: null
22:16:49.782   Connectivi Network is now default: 583226281997 = (Verizon, type=CELLULAR)
22:16:49.783 W PacketLoop Connectivity changed, loop was running, restarting it
22:16:49.785 W PacketLoop Packet loop stopped unexpectedly
22:16:49.786 W PacketLoop Device is online, bringing packet loop back
22:16:49.788   Log        Adding onShareLog callback for PLForwarder
22:16:49.788   Metrics    Started metrics
22:16:49.788   PLLibre    Started packet loop thread: 248234429
22:16:49.791   Processing [refreshDeviceInfo]
22:16:49.842   PLLibre    Tunnel thread 10548534 interrupted, stopping
22:16:49.842   PLLibre    Cleaning up resources: Thread[PacketLoopForLibre,5,main]
22:16:49.843   PLForwarde Forwarder closed all remaining sockets: 1
22:16:50.291   Tasker     refreshDeviceInfo: true, ordinal: 5
22:16:50.750   Processing []
22:16:53.515   Connectivi Network lost: 583226281997 = (Verizon, type=CELLULAR)
22:16:53.517   Connectivi Lost default network, no connectivity
22:16:54.873   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 93ms/0/0
22:16:59.820   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 34ms/0/0
22:21:23.763   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 172ms/0/0
22:21:26.161   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 31ms/0/0
22:33:28.553   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 85ms/0/0
22:50:29.229   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 25ms/0/0
23:06:27.671   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 230ms/0/0
23:24:25.149   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 29ms/0/0
23:33:25.592   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 122ms/0/0
23:41:57.013   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 34ms/0/0
00:08:03.461   ScreenOn   Received Screen ON
00:08:03.461 W PacketLoop Connectivity changed, loop was running, restarting it
00:08:03.461 W PacketLoop Packet loop stopped unexpectedly
00:08:03.462 W PacketLoop Device is online, bringing packet loop back
00:08:03.470   Log        Adding onShareLog callback for PLForwarder
00:08:03.473   PLLibre    Started packet loop thread: 56380396
00:08:03.473   Metrics    Started metrics
00:08:06.619   PLLibre    Tunnel thread 248234429 interrupted, stopping
00:08:06.620   PLLibre    Cleaning up resources: Thread[PacketLoopForLibre,5,main]
00:08:06.620   PLForwarde Forwarder closed all remaining sockets: 1
00:08:06.969   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 352ms/0/0
00:08:09.174   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 57ms/0/0
00:08:10.001   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 27ms/0/0
00:08:12.094   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 28ms/0/0
00:08:46.886   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 25ms/0/0
00:11:47.020   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 138ms/0/0
00:12:39.273   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 69ms/0/0
00:14:01.427   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 65ms/0/0
00:14:11.287   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 124ms/0/0
00:14:37.679   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 32ms/0/0
00:18:24.206   ScreenOn   Received Screen ON
00:18:24.207 W PacketLoop Connectivity changed, loop was running, restarting it
00:18:24.207 W PacketLoop Packet loop stopped unexpectedly
00:18:24.207 W PacketLoop Device is online, bringing packet loop back
00:18:24.208   Log        Adding onShareLog callback for PLForwarder
00:18:24.209   Metrics    Started metrics
00:18:24.209   PLLibre    Started packet loop thread: 218755442
00:18:25.877   PLLibre    Tunnel thread 56380396 interrupted, stopping
00:18:25.878   PLLibre    Cleaning up resources: Thread[PacketLoopForLibre,5,main]
00:18:25.878   PLForwarde Forwarder closed all remaining sockets: 1
00:18:25.910   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 35ms/0/0
00:18:27.035   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 78ms/0/0
00:18:50.078   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 34ms/0/0
00:18:50.401   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 67ms/0/0
00:18:51.066   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 51ms/0/0
00:18:52.963   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 24ms/0/0
00:21:35.724   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 119ms/0/0
00:24:14.329   ScreenOn   Received Screen ON
00:24:14.329 W PacketLoop Connectivity changed, loop was running, restarting it
00:24:14.329 W PacketLoop Packet loop stopped unexpectedly
00:24:14.331 W PacketLoop Device is online, bringing packet loop back
00:24:14.331   Log        Adding onShareLog callback for PLForwarder
00:24:14.331   Metrics    Started metrics
00:24:14.332   PLLibre    Started packet loop thread: 97166797
00:27:00.139   PLLibre    Tunnel thread 218755442 interrupted, stopping
00:27:00.139   PLLibre    Cleaning up resources: Thread[PacketLoopForLibre,5,main]
00:27:00.140   PLForwarde Forwarder closed all remaining sockets: 1
00:28:12.004   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 71867ms/0/0
00:28:12.994   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 28ms/0/0
00:45:00.163   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 33ms/0/0
00:59:21.657   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 28ms/0/0
00:59:24.592   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 57ms/0/0
01:01:00.248   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 31ms/0/0
01:22:13.695   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 60ms/0/0
01:22:16.673   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 26ms/0/0
01:22:19.130   Connectivi New default route through network: 591816216589
01:22:19.132   Cloud      PrivateDNS changed: null
01:22:19.137   Connectivi Network is now default: 591816216589 = (Verizon, type=CELLULAR)
01:22:19.137 W PacketLoop Connectivity changed, loop was running, restarting it
01:22:19.137 W PacketLoop Packet loop stopped unexpectedly
01:22:19.138 W PacketLoop Device is online, bringing packet loop back
01:22:19.144   Log        Adding onShareLog callback for PLForwarder
01:22:19.145   Metrics    Started metrics
01:22:19.148   PLLibre    Started packet loop thread: 245086500
01:22:19.159   Processing [refreshDeviceInfo]
01:22:19.266   PLLibre    Tunnel thread 97166797 interrupted, stopping
01:22:19.267   PLLibre    Cleaning up resources: Thread[PacketLoopForLibre,5,main]
01:22:19.268   PLForwarde Forwarder closed all remaining sockets: 1
01:22:19.653   Tasker     refreshDeviceInfo: true, ordinal: 6
01:22:20.304   Processing []
01:22:20.320   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 75ms/0/0
01:22:22.270   Connectivi Network lost: 591816216589 = (Verizon, type=CELLULAR)
01:22:22.273   Connectivi Lost default network, no connectivity
01:22:22.737   Doze       Doze changed: true
01:22:22.738   Connectivi Doze active, no connectivity
01:22:29.185   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 40ms/0/0
01:45:00.261   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 132ms/0/0
02:01:00.101   Connectivi Doze active, no connectivity
02:22:22.952   Doze       Doze changed: false
02:22:23.020   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 39ms/0/0
02:22:25.419   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 65ms/0/0
02:22:27.636   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 67ms/0/0
02:22:29.399   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 63ms/0/0
02:22:33.042   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 26ms/0/0
02:22:53.046   Doze       Doze changed: true
02:22:53.051   Connectivi Doze active, no connectivity
02:46:40.607   ScreenOn   Received Screen ON
02:46:40.607 W PacketLoop Connectivity changed, loop was running, restarting it
02:46:40.607 W PacketLoop Packet loop stopped unexpectedly
02:46:40.608 W PacketLoop Device is offline, not bringing packet loop back for now
02:46:40.678   Connectivi Doze active, no connectivity
02:46:46.050   PLLibre    Tunnel thread 245086500 interrupted, stopping
02:46:46.051   PLLibre    Cleaning up resources: Thread[PacketLoopForLibre,5,main]
02:46:46.051   PLForwarde Forwarder closed all remaining sockets: 0
02:46:52.610   Doze       Doze changed: false
02:47:25.961   Perms      DNS profile: false, notifications: false
02:47:25.959 W MainActivi onResume: ui.MainActivity@b291a62
02:47:25.963   Blocka     Querying tunnel status
02:47:25.962   Processing [refreshStats]
02:47:25.986   Account    Account is stale, refreshing
02:47:25.987   Account    Refreshing account
02:47:26.230   Account    Account refreshed, active: false, type: 
02:47:26.262   Tasker     refreshStats: true, ordinal: 4
02:47:26.421   Processing []
02:47:26.692   Blocka     Requested to stop tunnel
02:47:26.694   Engine     Updating engine config
02:47:26.695   Engine     Reloading engine, config: (enabled=false, dns=cloudflare, doh=true, gw=null) for (null, type=FALLBACK)
02:47:26.695   PacketLoop Requested to stop packet loop
02:47:26.696   BlockaDns  Stopping DoH DNS proxy
02:47:26.714   SystemTunn Received a request to close tunnel
02:47:26.714   SystemTunn Binding SystemTunnel
02:47:26.721   Processing [plusWorking]
02:47:26.726   AdsCounter Rolling ads counter: 55902
02:47:26.745   SystemTunn Bound SystemTunnel
02:47:26.746   SystemTunn Tunnel turnOff() called
02:47:26.746   SystemTunn Closing tunnel descriptors
02:47:26.797 W Engine     Waiting after stopping system tunnel, before another start
02:47:30.802   Processing []
02:47:30.834   Blocka     Tunnel stopped successfully
02:47:32.103   Blocka     Requested to start tunnel
02:47:32.104   Engine     Updating engine config
02:47:32.105   Engine     Reloading engine, config: (enabled=true, dns=cloudflare, doh=true, gw=null) for (null, type=FALLBACK)
02:47:32.107   DnsMapper  Using DNS configuration [DoH/PlusMode: true/false]: Dns(id='cloudflare', ips=[1.1.1.1, 1.0.0.1, 2606:4700:4700::1111, 2606:4700:4700::1001], plusIps=null, canUseInCleartext=true)
02:47:32.108   DnsMapper  Using DNS: [/1.1.1.1, /1.0.0.1]
02:47:32.108   DnsMapper  Will use DNS over HTTPS
02:47:32.108   BlockaDns  Starting DoH DNS proxy
02:47:32.208   SystemTunn Received a request to open tunnel
02:47:32.208   SystemTunn Tunnel turnOn() called
02:47:32.208   STConfigur Configuring VPN for Libre mode
02:47:32.209   STConfigur Using IP: 203.0.113.69
02:47:32.209   STConfigur Adding DNS server: /1.1.1.1
02:47:32.209   STConfigur Adding mapped DNS server for IPv4
02:47:32.209   STConfigur Adding DNS server: /1.0.0.1
02:47:32.209   STConfigur Adding mapped DNS server for IPv4
02:47:32.210   STConfigur Setting MTU: 1280
02:47:32.210   STConfigur Setting bypass for 41 apps
02:47:32.216   SystemTunn Asking system for tunnel
02:47:32.237   PacketLoop Requested to start packet loop (libre mode)
02:47:32.237   Log        Adding onShareLog callback for PLForwarder
02:47:32.238   Metrics    Started metrics
02:47:32.238   PLLibre    Started packet loop thread: 29974306
02:47:32.248   Blocka     Tunnel started successfully
02:47:32.249   Processing [plusWorking]
02:47:32.257   Processing []
02:47:33.463 W MainActivi onPause: ui.MainActivity@b291a62
02:47:33.465   SystemTunn Unbinding SystemTunnel
02:47:33.466   SystemTunn unbindService called
02:47:33.472   SystemTunn onUnbind received: engine.SystemTunnel@77ba195
02:47:33.680   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 95ms/0/0
02:47:35.682   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 89ms/0/0
02:47:38.313   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 26ms/0/0
02:47:38.979   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 35ms/0/0
02:47:39.855   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 32ms/0/0
02:47:56.855   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 23ms/0/0
02:48:41.199   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 21ms/0/0
02:49:32.237   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 27ms/0/0
02:51:33.110   ScreenOn   Received Screen ON
02:51:33.111 W PacketLoop Connectivity changed, loop was running, restarting it
02:51:33.111 W PacketLoop Packet loop stopped unexpectedly
02:51:33.112 W PacketLoop Device is online, bringing packet loop back
02:51:33.112   Log        Adding onShareLog callback for PLForwarder
02:51:33.112   Metrics    Started metrics
02:51:33.112   PLLibre    Started packet loop thread: 78119064
02:51:39.894   PLLibre    Tunnel thread 29974306 interrupted, stopping
02:51:39.895   PLLibre    Cleaning up resources: Thread[PacketLoopForLibre,5,main]
02:51:39.895   PLForwarde Forwarder closed all remaining sockets: 1
02:51:40.003   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 110ms/0/0
02:51:40.139   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 62ms/0/0
02:51:43.184   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 35ms/0/0
02:51:49.992   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 90ms/0/0
02:57:09.821   ScreenOn   Received Screen ON
02:57:09.821 W PacketLoop Connectivity changed, loop was running, restarting it
02:57:09.821 W PacketLoop Packet loop stopped unexpectedly
02:57:09.822 W PacketLoop Device is online, bringing packet loop back
02:57:09.822   Log        Adding onShareLog callback for PLForwarder
02:57:09.822   Metrics    Started metrics
02:57:09.823   PLLibre    Started packet loop thread: 238854460
02:57:12.079   PLLibre    Tunnel thread 78119064 interrupted, stopping
02:57:12.079   PLLibre    Cleaning up resources: Thread[PacketLoopForLibre,5,main]
02:57:12.079   PLForwarde Forwarder closed all remaining sockets: 1
02:57:12.164   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 91ms/0/0
02:57:15.088   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 29ms/0/0
02:57:15.883   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 34ms/0/0
02:57:17.108   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 27ms/0/0
02:57:20.445   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 29ms/0/0
02:57:25.567   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 28ms/0/0
03:00:00.449   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 132ms/0/0
03:04:14.811   ScreenOn   Received Screen ON
03:04:14.812 W PacketLoop Connectivity changed, loop was running, restarting it
03:04:14.812 W PacketLoop Packet loop stopped unexpectedly
03:04:14.815 W PacketLoop Device is online, bringing packet loop back
03:04:14.816   Log        Adding onShareLog callback for PLForwarder
03:04:14.816   Metrics    Started metrics
03:04:14.823   PLLibre    Started packet loop thread: 120321146
03:04:16.579   PLLibre    Tunnel thread 238854460 interrupted, stopping
03:04:16.580   PLLibre    Cleaning up resources: Thread[PacketLoopForLibre,5,main]
03:04:16.580   PLForwarde Forwarder closed all remaining sockets: 1
03:04:16.647   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 70ms/0/0
03:04:19.509   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 34ms/0/0
03:04:22.663   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 40ms/0/0
03:04:47.062   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 54ms/0/0
03:04:48.058   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 23ms/0/0
03:04:49.255   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 34ms/0/0
03:06:14.450   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 29ms/0/0
03:08:28.932   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 28ms/0/0
03:08:45.115   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 32ms/0/0
03:09:50.722   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 24ms/0/0
03:11:23.460   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 117ms/0/0
03:14:58.211   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 53ms/0/0
03:20:43.818   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 79ms/0/0
03:23:21.107   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 50ms/0/0
03:26:29.455   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 35ms/0/0
03:29:24.472   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 184ms/0/0
03:34:00.819   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 29ms/0/0
03:43:25.160   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 134ms/0/0
03:58:11.187   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 62ms/0/0
04:01:08.030   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 364ms/0/0
04:01:16.199   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 28ms/0/0
04:23:09.655   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 36ms/0/0
04:41:04.400   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 51ms/0/0
05:00:00.384   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 189ms/0/0
05:37:23.247   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 32ms/0/0
05:58:26.975   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 63ms/0/0
06:26:43.757   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 28ms/0/0
06:58:36.365   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 70ms/0/0
07:22:45.049   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 121ms/0/0
07:44:04.883   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 107ms/0/0
08:14:16.390   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 83ms/0/0
08:18:34.711   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 31ms/0/0
08:44:04.895   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 110ms/0/0
09:03:42.993   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 33ms/0/0
09:58:44.895   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 54ms/0/0
10:29:01.139   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 114ms/0/0
10:59:04.851   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 208ms/0/0
11:29:09.740   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 29ms/0/0
11:59:22.124   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 38ms/0/0
12:07:07.187 W MainActivi onDestroy: ui.MainActivity@b291a62
12:07:09.422   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 44ms/0/0
12:14:34.296   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 27ms/0/0
12:55:03.676   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 32ms/0/0
13:17:57.391   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 45ms/0/0
13:18:00.662   Connectivi New default route through network: 608996085773
13:18:00.664   Cloud      PrivateDNS changed: null
13:18:00.665   Connectivi Network is now default: 608996085773 = (Verizon, type=CELLULAR)
13:18:00.666 W PacketLoop Connectivity changed, loop was running, restarting it
13:18:00.667 W PacketLoop Packet loop stopped unexpectedly
13:18:00.667 W PacketLoop Device is online, bringing packet loop back
13:18:00.668   PLLibre    Tunnel thread 120321146 interrupted, stopping
13:18:00.669   PLLibre    Cleaning up resources: Thread[PacketLoopForLibre,5,main]
13:18:00.670   PLForwarde Forwarder closed all remaining sockets: 2
13:18:00.672   Log        Adding onShareLog callback for PLForwarder
13:18:00.673   Metrics    Started metrics
13:18:00.673   PLLibre    Started packet loop thread: 176104567
13:18:00.675   Processing [refreshDeviceInfo]
13:18:01.177   Tasker     refreshDeviceInfo: true, ordinal: 7
13:18:01.585   Processing []
13:18:03.643   Connectivi Network lost: 608996085773 = (Verizon, type=CELLULAR)
13:18:03.645   Connectivi Lost default network, no connectivity
13:18:03.863   Doze       Doze changed: true
13:18:03.867   Connectivi Doze active, no connectivity
13:18:05.720   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 42ms/0/0
13:18:10.831   Metrics    DNS-RTT/DNS-ERR/REC-ERR: 64ms/0/0
13:25:18.925   ScreenOn   Received Screen ON
13:25:18.926 W PacketLoop Connectivity changed, loop was running, restarting it
13:25:18.926 W PacketLoop Packet loop stopped unexpectedly
13:25:18.927 W PacketLoop Device is offline, not bringing packet loop back for now
13:25:19.020   PLLibre    Tunnel thread 176104567 interrupted, stopping
13:25:19.021   PLLibre    Cleaning up resources: Thread[PacketLoopForLibre,5,main]
13:25:19.021   PLForwarde Forwarder closed all remaining sockets: 1
13:25:19.031   Connectivi Doze active, no connectivity
13:25:19.680   Doze       Doze changed: false
13:25:34.551   MainActivi onCreate: ui.MainActivity@4a7f131
13:25:34.552   Translatio Translation service set up, locale: en
13:25:34.552   Translatio Reloading translations repositories
13:25:34.552 W Translatio Falling back to root translation factory
13:25:34.629 W Main       Hiding ConnIssues bar
13:25:34.631   Navigation Destination(org.blokada.origin.alarm:id/navigation_home) label= class=ui.home.HomeFragment
13:25:34.635 W MainActivi onResume: ui.MainActivity@4a7f131
13:25:34.635   Blocka     Querying tunnel status
13:25:34.635 W BlockaRepo Repo config is stale, refreshing
13:25:34.635   BlockaRepo Fetching Blocka repo to check for updates and configuration
13:25:34.636   Processing [refreshStats]
13:25:34.637   Perms      DNS profile: false, notifications: false
13:25:34.651   Account    Account is stale, refreshing
13:25:34.652   Account    Refreshing account
13:25:34.853   Account    Account refreshed, active: false, type: 
13:25:34.925   BlockaRepo Processing config
13:25:34.926   BlockaRepo Using config: Blokada 5: Official Channel
13:25:34.926   Update     Repo newest version code is: 666022307
13:25:34.940   Tasker     refreshStats: true, ordinal: 5
13:25:35.160   Processing []
13:27:21.069 W Log        Printing debug information for log sharing
13:27:21.070   Log        blokada/22.3.7 (android-32 five release arm64-v8a Google bluejay touch api compatible)
13:27:21.070   Log        Google Pixel 6a
13:27:21.070   Log        Local time: 2022-08-14T09:27:21-04:00
13:27:21.070   Log        Printing for callback Networks
13:27:21.070   Networks   hasCustomConfigs: false
13:27:21.071   Log        Printing for callback Filtering
13:27:21.071   Filtering  Current: 48960 hosts, + user: 1 denied, 0 allowed
13:27:21.071   Log        Printing for callback Stats
13:27:21.072   Log        Printing for callback PLForwarder
13:27:21.072   PLForwarde 0 sockets waiting
13:27:21.073 W Log        Sharing log
13:27:21.096 W MainActivi onPause: ui.MainActivity@4a7f131

I’m having similar problems but I was also having issues with version 22.3.7 constantly crashing and was blocking only about 23% of ads. I followed all the steps listed by other people like uninstalling and reinstalling and turning off private dns ( it wasn’t even on though but I still toggled it on and off) but nothing worked. The only thing that fixed the problem was to go back to v21. It looks like 22.3.7 is buggy… Oh and before I forget it was also saying my subscription was inactive… I never had a subscription. I’ve always used the free version… When I went back to v21 it changed back to blokada Libre subscription is free forever like it normally had. All my problems started after the latest update. Since going back to v21 blokada is back to blocking 98% of ads.

Hello,

Are you also connected to a Blokada Plus location when this issue happens?
Could you also try to wait a couple of minutes without manually stopping Blokada to see if it eventually recovers?

Hello @i81b4i8u

You might want to check this:

Yeah I tried all that… I seen that post and even mentioned I tried all that was recommended. Didn’t help me at all. I had to go back to version 21… Weird thing was I was cleaning cache and data. Uninstalling and reinstalling, rebooting phone reinstalled and it still had my settings and preferences still showing when I reinstalled like I never cleaned cache and data… It was like I never Uninstalled it…

237 was still buggy for me… I tried it and while I could connect to websites, an ad block tester showed it was only blocking 23% of all ads.

Ver 237 ist still “Buggy”.

the Team of Blokada ist locking for the Problem and will answers when everythings fine

Not connected to Blokada Plus.

I tried waiting several minutes but connectivity never recovered.

I found that toggling wifi off/on was enough to get Blokada working again. I’m leaving wifi off for a few days to see if the problem persists while only on 5g.

Sounds like something is telling Blokada that there’s no connectivity but either not telling it that connectivity has been restored or Blokada is missing or not correctly interpreting the connectivity restored event. Maybe.

2 Likes

Updated to Android 13 and the problem still occurs.

It does seem related to WiFi. When leave WiFi turned off the problem does not occur.

Thanks for the feedback, we will take a look at this

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

Please install it on top of your existing installation of Blokada 5 (or do a fresh install):
https://github.com/blokadaorg/blokada/releases/download/android-v22.4.7/app-five-release.apk

Please report back if it fixes your problems or not. If not, please share another log to hello@blokada.org and mention this thread.

Post reopened for further feedback

Is it fixed for the latest release you released today? How the issue relate to this one? My Blokada 5 app on Android appears to "stall" the internet connection - and shutting off & restarting the app seems to make it work, but I have to do it several times a day. Any advice on how to fix? - #16 by random

Yes the latest release should work better in this regard. All feedback is welcome, I am working on this issue currently and you may expect further releases in the coming weeks.

Closed for now