You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example if you get a ChannelError.connectTimeout(...) from Channel.connect(host: "foo.com", port: 1234) you don't get told what address(es) NIO actually resolved and tried to connect to. Also, the HappyEyeballsConnector also throws ChannelError.connectTimeout(...) when it times out resolving.
That's quite problematic.
I know that it would be source breaking if NIO just started throwing different errors but to alleviate this we could have a ClientBootstrap (etc) property bootstrap.useModernErrors(true) or similar to opt into better errors.
The text was updated successfully, but these errors were encountered:
For example if you get a
ChannelError.connectTimeout(...)
fromChannel.connect(host: "foo.com", port: 1234)
you don't get told what address(es) NIO actually resolved and tried to connect to. Also, theHappyEyeballsConnector
also throwsChannelError.connectTimeout(...)
when it times out resolving.That's quite problematic.
I know that it would be source breaking if NIO just started throwing different errors but to alleviate this we could have a
ClientBootstrap
(etc) propertybootstrap.useModernErrors(true)
or similar to opt into better errors.The text was updated successfully, but these errors were encountered: