Plugins failing with timeout

369 views
Skip to first unread message

Scott Miller

unread,
May 26, 2023, 6:58:11 PM5/26/23
to tas...@googlegroups.com
I have had multiple plugins start to fail today. They have been working for years. Tasker was updated this morning. Contacts Task was the first one I noticed. I switched it with AutoContacts and it failed as well. Then I noticed that AutoWear was also failing. Both of the contacts plugins can browse my contacts without issue. All permissions are applied. Because this began today, I am inclined to think the Tasker update from this morning broke them. Here is one of the error messages:

18.49.21/LicenseCheckerTasker Checking cached only
18.49.21/LicenseCheckerTasker Cached only: Licensed
18.49.21/Variables doreplresult: |{"contactSortDirection":"0","queryAdvanced":{"queryJoiner":"=:="},"queryContactsFieldsToGet":"acid,acname,acemail","queryFilter":{"contactOnlyPhoneDefault":false,"filterAdvanced":{"queryGetEmptyFields":false},"queryContactEmail":"%emailaddr1","queryContactStarred":false},"generatedValues":{}}| -> |{"contactSortDirection":"0","queryAdvanced":{"queryJoiner":"=:="},"queryContactsFieldsToGet":"acid,acname,acemail","queryFilter":{"contactOnlyPhoneDefault":false,"filterAdvanced":{"queryGetEmptyFields":false},"queryContactEmail":"%emailaddr1","queryContactStarred":false},"generatedValues":{}}|
18.49.21/E FIRE PLUGIN: AutoContacts Query 2.0 / com.twofortyfouram.locale.intent.action.FIRE_SETTING: 6 bundle keys
18.49.21/E AutoContacts Query 2.0: plugin comp: com.joaomgcd.autocontacts/com.joaomgcd.autocontacts.broadcastreceiver.BroadcastReceiverFire
18.49.21/Ew add wait type Plugin1 time 60
18.49.21/Ew add wait type Plugin1 done
18.49.21/E add wait task
18.50.21/E Error: 2
18.50.21/E Plugin did not respond before timing out. You can change the timeout value in the action's configuration.


Increasing the timeout only made it take longer for the error to appear.

Brenden M

unread,
May 26, 2023, 8:30:10 PM5/26/23
to Tasker
FYI, the last several updates of Tasker have announced in the "What's New" field "things may break" and "major update" and "please report things"

So, you're seeing that, I guess. Since those "plugins" have been working for years, maybe they are out of date, or something in your Android version is out of date.

However, as mentioned above, the possibility of things breaking was anticipated by the developer, so if you are patient, you might see fixes soon.

I suspect it's one of the top orders of business, indeed.

Scott Miller

unread,
May 26, 2023, 9:36:33 PM5/26/23
to tas...@googlegroups.com
Oh, I am aware. And everything is up to date. And it's a weekend, so I don't expect a response until Monday, at least. Betas always break things. No surprises there. The surprise is when they seem to work without breaking things. 🙂

--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/f8267d5f-590d-4222-90ff-143782672786n%40googlegroups.com.

GeneM

unread,
May 27, 2023, 4:31:14 PM5/27/23
to Tasker
Not a great day for Tasker here, but I'm glad to have found this thread.

Today, all calls to my Home Assistant Plug-In for Tasker are timing out as well.
Using the plug-in to render a template just times out and fails.
Using the plug-in to set an entity state also times out, but it did change the state in HA as expected!

Everting is fully up-to-date.
Works on a TabA7: Android 12  Tasker 5.2.1-beta
Fails on my Pixel4a: Android 13 - Tasker 5.2.1-beta

(Also found [on A13] I can no longer add an AutoVoice Recognize widget to the launcher screen. Had to make a Tasker Task and add a shortcut to it, to the home screen. Google is turning Android into a cancer on Tasker!)

GeneM

unread,
May 27, 2023, 4:33:40 PM5/27/23
to Tasker

Typo:  References to Tasker 5.2.1-beta should have all been:  Tasker 6.2.1-beta

TonyZZ

unread,
May 28, 2023, 10:50:59 AM5/28/23
to Tasker
Kind of glad to hear this as some of my plugs are failing also like home assistant and calendar task,
Hope the issue causing this gets fixed, as I thought I did something wrong to cause this

GeneM

unread,
May 28, 2023, 12:20:14 PM5/28/23
to Tasker
FWIW: Also found this topic playing out on reddit.

I'm slowing re-implementing my required functions natively in order to bypass the need for the plugin; it's really crippling me.
I'm wondering if reverting to an earlier beta would help...

joaomgcd

unread,
May 29, 2023, 6:38:33 AM5/29/23
to Tasker
Hi there, thanks for the report! Can you please try this version? https://drive.google.com/file/d/1morX64lZg8qjAb0NLw5OH5lwo86rcRuK/view

If you want you can also check any previous releases here: https://drive.google.com/drive/folders/1GW55YKFiuOZhJVswnt_BQUCJoGm36ugF?usp=sharing

Scott Miller

unread,
May 29, 2023, 7:52:39 AM5/29/23
to tas...@googlegroups.com
Initial testing, that appears to have corrected it. I didn't see any timeouts when manually playing a task that includes a plugin. Thank you.

Scott M.

João Dias

unread,
May 29, 2023, 8:16:03 AM5/29/23
to tas...@googlegroups.com
Awesome :) Thanks for testing!

Thank you for your contact.

   Join: connect multiple devices (send pushes, remote SMS, notifications) on Android, Windows, Mac, Linux
   Tasker: customize/automate anything on your phone!
   AutoApps: add advanced functionality to Tasker via plugins

     

João Dias


Scott Ballard

unread,
May 29, 2023, 11:41:08 PM5/29/23
to Tasker
This update Joao posted above also solved my problem of Set Bluetooth Off no longer working after the latest update!

Thank you! 

Scott Ballard

unread,
Jun 1, 2023, 9:13:58 PM6/1/23
to Tasker
Well the latest playstore update (6.2.2 beta) seems to have brought this issue back (unable to toggle Bluetooth). Also, now when I try to install the version Joao posted above, I now get an alert that the package is invalid. 

João Dias

unread,
Jun 2, 2023, 3:48:55 AM6/2/23
to tas...@googlegroups.com
Hi there.

Unfortunately Google is not allowing Tasker on Google Play to directly toggle Bluetooth files anymore. There's nothing I can do about that.

However, can you please install this app on your phone and then try the "Bluetooth" action again from Tasker? That will make toggling Bluetooth be done with Tasker Settings instead of Tasker directly.

Make sure to disable the "Tasker Settings" app (not only Tasker itself) from battery optimization (https://tasker.joaoapps.com/userguide/en/faqs/faq-problem.html#00) so that Tasker can call it in the background.

Thanks in advance.

Check here for more info on this: https://github.com/joaomgcd/TaskerSettings/releases/tag/v.1.6.0 and https://github.com/joaomgcd/TaskerSettings/

Download here: https://github.com/joaomgcd/TaskerSettings/releases/download/v.1.6.0/Tasker.Settings.1.6.0.apk

Scott Ballard

unread,
Jun 2, 2023, 7:56:21 AM6/2/23
to Tasker
Hello!
That has fixed the problem! Do you anticipate Google is about to shut down Bluetooth toggling altogether? Thank you for all your work! 

João Dias

unread,
Jun 2, 2023, 9:09:46 AM6/2/23
to tas...@googlegroups.com
I really don't know. We can just hope that the Tasker Settings app can continue to work 😅

Erik Carlin

unread,
Jun 2, 2023, 3:22:24 PM6/2/23
to Tasker

I'm having issues with autoshare despite the update to Tasker beta and the new Tasker settings. Any advice?
13.16.12/LicenseCheckerTasker Checking cached only
13.16.12/LicenseCheckerTasker Cached status: Licensed
13.16.12/LicenseCheckerTasker Cached only: Licensed
13.16.12/ActionArgBundle key: android.intent.extra.SUBJECTSEND: replace <null> String value with null
13.16.12/ActionArgBundle key: IntentData: replace <null> String value with null
13.16.12/Variables doreplresult: |%screenshots1| -> |/storage/emulated/0/DCIM/Screenshots/Screenshot_20230602_080445_Gmail.jpg|
13.16.12/ActionArgBundle AutoShare: android.intent.extra.STREAMSEND: %screenshots1 -> /storage/emulated/0/DCIM/Screenshots/Screenshot_20230602_080445_Gmail.jpg
13.16.12/E FIRE PLUGIN: AutoShare / com.twofortyfouram.locale.intent.action.FIRE_SETTING: 13 bundle keys
13.16.12/E AutoShare: plugin comp: com.joaomgcd.autoshare/com.joaomgcd.autoshare.broadcastreceiver.IntentServiceFire
13.16.12/Ew add wait type Plugin1 time 10
13.16.12/Ew add wait type Plugin1 done
13.16.12/E handlePluginFinish: taskExeID: 1 result 3
13.16.12/E pending result code
13.16.12/E add wait task
13.16.22/E Error: 2
13.16.22/E Plugin did not respond before timing out. You can change the timeout value in the action's configuration.

João Dias

unread,
Jun 6, 2023, 5:06:40 AM6/6/23
to tas...@googlegroups.com
Is AutoShare maybe being battery optimized on your device?

To make sure Tasker and the AutoApps run in the foreground please check here: https://tasker.joaoapps.com/userguide/en/faqs/faq-problem.html#00

Pay special attention to the location part. If Tasker doesn't have permission to get location in the background it might not work correctly, so disable and re-enable the location permission and make sure that you allow Tasker to always access it.

Make sure to check here too: https://dontkillmyapp.com/?app=Tasker

Hope this helps!


Thank you for your contact.

   Join: connect multiple devices (send pushes, remote SMS, notifications) on Android, Windows, Mac, Linux
   Tasker: customize/automate anything on your phone!
   AutoApps: add advanced functionality to Tasker via plugins

     

João Dias

--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.

Erik Carlin

unread,
Jun 6, 2023, 7:50:10 AM6/6/23
to tas...@googlegroups.com
Nope, it normally runs but says unsupported attachment.

Can you try it yourself?

    Profile: DoorDash Screenshot
     Event: File Modified [ File:DCIM/Screenshots/ Event:Create ]
     Application: Dasher
     State: BT Connected [ Name:* Address:* ]
    
    
    
    Enter Task: Share Screenshot
    
    A1: List Files [
         Directory: DCIM/Screenshots
         Match: *.jpg
         Sort Select: Modification Date, Reverse
         Variable Array: %screenshots
         Use Global Namespace: On ]
    
    <%screenshots1 is screenshot>
    A2: Anchor
    
    A3: AutoShare [
         Configuration: Package: org.telegram.messenger
         Class: org.telegram.ui.LaunchActivity
         App: AutoShare
         Action: Share
         MimeType: */*
         File: %screenshots1
         Timeout (Seconds): 10
         Structure Output (JSON, etc): On ]
    
    



Erik Carlin

unread,
Jun 6, 2023, 7:50:58 AM6/6/23
to tas...@googlegroups.com
Location permissions are set, location tasks are working normally. 
Reply all
Reply to author
Forward
0 new messages