Ask Your Question
0

ERROR (ClientException): Unknown Error (HTTP 407)

asked 2015-01-11 23:04:40 -0500

Aman gravatar image

Every time i got this error when i start services of openstack. i am unable to run commands because when i used to run command like nova list then it throw the error of client exception. What should be the solution for that?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-01-11 23:31:37 -0500

Error 407 Proxy Authentication Required

Do you have http_proxy environment variable set and forcing all request to go to your proxy?

Can you run nova --debug list and paste the output.

edit flag offensive delete link more

Comments

REQ: curl -i 'http://127.0.0.1:5000/v2.0/tokens' -X POST -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: python-novaclient" -d '{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "{SHA1}5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8"

Aman gravatar imageAman ( 2015-01-12 00:17:40 -0500 )edit

INFO (connectionpool:258) Starting new HTTP connection (1): proxy.abc.com DEBUG (connectionpool:375) Setting read timeout to 600.0 DEBUG (connectionpool:415) "POST http://127.0.0.1:5000/v2.0/tokens HTTP/1.1" 407 322 RESP: [407] CaseInsensitiveDict({'content-length': '322', 'via': '1.1 localhost.loca

Aman gravatar imageAman ( 2015-01-12 00:18:23 -0500 )edit

.localdomain', 'proxy-connection': 'keep-alive', 'content-language': 'en', 'proxy-authenticate': 'Negotiate, NTLM', 'cache-control': 'no-store', 'date': 'Mon, 12 Jan 2015 06:12:53 GMT', 'content-type': 'text/html'}) RESP BODY: null

DEBUG (shell:803) Unknown Error (HTTP 407)

Aman gravatar imageAman ( 2015-01-12 00:18:58 -0500 )edit

You have your environment set to talk to proxy.ABC.com . Why?

Run echo $http_proxy and you will see. Unset the variable, export http_proxy="". Rerun nova list.

sfcloudman gravatar imagesfcloudman ( 2015-01-12 01:00:29 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-01-11 23:04:40 -0500

Seen: 704 times

Last updated: Jan 11 '15