machinaris: Internal Server Error / Webui going down

Describe the bug Webserver started to go down quite frequently. When opening webui I would get:

Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

Logs seem to show everything is still up, at least I think. Not errors except permission stuff. The permission stuff is because I open up my entire config folder for all Docker containers for easy editing. Is it going down because of this permission issue or are these just soft warnings from Chia itself?

today at 8:06:48 AM One or more SSL files were found with permission issues.
today at 8:06:48 AM Run `chia init --fix-ssl-permissions` to fix issues.
today at 8:06:49 AM @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
today at 8:06:49 AM @             WARNING: UNPROTECTED SSL FILE!              @
today at 8:06:49 AM @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

To Reproduce

Steps to reproduce the behavior, e.g.:

  1. Start Machinaris
  2. Leave it running for a period of time
  3. Eventually webui goes down

Expected behavior Webui to not crash ๐Ÿ˜› Or maybe re-start/notify in logs if it does.

System setup:

  • OS: Debian 10 (buster)
  • Docker version number (output of docker info): Docker version 20.10.8, build 3967b7d (btw command docker -v gives this output quicker/easier to find)
  • Machinaris branch: main
  • Machinaris version number (see bottom of every Machinaris page): Machinaris 0.5.4

Config

full configuration
# paste your Docker run or Docker compose here

Additional context & screenshots

apisrv.log

[2021-09-02 08:44:43 -0700] [17411] [INFO] Failed to load plotting summary and send.
[2021-09-02 08:44:43 -0700] [17411] [INFO] Traceback (most recent call last):
  File "/machinaris/api/schedules/status_plotting.py", line 23, in update
    plotting_summary = plotman_cli.load_plotting_summary()
  File "/machinaris/api/commands/plotman_cli.py", line 46, in load_plotting_summary
    raise Exception("Errors during plotman status:\n {0}".format(errs.decode('utf-8')))
Exception: Errors during plotman status:
 /bin/sh: 1: cannot open /dev/tty: No such device or address

webui.log

[2021-09-02 08:07:38 -0700] [17413] [INFO] Starting gunicorn 20.1.0
[2021-09-02 08:07:38 -0700] [17413] [INFO] Listening at: http://0.0.0.0:8926 (17413)
[2021-09-02 08:07:38 -0700] [17413] [INFO] Using worker: sync
[2021-09-02 08:07:38 -0700] [17524] [INFO] Booting worker with pid: 17524
[2021-09-02 08:07:38 -0700] [17555] [INFO] Booting worker with pid: 17555

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (6 by maintainers)

Most upvoted comments

So far so good. That must have been it. If it doesnโ€™t go down in the next day, closing this out. Thank you! ๐Ÿ˜ƒ