Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Abdullah7643 opened this issue Apr 5, 2024 · 0 comments

Comments

@Abdullah7643
Copy link

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'))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant