I am doing https based communication with thingsboard. i have demo account and i have added public cert in my project, also the jwd token of my thingsboard account.
(Before that i have done https based communication with back4app get req and stored it in buffer and store it worked fine)
i am doing GET request here with thingsboard. Everything is good but i get the error like
E (7484) HTTP_HEADER: Buffer length is small to fit all the headers
W (12494) HTTP_CLIENT: Connection timed out before data was received
now i have tried all the option like increasing buffer size in conf structure as below
Code: Select all
.cert_pem = (char *)wordtime_cert,
.timeout_ms = 10 * 100,
.keep_alive_enable = true,
.buffer_size = 8192,
from swagger i checked what is the response header of this url that i am making get req i got:
Response headers
cache-control: no-cache,no-store,max-age=0,must-revalidate
content-type: application/json
date: Fri,20 Oct 2023 19:10:54 GMT
expires: 0
pragma: no-cache
vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
this is the response header i got from swagger.
plz help its been 4 days i am getting this error..