tufanv Expert Licensed User Longtime User Aug 9, 2017 #1 Hello When I use old httputils2service and httpjob 's as modules (httputils2 v1.00 ) I dont get any errors while using Code: Copy Dim connection As HttpJob connection.Initialize("haberal",Me) connection.download("https://ctmobilesoft.com/dovizconnect.php?action=macosnewsal") but when I use jokhttputils when i request the above with ssl i get: java sun.security.validator.validatorexception : PKIX path building failed error. is there any reason for this , am i doing stg wrong ? Thanks
Hello When I use old httputils2service and httpjob 's as modules (httputils2 v1.00 ) I dont get any errors while using Code: Copy Dim connection As HttpJob connection.Initialize("haberal",Me) connection.download("https://ctmobilesoft.com/dovizconnect.php?action=macosnewsal") but when I use jokhttputils when i request the above with ssl i get: java sun.security.validator.validatorexception : PKIX path building failed error. is there any reason for this , am i doing stg wrong ? Thanks
Erel B4X founder Staff member Licensed User Longtime User Aug 10, 2017 #2 I've tested it with the latest version of OkHttpUtils2 and with this code and it works properly: Code: Copy Dim j As HttpJob j.Initialize("", Me) j.Download("https://ctmobilesoft.com/dovizconnect.php?action=macosnewsal") Wait For (j) JobDone(j As HttpJob) If j.Success Then Log(j.GetString) End If j.Release Upvote 0
I've tested it with the latest version of OkHttpUtils2 and with this code and it works properly: Code: Copy Dim j As HttpJob j.Initialize("", Me) j.Download("https://ctmobilesoft.com/dovizconnect.php?action=macosnewsal") Wait For (j) JobDone(j As HttpJob) If j.Success Then Log(j.GetString) End If j.Release
tufanv Expert Licensed User Longtime User Aug 10, 2017 #3 Erel said: I've tested it with the latest version of OkHttpUtils2 and with this code and it works properly: Code: Copy Dim j As HttpJob j.Initialize("", Me) j.Download("https://ctmobilesoft.com/dovizconnect.php?action=macosnewsal") Wait For (j) JobDone(j As HttpJob) If j.Success Then Log(j.GetString) End If j.Release Click to expand... I will try again in the office with the latest version. Thx ! Upvote 0
Erel said: I've tested it with the latest version of OkHttpUtils2 and with this code and it works properly: Code: Copy Dim j As HttpJob j.Initialize("", Me) j.Download("https://ctmobilesoft.com/dovizconnect.php?action=macosnewsal") Wait For (j) JobDone(j As HttpJob) If j.Success Then Log(j.GetString) End If j.Release Click to expand... I will try again in the office with the latest version. Thx !