http2.Http2ConnectionHandler - [id: 0x39fed2a5] Sending GOAWAY failed: lastStreamId '0', errorCode '2', debugData 'Connection refused: example.lukasz.local/127.0.0.1:12345'. Forcing shutdown of the connection.
io.netty.channel.ChannelException: Pending write on removal of SslHandler
at io.netty.handler.ssl.SslHandler.handlerRemoved0(SslHandler.java:426)
[...]
I think we want to catch
io.netty.channel.ChannelExceptionand re-throw asStatus.UNAVIALIBLEwhen endpoint is unreachable: