-
-
Notifications
You must be signed in to change notification settings - Fork 353
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 Error on S3 connection #9
Comments
cc/ @iaingray @starbelly |
Right, so I'm having success with replacing Timeout.timeout with setting the timeouts on the socket itself. This is actually quite simple, I thought I was going to be writing an extension. Anyway, only 18 excon test fail with this implementation and I think this is because the exception handling is not properly worked out. Also, I think some are failing for unrelated reasons as well. Definitely not ready to do a PR on this, but you can checkout the branch for now : https://github.com/starbelly/excon/tree/fix_timeouts |
So, 16 tests fail in for excon/master on my box, so definitely on the right track. The two tests that are failing for me in my branch are the timeout tests! HA! Though, it's because a response js given back when a timeout exception is expected, which is odd. Once again, I'm pretty positive that's do to improper exception handling in my branch right now. Right, so probably shouldn't be talking about this in fog-aws anymore since this is all excon related. @geemus I may need a little help with those two failing tests. EDIT: Nevermind @geemus, I see that the timeouts are simply not working. Fsck! And so I forge on... Edit : Scratch that, works, but not with readline... Need to re-implement Excon::Socket.readline without using readline. That's enough for today : ) Edit: Can do a PR now. In the end I just re-worked things to work with IO.select, no setting the timeout on the socket ( as I learned this is futile ). All test pass on my machine. |
Sure thing. I'm going to close this issue and continue discussion over on the other stuff, thanks! |
…ttributes_to_hosted_zone_parsers Enhance/sd 9089/add some attributes to hosted zone parsers
Original issue at: fog/fog#3075
I'm getting an error with S3 at the moment. If I set up a connection (using my key + secret, eu-west-1) such that
connection
is an instance of Fog::Storage::AWS::Real, then doputs connection.directories.to_a
, I get an array of directory objects, as expected.However, if I try:
p connection.directories.to_a
orputs connection.directories
I get the error details in the below trace, after a long delay.
Any idea why this is happening?
The text was updated successfully, but these errors were encountered: