-
Notifications
You must be signed in to change notification settings - Fork 324
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
Connections hang and time out when running in Celluloid::IO #401
Comments
Closing as this is more or less a dup of #272
I've been working on an underlying socket layer abstract enough to accommodate both models while still providing robust timeout support: https://github.com/socketry/socketry/ There is a WIP PR to convert http.rb to use this library: #377 but it is out of date and needs more work. |
The timeout issue is also preventing requests from being made altogether? The request takes 0.1 seconds to complete so it shouldn't be timing out but with httprb it is just hanging for 30 seconds before finally dying. This also seems to be intermittent, hmm. Is there any simple workaround to make the request complete? |
Timeout support is completely broken for |
Lack of Timeout support is preventing from making requests altogether? I've switched to Net::HTTP for now with celluloid, but really love http.rb for non celluloid applications :) |
Yes, timeouts are instrumental to the way the current I/O layer functions |
I started 2 processes, one just httprb running in a loop:
The other is running inside of eye (which uses celluoid internally). Both processes run identical code, except the latter logs any exception:
Despite running virtually the same code, the code that runs inside of celluloid is timing out and throwing an exception:
Any ideas why this is happening? -- More details here: kostya/eye#189
The text was updated successfully, but these errors were encountered: