F FrankBerra Active Member Licensed User Longtime User Nov 9, 2015 #1 Hi all I am trying to connect to my server trough HTTPS using Httputils2. I am using a self-signed certificate. The app doesn't work. Somewere they say that i should initialize he HttpJob with http.InitializeAcceptAll instead of http.Initialize. HttpUtils2 doesn't have the member InitializeAcceptAll So how and where can i solve this? Thanks in advance
Hi all I am trying to connect to my server trough HTTPS using Httputils2. I am using a self-signed certificate. The app doesn't work. Somewere they say that i should initialize he HttpJob with http.InitializeAcceptAll instead of http.Initialize. HttpUtils2 doesn't have the member InitializeAcceptAll So how and where can i solve this? Thanks in advance
eurojam Well-Known Member Licensed User Longtime User Nov 9, 2015 #2 I think you have change the code of the httputils2 modul (https://www.b4x.com/android/forum/attachments/httputils2-zip.18817/) of the Service_Create sub in the Http2UtilsService modul to: Code: Sub Service_Create TempFolder = File.DirInternalCache hc.InitializeAcceptAll("hc") 'this is the normal state hc.Initialize("hc") TaskIdToJob.Initialize End Sub Upvote 0
I think you have change the code of the httputils2 modul (https://www.b4x.com/android/forum/attachments/httputils2-zip.18817/) of the Service_Create sub in the Http2UtilsService modul to: Code: Sub Service_Create TempFolder = File.DirInternalCache hc.InitializeAcceptAll("hc") 'this is the normal state hc.Initialize("hc") TaskIdToJob.Initialize End Sub