Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL example is non-functional #309

Open
vgarleanu opened this issue Jan 22, 2020 · 1 comment
Open

SSL example is non-functional #309

vgarleanu opened this issue Jan 22, 2020 · 1 comment

Comments

@vgarleanu
Copy link

vgarleanu commented Jan 22, 2020

The SSL example silently stops clients from connecting. Upon closer inspection, the upgrade_ssl_server method returns a Err on any connection type:
Err value: WouldBlock(MidHandshakeSslStream { stream: SslStream { stream: TcpStream { addr: V4(192.168.0.17:4012), peer: V4(192.168.0.17:59812), fd: 8 }, ssl: Ssl { state: "before SSL initialization", verify_result: X509VerifyResult { code: 0, error: "ok" } } }, error: Error { code: ErrorCode(2), cause: Some(Io(Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" })) } })'
I am using a self signed certificate by the way.

@debuuu
Copy link

debuuu commented Apr 17, 2020

Also having this issue, any obvious mistake we're making? Also self-signed cert.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants