Skip to content

Constant timeouts - unable to access my Mathesar (Docker) site #3464

@amca01

Description

@amca01

Thanks to the help of the developers, I've got Mathesar running as a Docker container, using SWAG as a reverse proxy (this is basically nginx plus a few other nice things). However, although the site is live (I can ping it) and I have been able to access it once or twice, most of the time it just hangs until I get a timeout error.

The Docker logs contain lots of:

[2024-02-28 21:05:33 +0000] [53] [INFO] Booting worker with pid: 53
[2024-02-28 21:06:05 +0000] [8] [CRITICAL] WORKER TIMEOUT (pid:53)
[2024-02-28 21:06:05 +0000] [53] [INFO] Worker exiting (pid: 53)
[2024-02-28 21:06:06 +0000] [71] [INFO] Booting worker with pid: 71
[2024-02-28 21:06:38 +0000] [8] [CRITICAL] WORKER TIMEOUT (pid:71)
[2024-02-28 21:06:38 +0000] [71] [INFO] Worker exiting (pid: 71)
[2024-02-28 21:06:38 +0000] [89] [INFO] Booting worker with pid: 89
[2024-02-28 21:07:10 +0000] [8] [CRITICAL] WORKER TIMEOUT (pid:89)
[2024-02-28 21:07:10 +0000] [89] [INFO] Worker exiting (pid: 89)

which might be due to gunicorn. But I don't know what is causing this behaviour, or how to stop it. I was able to access the superuser creation dialog, but having entered a username and password, everything just stopped. Sometime later I tried the site again and this time was greeted with a login page. However, once entering my details, again the site hanged until I got a timeout error. I've restarted the container several times, which I shouldn't have to do.

Anyway, I'd be happy to know what's causing this behaviour, and how it can be overcome!

--

Note also I've sent this as an email to the developers, and to the Mathesar and selfhosted subreddits. I'm not sure what's the best place to ask for help. I appreciate that this is a relatively new project, with a small development team and probably not a lot of users as yet. But everything about it promises well, and I'd at least like to have it up and running so that I can take it for a good solid test-run!

Many thanks indeed,
Alasdair

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: troubleshootingIssues that we can't reproduce or need to investigate further before picking a course of actionrestricted: maintainersOnly maintainers can resolve this issuetype: buguser reportedReported by a Mathesar user

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions