Facebook
From shimijda, 7 Months ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 236
  1. 2023-09-09 16:24:55 ERROR    discord.ext.commands.bot Ignoring exception in command server_restart
  2. Traceback (most recent call last):
  3.   File "/home/container/.local/lib/python3.8/site-packages/discord/ext/commands/core.py", line 235, in wrapped
  4.     ret = await coro(*args, **kwargs)
  5.   File "/home/container/panel_cog.py", line 170, in server_restart
  6.     await self.power_action("restart")
  7.   File "/home/container/panel_cog.py", line 189, in power_action
  8.     await self.block_to_async(fn)
  9.   File "/home/container/panel_cog.py", line 51, in block_to_async
  10.     return await loop.run_in_executor(None, partial)
  11.   File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
  12.     result = self.fn(*self.args, **self.kwargs)
  13.   File "/home/container/.local/lib/python3.8/site-packages/pydactyl/api/client.py", line 80, in send_power_action
  14.     response = self._api_request(
  15.   File "/home/container/.local/lib/python3.8/site-packages/pydactyl/api/base.py", line 100, in _api_request
  16.     response.raise_for_status()
  17.   File "/home/container/.local/lib/python3.8/site-packages/requests/models.py", line 941, in raise_for_status
  18.     raise HTTPError(http_error_msg, response=self)
  19. requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://panel.ganomus.com/api/client/servers/3e0ea2eb/power
  20. The above exception was the direct cause of the following exception:
  21. Traceback (most recent call last):
  22.   File "/home/container/.local/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 1350, in invoke
  23.     await ctx.command.invoke(ctx)
  24.   File "/home/container/.local/lib/python3.8/site-packages/discord/ext/commands/core.py", line 1029, in invoke
  25.     await injected(*ctx.args, **ctx.kwargs)  # type: ignore
  26.   File "/home/container/.local/lib/python3.8/site-packages/discord/ext/commands/core.py", line 244, in wrapped
  27.     raise CommandInvokeError(exc) from exc
  28. discord.ext.commands.errors.CommandInvokeError: Command raised an exception: HTTPError: 403 Client Error: Forbidden for url: https://panel.ganomus.com/api/client/servers/3e0ea2eb/power