You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using docker to bring up jd4 image. But jd4 never connects, saying:
(I changed the port to 80 in docker-compose.yaml)
Traceback (most recent call last):
File "/venv/lib/python3.5/site-packages/jd4/daemon.py", line 157, in daemon
await session.login_if_needed(config['uname'], config['password'])
File "/venv/lib/python3.5/site-packages/jd4/api.py", line 93, in login_if_needed
await self.judge_noop()
File "/venv/lib/python3.5/site-packages/jd4/api.py", line 85, in judge_noop
await self.get_json('judge/noop')
File "/venv/lib/python3.5/site-packages/jd4/api.py", line 47, in get_json
params=kwargs) as response:
File "/venv/lib/python3.5/site-packages/aiohttp/client.py", line 690, in aenter
self._resp = yield from self._coro
File "/venv/lib/python3.5/site-packages/aiohttp/client.py", line 267, in _request
conn = yield from self._connector.connect(req)
File "/venv/lib/python3.5/site-packages/aiohttp/connector.py", line 402, in connect
proto = yield from self._create_connection(req)
File "/venv/lib/python3.5/site-packages/aiohttp/connector.py", line 749, in _create_connection
_, proto = yield from self._create_direct_connection(req)
File "/venv/lib/python3.5/site-packages/aiohttp/connector.py", line 860, in _create_direct_connection
raise last_exc
File "/venv/lib/python3.5/site-packages/aiohttp/connector.py", line 832, in _create_direct_connection
req=req, client_error=client_error)
File "/venv/lib/python3.5/site-packages/aiohttp/connector.py", line 804, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host web:80 ssl:False [Connect call failed ('127.0.0.1', 80)]
[I 230227 07:13:41 daemon:165] Retrying after 30 seconds
[E 230227 07:14:11 daemon:164] Cannot connect to host web:80 ssl:False [Connect call failed ('127.0.0.1', 80)]
Traceback (most recent call last):
File "/venv/lib/python3.5/site-packages/aiohttp/connector.py", line 797, in _wrap_create_connection
return (yield from self._loop.create_connection(*args, **kwargs))
File "/usr/lib/python3.5/asyncio/base_events.py", line 775, in create_connection
raise exceptions[0]
File "/usr/lib/python3.5/asyncio/base_events.py", line 762, in create_connection
yield from self.sock_connect(sock, address)
File "/usr/lib/python3.5/asyncio/selector_events.py", line 451, in sock_connect
return (yield from fut)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in iter
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/selector_events.py", line 481, in _sock_connect_cb
raise OSError(err, 'Connect call failed %s' % (address,))
ConnectionRefusedError: [Errno 111] Connect call failed ('127.0.0.1', 80)
Anyone having the same problem?
The text was updated successfully, but these errors were encountered:
I'm using docker to bring up jd4 image. But jd4 never connects, saying:
(I changed the port to 80 in docker-compose.yaml)
Traceback (most recent call last):
File "/venv/lib/python3.5/site-packages/jd4/daemon.py", line 157, in daemon
await session.login_if_needed(config['uname'], config['password'])
File "/venv/lib/python3.5/site-packages/jd4/api.py", line 93, in login_if_needed
await self.judge_noop()
File "/venv/lib/python3.5/site-packages/jd4/api.py", line 85, in judge_noop
await self.get_json('judge/noop')
File "/venv/lib/python3.5/site-packages/jd4/api.py", line 47, in get_json
params=kwargs) as response:
File "/venv/lib/python3.5/site-packages/aiohttp/client.py", line 690, in aenter
self._resp = yield from self._coro
File "/venv/lib/python3.5/site-packages/aiohttp/client.py", line 267, in _request
conn = yield from self._connector.connect(req)
File "/venv/lib/python3.5/site-packages/aiohttp/connector.py", line 402, in connect
proto = yield from self._create_connection(req)
File "/venv/lib/python3.5/site-packages/aiohttp/connector.py", line 749, in _create_connection
_, proto = yield from self._create_direct_connection(req)
File "/venv/lib/python3.5/site-packages/aiohttp/connector.py", line 860, in _create_direct_connection
raise last_exc
File "/venv/lib/python3.5/site-packages/aiohttp/connector.py", line 832, in _create_direct_connection
req=req, client_error=client_error)
File "/venv/lib/python3.5/site-packages/aiohttp/connector.py", line 804, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host web:80 ssl:False [Connect call failed ('127.0.0.1', 80)]
[I 230227 07:13:41 daemon:165] Retrying after 30 seconds
[E 230227 07:14:11 daemon:164] Cannot connect to host web:80 ssl:False [Connect call failed ('127.0.0.1', 80)]
Traceback (most recent call last):
File "/venv/lib/python3.5/site-packages/aiohttp/connector.py", line 797, in _wrap_create_connection
return (yield from self._loop.create_connection(*args, **kwargs))
File "/usr/lib/python3.5/asyncio/base_events.py", line 775, in create_connection
raise exceptions[0]
File "/usr/lib/python3.5/asyncio/base_events.py", line 762, in create_connection
yield from self.sock_connect(sock, address)
File "/usr/lib/python3.5/asyncio/selector_events.py", line 451, in sock_connect
return (yield from fut)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in iter
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/selector_events.py", line 481, in _sock_connect_cb
raise OSError(err, 'Connect call failed %s' % (address,))
ConnectionRefusedError: [Errno 111] Connect call failed ('127.0.0.1', 80)
Anyone having the same problem?
The text was updated successfully, but these errors were encountered: