Re: [boto-users] socket.gaierror: [Errno 8] nodename nor servname provided, or not known

3,320 views
Skip to first unread message

Adrian Klaver

unread,
Feb 7, 2013, 3:45:16 PM2/7/13
to boto-...@googlegroups.com, Umasankar Sahu
On 02/07/2013 12:04 PM, Umasankar Sahu wrote:
> Hi,
>
> I am new to cloud computing.
>
> Done the ec2 command line API setup.
>
> Trying to execute the following:
>
> >>> from boto.ec2.connection import EC2Connection
> >>>conn = EC2Connection('<aws access key>', '<aws secret key>')
> >>>images = conn.get_all_images()
>

>
>
> Getting above error.
> It was working for me, now I am getting error.

So what changed between the time it worked and now?

>
> Any pointer how to fix the problem?
>
> Thanks
> Uma
>



--
Adrian Klaver
adrian...@gmail.com

Umasankar Sahu

unread,
Feb 7, 2013, 4:08:34 PM2/7/13
to Adrian Klaver, boto-...@googlegroups.com
installed s3cmd api tool and restarted the system.

Adrian Klaver

unread,
Feb 7, 2013, 4:50:24 PM2/7/13
to Umasankar Sahu, boto-...@googlegroups.com
On 02/07/2013 01:08 PM, Umasankar Sahu wrote:
> installed s3cmd api tool and restarted the system.

I have not used s3cmd so all I can do is make some suggestions.

1) Retry the boto code to see if it was just a network issue.

2) Check to see if s3cmd created env variables that conflict with boto.

3) Uninstall s3cmd and see if the problem goes away.



--
Adrian Klaver
adrian...@gmail.com

Chris Moyer

unread,
Feb 7, 2013, 5:29:23 PM2/7/13
to boto-...@googlegroups.com, Umasankar Sahu
it's possible that s3cmd installed a different version of boto too, if you do:

print boto.__file__ 

does it show the installation you made?






--
Adrian Klaver
adrian...@gmail.com

--
You received this message because you are subscribed to the Google Groups "boto-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to boto-users+unsubscribe@googlegroups.com.
To post to this group, send email to boto-...@googlegroups.com.
Visit this group at http://groups.google.com/group/boto-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.





--
Chris Moyer

Umasankar Sahu

unread,
Feb 7, 2013, 5:31:47 PM2/7/13
to Adrian Klaver, boto-...@googlegroups.com
I have set EC2_URL=https://ec2.eu-west-1.amazonaws.com

If I ping to ec2.eu-west-1.amazonaws.com

Request timeout

also not pinging with IP address.

is there any thing to be done for the above issue?

-uma

Umasankar Sahu

unread,
Feb 7, 2013, 6:11:03 PM2/7/13
to Chris Moyer, boto-...@googlegroups.com
returns the following.
how to determine?

>>> import boto
>>> print boto.__file__ 
boto/__init__.pyc

Thanks
Uma
Reply all
Reply to author
Forward
0 new messages