Skip to content

Getting Error : "ConnectionError: HTTPConnectionPool(host='0.0.0.0', port=9999): Max retries exceeded with url: /ravop/developer/add/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x739a098c6730>: Failed to establish a new connection: [Errno 111] Connection refused'))" #48

@Abdullah7643

Description

@Abdullah7643

for the following code i am getting the connection error
TOKEN = os.getenv('RAVENVERSE_TOKEN')
R.initialize(TOKEN)

2024-04-05 15:43:34,990 [MainThread ] [DEBUG] Checking version of Ravop...
2024-04-05 15:43:35,329 [MainThread ] [DEBUG] Initializing...
2024-04-05 15:43:35,332 [MainThread ] [DEBUG] Creating FTP developer credentials...

ConnectionRefusedError Traceback (most recent call last)
File ~/anaconda3/envs/raven_env/lib/python3.8/site-packages/urllib3/connection.py:174, in HTTPConnection._new_conn(self)
173 try:
--> 174 conn = connection.create_connection(
175 (self._dns_host, self.port), self.timeout, **extra_kw
176 )
178 except SocketTimeout:

File ~/anaconda3/envs/raven_env/lib/python3.8/site-packages/urllib3/util/connection.py:95, in create_connection(address, timeout, source_address, socket_options)
94 if err is not None:
---> 95 raise err
97 raise socket.error("getaddrinfo returns an empty list")

File ~/anaconda3/envs/raven_env/lib/python3.8/site-packages/urllib3/util/connection.py:85, in create_connection(address, timeout, source_address, socket_options)
84 sock.bind(source_address)
---> 85 sock.connect(sa)
86 return sock

ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

NewConnectionError Traceback (most recent call last)
File ~/anaconda3/envs/raven_env/lib/python3.8/site-packages/urllib3/connectionpool.py:715, in HTTPConnectionPool.urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
...
--> 519 raise ConnectionError(e, request=request)
521 except ClosedPoolError as e:
522 raise ConnectionError(e, request=request)

ConnectionError: HTTPConnectionPool(host='0.0.0.0', port=9999): Max retries exceeded with url: /ravop/developer/add/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x739a098c6730>: Failed to establish a new connection: [Errno 111] Connection refused'))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions