Well, I seem to have somehow reverted back to the same problem with
the gaierror when trying to connect despite being on the latest
version of boto (1.6b).
As I mentioned, I still don't have any problem with the existing site
which uses a different S3 account. I even plugged the Access Key,
Secret Key and Bucket from the working site into the settings.py file
for the new site, and things worked fine. Conversely, when I plugged
the Access Key, Secret Key and Bucket from the new site into the
settings.py file for the working site, it gave me the same gaierror
error.
I've narrowed down the error to the line "connection.request(method,
path, data, headers)" which is just inside the main while loop in the
function _mexe() in the file boto/connection.py. When I add some print
statements to see what's going on, I can see that the arguments to
request() are exactly the same for both the old and new sites except
for the Access Key and Secret Key, so it's almost as if something is
wrong with the new S3 account itself. However, I can easily connect to
both S3 accounts through an app like Transmit.app, so I'm not sure
that's it.
Is there something I have to do to allow boto to access a "new" S3
account that I either did not have to when I set up the old one or
that I have just forgotten? If that's not it, does boto save some S3
account information somewhere that prevents me from going back and
forth between S3 accounts?