sekharnbos / activemessaging

Automatically exported from code.google.com/p/activemessaging
0 stars 0 forks source link

Fix an odd "Errno::ECONNRESET: Connection reset by peer" error #29

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Not readily reproducible.  Seems to be happening on my osx 10.4.11 box, 
though that is not 
happening to everyone

What is the expected output? What do you see instead?
Within the system call, the following exception is being thrown:

Errno::ECONNRESET: Connection reset by peer

What version of the product are you using? On what operating system?

Please provide any additional information below.

The error might be partially triggered by a fully qualified URL being passed to:
  Net::HTTP::Get.new(request_url)
instead of just the request_uri, like so:
  Net::HTTP::Get.new(URI.parse(request_url).request_uri)

The error seems to be triggered when the request_url starts with = 
"http://queue.amazonaws.com"... but is then called with a specific host and 
port.  IF the port is 
included in the URL string, like "http://queue.amazonaws.com:80", it works.

Original issue reported on code.google.com by adam.gre...@gmail.com on 4 Jun 2008 at 4:20

Attachments:

GoogleCodeExporter commented 8 years ago
hey,
any chance this could be applied to the main branch?  I'm just hoping to get 
back on the main branch instead of 
having to keep patching activemessaging trunk for my application ;)

thanks,
Adam

Original comment by adam.gre...@gmail.com on 17 Jul 2008 at 5:00

GoogleCodeExporter commented 8 years ago
oy - I suck - I'll get this in today or tomorrow - promise.
-A

Original comment by kooks...@gmail.com on 17 Jul 2008 at 5:09