Advertisement
basedcount_bot

ServerError: received 503 HTTP response

Dec 16th, 2024
33
0
1 day
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 3.26 KB | None | 0 0
  1. Traceback (most recent call last):
  2.   File "/home/gmktec/Programming/Bots/basedcount_bot/basedcount_bot.py", line 46, in wrapper
  3.     await func(reddit_instance, mongo_client)
  4.   File "/home/gmktec/Programming/Bots/basedcount_bot/basedcount_bot.py", line 123, in check_mail
  5.     async for message in reddit_instance.inbox.unread(limit=None):  # Message
  6.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncpraw/models/listing/generator.py", line 37, in __anext__
  7.     await self._next_batch()
  8.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncpraw/models/listing/generator.py", line 90, in _next_batch
  9.     self._listing = await self._reddit.get(self.url, params=self.params)
  10.                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  11.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncpraw/util/deprecate_args.py", line 54, in wrapped
  12.     return await _wrapper(*args, **kwargs)
  13.            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  14.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncpraw/reddit.py", line 813, in get
  15.     return await self._objectify_request(method="GET", params=params, path=path)
  16.            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  17.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncpraw/reddit.py", line 570, in _objectify_request
  18.     await self.request(
  19.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncpraw/util/deprecate_args.py", line 54, in wrapped
  20.     return await _wrapper(*args, **kwargs)
  21.            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  22.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncpraw/reddit.py", line 1061, in request
  23.     return await self._core.request(
  24.            ^^^^^^^^^^^^^^^^^^^^^^^^^
  25.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncprawcore/sessions.py", line 383, in request
  26.     return await self._request_with_retries(
  27.            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  28.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncprawcore/sessions.py", line 305, in _request_with_retries
  29.     return await self._do_retry(
  30.            ^^^^^^^^^^^^^^^^^^^^^
  31.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncprawcore/sessions.py", line 170, in _do_retry
  32.     return await self._request_with_retries(
  33.            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  34.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncprawcore/sessions.py", line 305, in _request_with_retries
  35.     return await self._do_retry(
  36.            ^^^^^^^^^^^^^^^^^^^^^
  37.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncprawcore/sessions.py", line 170, in _do_retry
  38.     return await self._request_with_retries(
  39.            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  40.   File "/home/gmktec/Programming/Bots/basedcount_bot/.venv/lib/python3.11/site-packages/asyncprawcore/sessions.py", line 322, in _request_with_retries
  41.     raise self.STATUS_EXCEPTIONS[response.status](response)
  42. asyncprawcore.exceptions.ServerError: received 503 HTTP response
  43.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement