Hey Defolder,
I’m experiencing some weirdness where http.request on any url called at init will require at least 6 or 7 seconds before calling the callback.
I am not on a slow network.
I get messages in Defold console like this:
WARNING:DLIB: Profiler Message.Dispatch @__http_worker_0 took 3.804 seconds
ERROR:DLIB: mbedtls_ssl_handshake failed: MBEDTLS_ERR_NET_CONN_RESET - -80 (-0x0050)
WARNING:SCRIPT: Failed to return http-response. Requester deleted?
I’ve tried to my own local server, to google, etc but there seems to be some weird lag. I’ve also tried stripping down the active calls but the delay persists.
Any suggestions? Am I running an outdated version of http or something?
Thanks,
grify
P.S. I’ve tried fetching extremely simple and short text strings from my boiletplate http server and while the data loads almost immediately (less than 1 second) in browser, it always takes an extra ~6 seconds on defold.