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

No works for me, any idea??? #130

Open
bepece1 opened this issue Sep 9, 2024 · 0 comments
Open

No works for me, any idea??? #130

bepece1 opened this issue Sep 9, 2024 · 0 comments

Comments

@bepece1
Copy link

bepece1 commented Sep 9, 2024

No works for me, any idea???

attach log:

2024-09-09 14:02:27,814 - INFO - Started r_soccer_goals bot
2024-09-09 14:02:27,880 - INFO - fetching submissions
2024-09-09 14:02:28,136 - ERROR - failed to load data from subreddit
  + Exception Group Traceback (most recent call last):
  |   File "//main.py", line 322, in <module>
  |     asyncio.run(main())
  |   File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
  |     return runner.run(main)
  |            ^^^^^^^^^^^^^^^^
  |   File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
  |     return self._loop.run_until_complete(task)
  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |   File "uvloop/loop.pyx", line 1517, in uvloop.loop.Loop.run_until_complete
  |   File "//main.py", line 311, in main
  |     async with asyncio.TaskGroup() as tg:
  |   File "/usr/local/lib/python3.11/asyncio/taskgroups.py", line 145, in __aexit__
  |     raise me from None
  | ExceptionGroup: unhandled errors in a TaskGroup (2 sub-exceptions)
  +-+---------------- 1 ----------------
    | Traceback (most recent call last):
    |   File "/root/.local/lib/python3.11/site-packages/redis/connection.py", line 277, in connect
    |     sock = self.retry.call_with_retry(
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/root/.local/lib/python3.11/site-packages/redis/retry.py", line 62, in call_with_retry
    |     return do()
    |            ^^^^
    |   File "/root/.local/lib/python3.11/site-packages/redis/connection.py", line 278, in <lambda>
    |     lambda: self._connect(), lambda error: self.disconnect(error)
    |             ^^^^^^^^^^^^^^^
    |   File "/root/.local/lib/python3.11/site-packages/redis/connection.py", line 607, in _connect
    |     for res in socket.getaddrinfo(
    |                ^^^^^^^^^^^^^^^^^^^
    |   File "/usr/local/lib/python3.11/socket.py", line 962, in getaddrinfo
    |     for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | socket.gaierror: [Errno -2] Name does not resolve
    |
    | During handling of the above exception, another exception occurred:
    |
    | Traceback (most recent call last):
    |   File "//main.py", line 244, in worker
    |     submission_id = cache.rpop(QUEUE_KEY)
    |                     ^^^^^^^^^^^^^^^^^^^^^
    |   File "/root/.local/lib/python3.11/site-packages/redis/commands/core.py", line 2799, in rpop
    |     return self.execute_command("RPOP", name)
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/root/.local/lib/python3.11/site-packages/redis/client.py", line 545, in execute_command
    |     conn = self.connection or pool.get_connection(command_name, **options)
    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/root/.local/lib/python3.11/site-packages/redis/connection.py", line 1074, in get_connection
    |     connection.connect()
    |   File "/root/.local/lib/python3.11/site-packages/redis/connection.py", line 283, in connect
    |     raise ConnectionError(self._error_message(e))
    | redis.exceptions.ConnectionError: Error -2 connecting to redis:6379. Name does not resolve.
    +---------------- 2 ----------------
    | Traceback (most recent call last):
    |   File "/root/.local/lib/python3.11/site-packages/redis/connection.py", line 277, in connect
    |     sock = self.retry.call_with_retry(
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/root/.local/lib/python3.11/site-packages/redis/retry.py", line 62, in call_with_retry
    |     return do()
    |            ^^^^
    |   File "/root/.local/lib/python3.11/site-packages/redis/connection.py", line 278, in <lambda>
    |     lambda: self._connect(), lambda error: self.disconnect(error)
    |             ^^^^^^^^^^^^^^^
    |   File "/root/.local/lib/python3.11/site-packages/redis/connection.py", line 607, in _connect
    |     for res in socket.getaddrinfo(
    |                ^^^^^^^^^^^^^^^^^^^
    |   File "/usr/local/lib/python3.11/socket.py", line 962, in getaddrinfo
    |     for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | socket.gaierror: [Errno -2] Name does not resolve
    |
    | During handling of the above exception, another exception occurred:
    |
    | Traceback (most recent call last):
    |   File "//main.py", line 244, in worker
    |     submission_id = cache.rpop(QUEUE_KEY)
    |                     ^^^^^^^^^^^^^^^^^^^^^
    |   File "/root/.local/lib/python3.11/site-packages/redis/commands/core.py", line 2799, in rpop
    |     return self.execute_command("RPOP", name)
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/root/.local/lib/python3.11/site-packages/redis/client.py", line 545, in execute_command
    |     conn = self.connection or pool.get_connection(command_name, **options)
    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/root/.local/lib/python3.11/site-packages/redis/connection.py", line 1074, in get_connection
    |     connection.connect()
    |   File "/root/.local/lib/python3.11/site-packages/redis/connection.py", line 283, in connect
    |     raise ConnectionError(self._error_message(e))
    | redis.exceptions.ConnectionError: Error -2 connecting to redis:6379. Name does not resolve.
    +------------------------------------

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