This is fixed and released in v4.40.2.0. Thanks for reporting! 🙃
m
Mikael Ståldal
03/23/2023, 9:10 AM
Would it make sense to "invent" a new code for this, like
UNKNOWN_HOST
, to distinguish from 503 from server?
d
dave
03/23/2023, 4:57 PM
Maybe - do we know under which conditions it occurs?
m
Mikael Ståldal
03/23/2023, 7:49 PM
I think it can happen when the server does not respond with proper HTTP response, or if the TLS handshake fails in case of HTTPS. In my case, it was probably due to mixing up HTTP with HTTPS.