urllib3 - Failed to establish a new connection: [Errno 111]

iamnewuser picture iamnewuser · Nov 20, 2015 · Viewed 14.2k times · Source

I am working in the code modifications on my local setup of openstack Designate.

Actually it was working fine before.

But now I am trying to execute the same command which was working fine before.

Unfortunately now for the same command, I am getting an error which is as follows:

root@newds:~# designate record-list 5e18999d-1b4c-43f9-94e8-2bb2aab46aa0
ERROR: HTTPConnectionPool(host='127.0.0.1', port=9001): Max retries exceeded with url: /v1//domains/5e18999d-1b4c-43f9-94e8-2bb2aab46aa0/records (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f2077e2c210>: Failed to establish a new connection: [Errno 111] Connection refused',))

Some one help me to sort this out.

Answer

iamnewuser picture iamnewuser · Nov 20, 2015

I found the solution myself.

Actually it was an error with the packages which was corrupted.

I re-installed the same.

So that I can be able to see that it was back to working state as normal.