B4R Question HttpJob.Download ErrorMessage: Response not available

George Anifantakis

Member
Licensed User
Longtime User
Using the example of https://www.b4x.com/android/forum/threads/module-rhttputils2-http-client.74785/#content i'am getting ErrorMessage: Response not available .

Tested from browser https://www.example.com/ is working properly. Also other sites that i'am trying to download or sent a post i'am getting the same error message while using the browser i'am getting data.
I am using an esp8266 module.

Logs
Connected to router.
*******************************
JobName: Example
ErrorMessage: Response not available.
Status: 0

Any advice ?
 
Last edited:

George Anifantakis

Member
Licensed User
Longtime User
The strange thing is that running a connection demo using arduino environment an the same access point, the connection is working fine . The problem exsts only using B4R..! I'am using the example as it is without any modifications.
 
Upvote 0

George Anifantakis

Member
Licensed User
Longtime User
I think this one is working properly...

Logs

Connected to router
Connected to server
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: max-age=604800
Content-Type: text/html; chars
Disconnected
 
Upvote 0

George Anifantakis

Member
Licensed User
Longtime User
I found that uncommenting line 47 of HttpJob with the log Log("trying to connect to: ", host, "port: ", port, " ssl: ", ssl) solved the issue and its working properly. Commenting back again stops working..!
 
Upvote 0

George Anifantakis

Member
Licensed User
Longtime User
Tested from delay(50) to delay(5000) placed after log of line 47. Nothing..! Only with log uncommented it's working.
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…