-
-
Notifications
You must be signed in to change notification settings - Fork 925
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
Using Celluloid::IO for async reading from a TLS socket does not work #2502
Comments
I signed up for an account but I'm not sure what to put for "site" and "port" in the script. |
Oh, I found the bit about json feeds through a commercial account at the low low price of $1100. I'm guessing we won't be able to reproduce this locally? Perhaps you can dig into the code a bit and try to narrow it down to the line(s) that are failing to read any data? |
Also, you may want to try downgrading jruby-openssl to 0.9.5 or confirm you're using the same version on 1.7.18. |
0.9.6 for 9.0.0.0-pre1 and 0.9.5 for 1.7.18 yes. Will try with 0.9.5 on 9.0.0.0-pre1. I'm getting these messages when using 0.9.5 with 9.0.0.0-pre1. Maybe I missed something when installing 0.9.5?
script at bin/fa-export:17 |
jruby 1.7.18 works fine with jruby-openssl 0.9.6. |
for jruby-openssl-0.9.5 you need to install the krypt gem as well, it was part of jruby's default gems until jruby-openssl stopped needing it but the old gems do NOT have a declared dependency on krypt. |
should be fine now ... could we get a confirmation with 9K-pre2 + |
Just tried with these versions. Behaviour is different (no display of 0 bytes read.) but the buffer I get is still empty :(
|
Yes, 1.7.20 + 0.9.7 works as expected:
As for reproducing, my guess is that any streaming connection could be used instead of FlightAware's. |
thanks, in that case could you please get us a 'simpler' script to reproduce - current way is quite a hustle :( |
closing - no activity in several months. |
9.0.0.0-pre1 installed through rbenv. OS X 10.10.1.
Hello, using the following code https://gist.github.com/keltia/e3bc40e9b2b1d84da5f8 to read from a streaming TLS-enabled socket, 1.7.18 works perfectly, printing snippets of JSON data, 9.0.0.0-pre1 gives me 0-byte strings instead.
1.7.18
whereas 9.0.0.0-pre1 gives:
gem list:
Tell me if you need more.
The text was updated successfully, but these errors were encountered: