Closed Horusiath closed 7 years ago
It turned out, that the certificate I've used, was invalid (not self-signed or not inserted into cert store). However this issue (hanging on WriteAndFlushAsync
) shouldn't happen anyway.
should be fine now, pls reopen if that's not the case.
I've already posted that on a gitter channel, but since it hasn't been responded for the last few days, I'm putting it here.
I'm trying to make a secure connection using
TlsHandler
, however when trying to push any data through the client it hangs and message is never received on the other side. I've managed to extract the issue into reproducible scenario: both client and server implementation can be seen here.Cert has been generated by makecert for testing purposes.
The results of LoggingHandler logs are:
Server
Client
Client just hangs on
WriteAndFlushAsync
call, and from what you can see, server notified ACTIVE channel, however no RECEIVE event happened (no data has been received on the server side).This issue occurs only when I'm trying to send data through pipeline with
TlsHandler
attached. When I remove it, everything works smooth. X509Certificate2 is loaded correctly.