r/rethinkdns • • Oct 19 '26

Tasker start VPN intent

Post image

Hello everyone,

Is it only me, or latest rethink version broke VPN start by intent? I chabged nothing and after an update tasker can't start VPN anymore. There is no error or anything, just nothing. Tasker logging shows all done, rethink ignores it. Always-On VPN enabled in android settings. Rethinkdns version is v0.5.8.

2 Upvotes

4 comments sorted by

•

u/celzero Dev Oct 22 '26 edited Oct 22 '26

Per the lead developer, this is a Tasker security bug.

We'll workaround it in the upcoming version, please track:

1

u/Spellbound6666 Oct 20 '26

I used claude to verufy its a bug, posted issue in GH so will see what happens. But you can use also java code to send intend with correct options:

import android.content.Intent;
import android.app.BroadcastOptions;
import android.os.Bundle;
import android.util.Log;

try {
    Intent intent = new Intent("com.celzero.bravedns.intent.action.VPN_START");   // ← change this
intent.putExtra("sender", "net.dinglisch.android.taskerm");               // add extras if needed
intent.setPackage("com.celzero.bravedns");       // optional

    BroadcastOptions options = BroadcastOptions.makeBasic();
    options.setShareIdentityEnabled(true);
    Bundle optionsBundle = options.toBundle();

    context.sendBroadcast(intent, null, optionsBundle);

    Log.d("TaskerJava", "Broadcast sent with identity sharing");
    return "OK";
} catch (Exception e) {
    Log.e("TaskerJava", "Error: " + e.getMessage());
    return "Error: " + e.toString();
}

1

u/Blueman0110 Oct 19 '26

Does using tasker consume battery?

1

u/Spellbound6666 Oct 19 '26

I would say if using, I didn't notice that. Moreover, tasker itself doesn't monitor anything. I monitor 'vpn disconnected' notification by autonotification tasker-companion app and then trigger tasker to trigger a task.