# Amazon s3sh socket connection error

**URL:** <https://www.ruby-forum.com/t/amazon-s3sh-socket-connection-error/116048>\
**Category:** Ruby\
**Created:** [October 1, 2007, 10:31pm UTC](https://www.ruby-forum.com/t/amazon-s3sh-socket-connection-error/116048 "2007-10-01T22:31:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/35a633/32.png) [@jamal](https://www.ruby-forum.com/u/jamal)\
**Post date:** [October 1, 2007, 10:31pm UTC](https://www.ruby-forum.com/t/amazon-s3sh-socket-connection-error/116048/1 "2007-10-01T22:31:53Z")

</div>

Hello there,

I’m using Windows XP to connect to Amazon webservices using s3sh  
library.

I’m facing problems with uploading files to my bucket.

AWS::S3::S3Object.store(“paper.pdf”,  
open(“paper.pdf”),  
“this\_is\_my\_uniqe\_bucket”,  
:access =\> :public\_read)

This trows exception:

Your socket connection to the server was not read from or written to  
within the timeout period. Idle connections will be closed.

If I change the above open method to:

open(“paper.pdf”)

=

“paper.pdf”

Then I get no error?

Can somebody tell me whats going on here, and thanks help 🙂

Regards,  
Jamal
