B4R Question HttpJob.Download ErrorMessage: Response not available

George Anifantakis

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

George Anifantakis

Member
Licensed 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
 

George Anifantakis

Member
Licensed 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..!
 

George Anifantakis

Member
Licensed User
Tested from delay(50) to delay(5000) placed after log of line 47. Nothing..! Only with log uncommented it's working.
 
Last edited:
Top