Closed hkraal closed 4 years ago
Hi,
We cannot be sure that this error is due to the network configuration, it can also be triggered by a lost of connection.
What we are sure when this error is triggered is that the XOA
cannot connect to the proxy
but we can't know precisely the cause.
@badrAZ Maybe we could check the error code and have special cases for the most common ones like ECONNRESET
, ECONNREFUSED
, etc.
@julien-f By adding for example a property(cause
) which gives more information about these errors?
Regarding these common erros only (ECONNREFUSED, ECONNRESET, ENOTFOUND, ETIMEDOUT) are pertinent in case of a proxy health check.
No, handle this on UI's side, test code
and choose the appropriate message.
Don't hesitate to group errors together if the same message and the same user solution can apply.
The same goes for the remote check of a proxy.
Context
Expected behavior
If the proxy is not reachable due network configurations I would expect a clear message which states that.
Current behavior
When the proxy is unreachable (in this case due an intermediary firewall) and a packet is dropped the following error is shown in settings/logs with a popup that "an unknown error occurred".