DetaBase status code 504 #276
-
I use DetaBase, but the server returns 504 ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-2571' coro=<on_message_create() done, defined at D:\Desktop\Projects\NX\main.py:4797> exception=ClientResponseError(RequestInfo(url=URL('https://database.deta.sh/v1///items/'), method='GET', headers=<CIMultiDictProxy('Host': 'database.deta.sh', 'Content-type': 'application/json', 'X-API-Key': 'c07ph2en_coXjd2ekW2LJCBrYSqTHyfKsvsrSdNNF', 'Accept': '*/*', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Python/3.9 aiohttp/3.8.1')>, real_url=URL('https://database.deta.sh/v1///items/')), (), status=504, message='Gateway Time-out', headers=<CIMultiDictProxy('Date': 'Wed, 15 Jun 2022 02:29:23 GMT', 'Content-Type': 'text/html', 'Content-Length': '164', 'Connection': 'keep-alive', 'Server': 'Deta')>)>
Traceback (most recent call last):
File "D:\Desktop\Projects\NX\main.py", line 4806, in on_message_create
res = await translate_dict.get(str(message.guild_id))
File "C:\Users\ikki1\AppData\Local\Programs\Python\Python39\lib\site-packages\deta\_async\client.py", line 49, in get
raise e
File "C:\Users\ikki1\AppData\Local\Programs\Python\Python39\lib\site-packages\deta\_async\client.py", line 43, in get
async with self._session.get(f"{self._base_url}/items/{key}") as resp:
File "C:\Users\ikki1\AppData\Local\Programs\Python\Python39\lib\site-packages\aiohttp\client.py", line 1138, in __aenter__
self._resp = await self._coro
File "C:\Users\ikki1\AppData\Local\Programs\Python\Python39\lib\site-packages\aiohttp\client.py", line 640, in _request
resp.raise_for_status()
File "C:\Users\ikki1\AppData\Local\Programs\Python\Python39\lib\site-packages\aiohttp\client_reqrep.py", line 1004, in raise_for_status
raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 504, message='Gateway Time-out', url=URL('https://database.deta.sh/v1///items/') |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
|
Beta Was this translation helpful? Give feedback.
-
The endpoint you are requesting ( |
Beta Was this translation helpful? Give feedback.
-
This seems to be a server issue. |
Beta Was this translation helpful? Give feedback.
This seems to be a server issue.
I didn't solve it, but I'm going to mark it as solved.