Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Server::HTTP produces: Error accepting SSLSocket: IOError: closed stream #177

Closed
digitalextremist opened this issue Mar 22, 2015 · 8 comments
Labels
Milestone

Comments

@digitalextremist
Copy link
Member

This build error is blocking #174 ( #176 ) under jruby only.

@digitalextremist digitalextremist added this to the 0.6.0 milestone Mar 22, 2015
@digitalextremist digitalextremist changed the title [jRuby] Server::HTTP produces: Error accepting SSLSocket: IOError: closed stream Server::HTTP produces: Error accepting SSLSocket: IOError: closed stream Mar 24, 2015
@digitalextremist
Copy link
Member Author

The issue here is interesting. Under jRuby, the errors are happening as they do under Rubinius... the only difference is that when the program is terminated, suddenly a backlog of messages want to output, and that I believe is causing the build to error.

@tarcieri
Copy link
Member

@digitalextremist this might be because Celluloid doesn't properly implement log-flushing. By default Ruby buffers data written to I/O objects in userspace

@digitalextremist
Copy link
Member Author

@tarcieri This issue also happens however, when no connections at all are made to the server..

@digitalextremist
Copy link
Member Author

Seems like a problem with jruby-openssl @headius

I'm testing this with 1.7.16.1 and using jruby-openssl-java-1.9.6

About to try 1.7.19 and jruby-head

@digitalextremist
Copy link
Member Author

This does also happen with 1.7.19
Retesting with jruby-head which I'd imagine is 9k

@digitalextremist
Copy link
Member Author

New, clearer message: SSLSocket: IOError: Writing not possible during handshake

@digitalextremist
Copy link
Member Author

Wow. There's all kinds of new-bad going on with jruby-9.0.0.0-pre1
The test-client can't hit the server more than 23 or so times before the server locks completely.

@digitalextremist
Copy link
Member Author

This was resolved.

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

No branches or pull requests

2 participants