vavavr00m / boto

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

Call to create_connections() without implementation, 104 connection reset persistent error when writing to SQS #253

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install boto from svn or 1.8c+
2. Write an implementation of a service superclass ala sonofmmm
3. Run that service on Ubuntu 9.x on an EC2 instance

What is the expected output? What do you see instead?
There is a serious, persistent problem with changes to SQS queues not
getting written pushed out because of a connection reset error. This might
be related to an Ubuntu/linux core bug (
http://scie.nti.st/2008/3/14/amazon-s3-and-connection-reset-by-peer ) but
the method that boto has for handling said error appears to be lost between
revision 424 and revision 595 of service.py: the implementation of
create_connections() is deleted from the Service class, and sonofmmm, etc
do not provide an implementation. Therefore, the call to the function on
line 424 (within the while loop that is responsible for retrying the SQS
operation) always fails and kills the script.

What version of the product are you using? On what operating system?
I've tried both 1.8d and the svn checkout

Original issue reported on code.google.com by macwri...@gmail.com on 14 Jul 2009 at 9:57

GoogleCodeExporter commented 9 years ago
Investigating.

Original comment by Mitch.Ga...@gmail.com on 15 Jul 2009 at 2:45

GoogleCodeExporter commented 9 years ago
Update: running small operations that only yield a file or two works, so the 
problem 
is definitely in long, long strings of files being sent to SQS. However, this 
exception-handling problem remains unchanged.

Original comment by macwri...@gmail.com on 15 Jul 2009 at 2:51

GoogleCodeExporter commented 9 years ago
r1210 removes the call to create_connections from the except block since it is 
no
longer needed.  

Original comment by Mitch.Ga...@gmail.com on 15 Jul 2009 at 6:38

GoogleCodeExporter commented 9 years ago
This issue was closed by r1211.

Original comment by Mitch.Ga...@gmail.com on 15 Jul 2009 at 6:40

GoogleCodeExporter commented 9 years ago
Fantastic, thanks for your great work on this project!

Original comment by macwri...@gmail.com on 15 Jul 2009 at 6:43