Otherwise, if you are using a self-signed certificate, you may need to use a custom trust agent as described here: https://stackoverflow.com/questions/2642777/trusting-all-certificates-using-httpclient-over-https/6378872#6378872
As an alternatives to using a self-signed certificate, you might want to consider using a free certificate from https://letsencrypt.org
--
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/11b75723-c991-4b06-b80d-910a4e70cfad%40googlegroups.com.
Can you please provide a URL I can test that with so I can see if I can get it working?
On Wed, Jul 24, 2019 at 11:52 AM Dario Piantanida <dario.p...@gmail.com> wrote:
Hello, I'm trying to migrate my HTTP Post to new HTTP Request in Tasker 5.8--It POSTs to an HTTPS URL whose Certificate is not trusted, so I checked "Trust Any Certificate" in HTTP Request as I had in HTTP Post, but I always get:12.49.40/E add wait type EasyAction1 time 214748364712.49.40/E add wait type EasyAction1 done12.49.40/E add wait task12.49.40/E Error: 112.49.40/E javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.What's wrong?
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 tas...@googlegroups.com.
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/22c7570a-9cbb-4e1d-a32d-1b1ef9af5c89%40googlegroups.com.
Thanks for the report! Can you please try this version? https://drive.google.com/file/d/1UfMEt1H6wjlMDdsqByn-flCRqE45PdJ1/view?usp=sharing
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/22c7570a-9cbb-4e1d-a32d-1b1ef9af5c89%40googlegroups.com.
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/e06a7320-6c76-4ae0-bb1e-b60d9748a06a%40googlegroups.com.
And it still works with HTTP Post on the same device?
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/e06a7320-6c76-4ae0-bb1e-b60d9748a06a%40googlegroups.com.
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/276c875b-0b58-468c-9676-febb81bc9f70%40googlegroups.com.
It's hard for me to test because I have no server to test it on :( Are you sure there's no public facing test endpoint I can use? I've tried making it as much like HTTP Post as possible...
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/276c875b-0b58-468c-9676-febb81bc9f70%40googlegroups.com.
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/1fda20d7-7bd9-46ec-be91-7ef9e007b8f3%40googlegroups.com.
The javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.error tells me all I need. I'm just having a hard time to fix it! I tried making it work exactly like the old actions but obviously I'm missing something...
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/1fda20d7-7bd9-46ec-be91-7ef9e007b8f3%40googlegroups.com.
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/7c8e4d2f-dd1e-4bee-9fdd-90b6f09ae3b0%40googlegroups.com.
Thanks. Please do let me know if you ever have an example server I can test it on. In the meantime you can simply continue using the old HTTP Post action
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/7c8e4d2f-dd1e-4bee-9fdd-90b6f09ae3b0%40googlegroups.com.
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/4c681f32-3461-490b-a7ba-b3a89e1b800b%40googlegroups.com.
Oh cool! Can you get the same error in Tasker in any one of those examples?
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/4c681f32-3461-490b-a7ba-b3a89e1b800b%40googlegroups.com.
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/9d38859e-b3fa-4a58-ab55-4e6313fdc634%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/9d38859e-b3fa-4a58-ab55-4e6313fdc634%40googlegroups.com.
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/35c09a95-5c45-43d5-84bf-6e1b705b3561%40googlegroups.com.
Nice! :D Glad it worked!!About the Data/File, no, that will correspond with either the Body or the File To Send field :)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
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/35c09a95-5c45-43d5-84bf-6e1b705b3561%40googlegroups.com.
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/b830367e-8ed3-4387-b17c-51e8d7e06bcb%40googlegroups.com.
--
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/3a7e8897-42b1-4f74-86c7-16fef555d4b1%40googlegroups.com.
Yeah, that could be it. Can you please export what you're using in HTTP Post so I can check it out? Thanks
On Fri, Jul 26, 2019 at 9:25 AM Dario Piantanida <dario.p...@gmail.com> wrote:
I'm not sure what do you mean here.--It is an authentication page to enable our access on our WiFi; I simulate a login on the page, so I send username, password and a few other parameters taken from the HTML form.In this case, is it correct to cut&paste to body leaving '='?One thing: the HTTP Request now runs and I get 200 as Response code, but I'm not authenticated at the end of action (as I was using HTTP Post).I tried putting %http_data in a Popup action to understand what's happening and I see an HTML Text saying I need a browser that supports JavaScript: could this be caused by the HTTP Request being different from HTTP Post in respect to JS support??
On Friday, July 26, 2019 at 10:16:09 AM UTC+2, joaomgcd wrote:It depends on what request you're sending. The body you set in the action is the exact body that will be sent to the server :) What kind of request is the server expecting?
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 tas...@googlegroups.com.
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/7d725f51-4bc6-4dad-9b75-297996f9cc8b%40googlegroups.com.
Can you please export that as description? Thank you!
Here's my example task:
ZZComparison (87)
<Old action (working)>
A1: HTTP Post [ Server:Port:https://docs.google.com Path:forms/d/1I6wzN1b_cut/formResponse Data / File:entry.116130407=Test1
entry.1209815135=Test2 Cookies: User Agent: Timeout:10 Content Type: Output File: Trust Any Certificate:Off ]
<New action (error)>
A2: HTTP Request [ Method:POST URL:https://docs.google.com/forms/d/1I6wzN1b_cut/formResponse Headers: Query Parameters: Body:entry.116130407=Test1
entry.1209815135=Test2 File To Send: File To Save With Output: Timeout (Seconds):10 Trust Any Certificate:Off ]
I'm using Tasker 5.8.2 and as you can see I'm adding a line to a Google Spreadsheet using the old forms method. I'm not following the example you posted with the HTTP Request action, but as long as the old action works, why should I change it?
The error is this:
12.44.52/E add wait task
12.44.52/E Error: 1
12.44.52/E <!DOCTYPE html><html lang="it"><head><link rel="shortcut icon" sizes="16x16" href="https://ssl.gstatic.com/docs/spreadsheets/forms/favicon_qp2.png"><title> ... CUT ... </html>
... so I'm not getting any Java exception.
--
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/bed60232-8669-4bd3-8f13-dd7d55d57293%40googlegroups.com.
Here's the complete task
ZZComparison (87)
<Old action (working)>
A1: [X] HTTP Post [ Server:Port:https://docs.google.com Path:forms/d/1I6wzN1bH_cut/formResponse Data / File:entry.116130407=Test1
entry.1209815135=Test2 Cookies: User Agent: Timeout:10 Content Type: Output File: Trust Any Certificate:Off ]
<New action (now working successfully)>
A2: HTTP Request [ Method:POST URL:https://docs.google.com/forms/d/1I6wzN1bH_cut/formResponse Headers:Content-Type:application/x-www-form-urlencoded Query Parameters: Body:entry.116130407=Test1&entry.1209815135=Test2 File To Send: File To Save With Output: Timeout (Seconds):10 Trust Any Certificate:Off ]
In my opinion you should at least write this (content format and header mandatory) in the action help, because it may not be easy to guess.
This also leads me to a question: what if I need a space on the posted values (e.g. "entry.116130407=Word1 Word2")? I think that the old HTTP Post action did the URL encoding / escaping automatically (as the format was accepted), so how would we escape a text (or a variable too) correctly in the Body field now?
To unsubscribe from this group and stop receiving emails from it, send an email to tas...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to tas...@googlegroups.com.