# S3sh socket connection error

**URL:** <https://www.ruby-forum.com/t/s3sh-socket-connection-error/196477>\
**Category:** Rails\
**Created:** [October 2, 2007, 9:58am UTC](https://www.ruby-forum.com/t/s3sh-socket-connection-error/196477 "2007-10-02T09:58:22Z")\
**Posts on this page:** 3\
**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 2, 2007, 9:58am UTC](https://www.ruby-forum.com/t/s3sh-socket-connection-error/196477/1 "2007-10-02T09:58:22Z")

</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

---

<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 2, 2007, 5:50pm UTC](https://www.ruby-forum.com/t/s3sh-socket-connection-error/196477/2 "2007-10-02T17:50:28Z")

</div>

nobody?

---

<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 3, 2007, 1:31pm UTC](https://www.ruby-forum.com/t/s3sh-socket-connection-error/196477/3 "2007-10-03T13:31:56Z")

</div>

that’s weird 🙂
