Skip to content

bug: Database Manager infinite spinner → 500 Internal Server Error (timeout after 600s) #8261

@juwy

Description

@juwy

Describe the bug

Setup

  • Self-hosted Docker standalone mode (single container + PostgreSQL 16)
  • Image: ghcr.io/windmill-labs/windmill:latest
  • Version: CE v1.648.0-9-g4a14e9436e
  • DATABASE_URL=postgres://windmill:***@db/windmill?sslmode=disable
  • Workers alive: 1, database healthy: true
  • Regular scripts execute fine

Browser console

Failed to load resource: the server responded with a status of 500 (Internal Server Error)
ApiError: Internal Server Error

Excerpt from logs (filtered for non-INFO)

Failed to install rustls crypto provider
WARN: oauth.json not found, no OAuth clients loaded
WARN: SMTP not configured

ERROR windmill-common/src/error.rs:267: timeout after 600s
error=ExecutionErr("timeout after 600s") method=POST
uri=/api/w/my-first-workspace/jobs/run_wait_result/preview
traceId="e300044e-b8e4-4f14-83a4-2a989888cf96"

ERROR windmill-api/src/tracing_init.rs:39: response
latency=606957 status=500 method=POST
uri=/api/w/my-first-workspace/jobs/run_wait_result/preview

ERROR windmill-api/src/tracing_init.rs:50: response failure
latency=606957 method=POST
uri=/api/w/my-first-workspace/jobs/run_wait_result/preview

ERROR windmill-queue/src/jobs.rs:767: job 019cc8c4-7412-5753-b66b-bfde7d7daafb
in my-first-workspace did not succeed:
{"error":{"message":"Job canceled: http connection broke by admin",
"name":"Canceled","reason":"http connection broke","canceler":"admin"}}

Additional observations

  • pg_hba.conf: default + host all all all scram-sha-256

Possibly related

- #7451

To reproduce

Steps to reproduce

  1. Create a Data Table
  2. Click "Manage" → Database Manager opens
  3. Infinite loading spinner appears
  4. After ~10 minutes: 500 error in browser console

Expected behavior

Database Manager opens successfully

Screenshots

No response

Browser information

No response

Application version

No response

Additional Context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions