Tasker 5.8 / Problem with HTTP Request

1,554 views
Skip to first unread message

Tom

unread,
Jul 24, 2019, 4:03:10 AM7/24/19
to Tasker
This morning I received the update to Tasker 5.8. Since I use "HTTP Get" in various tasks Tasker showed a notification to use the new "HTTP Request" instead.

So I updated my tasks. It worked fine for most of the tasks. Anyhow, there is one task which does not work with the new "HTTP Request".

Within this task I regularly check the availability of internet connection at home while I am not at home. I need to monitor this due to problems with my internet provider.
So the task checks periodically via DynDNS whether my router is available.

Every time I get the following error message:

09.17.19/E add wait type EasyAction1 time 2147483647
09.17.19/E add wait type EasyAction1 done
09.17.19/E add wait task
09.17.20/E Error: 1
09.17.20/E javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

I also checked the option "Trust any certificate". No matter what I do I always get the same error message.
With the old "HTTP Get" it works perfectly fine.

How do I get this fixed?

João Dias

unread,
Jul 24, 2019, 4:39:51 AM7/24/19
to tas...@googlegroups.com
Hi. Just so you know, it's not mandatory to use the new HTTP Request action. You can keep using the old ones.

But I'll try to fix your issue anyway.
Can you please export your task's description (not xml) so I can take a look? Long-click the task in Tasker->export description Thanks in advance

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/7dbee0e7-720e-487f-a08e-067c4bbef5d8%40googlegroups.com.

Tom

unread,
Jul 25, 2019, 6:28:21 AM7/25/19
to Tasker
Hi Joao,

Thank you for your reply.

Please find the relevant description below:

Home (69)
<Check Home>
A1: HTTP Request [ Method:GET URL:https://home.dyndnsdomain.eu Headers: Query Parameters: Body: File To Send: File To Save With Output: Timeout (Seconds):30 Trust Any Certificate:On Continue Task After Error:On ]
<Home available>
A2: If [ %HTTPR ~ 200 ]
A3: Flash [ Text:Home available Long:Off ] If [ %ManualCheck = 1 ]
<Home not available>
A4: Else
A5: Flash [ Text:ATTENTION: Home not available Long:Off ] If [ %ManualCheck = 1 ]
A6: End If


I removed the real URL since I did not want to post it here

If necessary I can provide it via direct message.

Thanks for your support.

João Dias

unread,
Jul 25, 2019, 6:31:48 AM7/25/19
to tas...@googlegroups.com
Can you please try this version? https://drive.google.com/file/d/1UfMEt1H6wjlMDdsqByn-flCRqE45PdJ1/view?usp=sharing
And in the task you need to check %http_response_code, not %HTTPR :) That should fix it!
Hope this helps!

   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.

Tom

unread,
Jul 26, 2019, 5:02:11 AM7/26/19
to Tasker
By the way, I replaced all the variables %HTTPR with %http_response_code as you recommended.

Obviously this doesn't make any difference since after closing and re-opening Tasker they are displayed as %HTTPR again... ;)

Tom

unread,
Jul 26, 2019, 5:02:11 AM7/26/19
to Tasker
Thanks for the new version.

Unfortunately I still get the very same error message as I copied into my first post.

João Dias

unread,
Jul 26, 2019, 5:19:44 AM7/26/19
to tas...@googlegroups.com
Sorry about that. That was a bug. It now should let you update the variables to  %http_response_code  again. 

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


On Fri, Jul 26, 2019 at 10:02 AM Tom <bama...@gmail.com> wrote:
Thanks for the new version.

Unfortunately I still get the very same error message as I copied into my first post.

--
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.

Tom

unread,
Jul 29, 2019, 6:27:02 AM7/29/19
to Tasker
Ok, the variable %http_response_code works perfectly fine now.

Only the issue with HTTP Request / Get remains:

00.59.27/E add wait type EasyAction2 time 2147483647
00.59.27/E add wait type EasyAction2 done
00.59.27/E add wait task
00.59.27/E Error: 1
00.59.27/E javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

It's not really an urgent issue since HTTP Get still works. I was just trying to update my tasks because of the repeating messages HTTPS Get being deprecated.

Thank you for your great support :)

João Dias

unread,
Jul 29, 2019, 8:26:01 AM7/29/19
to tas...@googlegroups.com
Hi there, thanks for the report! Can you please try this version? https://drive.google.com/file/d/1UfMEt1H6wjlMDdsqByn-flCRqE45PdJ1/view?usp=sharing

Make sure to enable the option to Trust Any Certificate. 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.

Tom

unread,
Jul 30, 2019, 9:48:20 AM7/30/19
to Tasker
Now it works like a charm.

Thank you for your great support! :)

João Dias

unread,
Jul 30, 2019, 10:03:47 AM7/30/19
to tas...@googlegroups.com
Nice :) Glad it works!!
Reply all
Reply to author
Forward
0 new messages