Document upload fails with timeout error on medium-sized files #33

Closed
opened 2026-01-15 02:12:49 +00:00 by egullickson · 0 comments
Owner

Summary

Document uploads from the Documents page fail with a "timeout of 10000ms exceeded" error when uploading medium-sized files (1-5MB). The upload progress indicator briefly flashes a percentage before the timeout error appears.

Environment

  • Location: Staging server
  • Page: Documents page (/documents)
  • Reproducibility: 100% - happens every time

Steps to Reproduce

  1. Navigate to the Documents page
  2. Click to upload a document
  3. Select a medium-sized file (1-5MB, e.g., PDF or high-res image)
  4. Observe progress indicator flash briefly
  5. Error appears: "timeout of 10000ms exceeded"

Expected Behavior

Document upload should complete successfully regardless of file size (within reasonable limits).

Actual Behavior

Upload times out after 10 seconds before completing.

Console Errors

timeout of 10000ms exceeded

Additional Context

Unrelated 500 error also observed on ownership costs endpoint (may be separate issue):

/api/ownership-costs/vehicle/2d350b3e-64f3-4c48-ab79-af1900ac961e:1 Failed to load resource: the server responded with a status of 500 ()

Potential Causes

  • Frontend API client timeout configuration too short for larger uploads
  • Backend upload handling may need streaming or chunked upload support
  • Traefik/proxy timeout settings may be limiting request duration

Acceptance Criteria

  • Medium-sized files (1-5MB) upload successfully
  • Appropriate timeout configured for upload endpoints
  • Progress indicator reflects actual upload progress
  • Error handling provides user-friendly feedback if upload fails
## Summary Document uploads from the Documents page fail with a "timeout of 10000ms exceeded" error when uploading medium-sized files (1-5MB). The upload progress indicator briefly flashes a percentage before the timeout error appears. ## Environment - **Location**: Staging server - **Page**: Documents page (`/documents`) - **Reproducibility**: 100% - happens every time ## Steps to Reproduce 1. Navigate to the Documents page 2. Click to upload a document 3. Select a medium-sized file (1-5MB, e.g., PDF or high-res image) 4. Observe progress indicator flash briefly 5. Error appears: "timeout of 10000ms exceeded" ## Expected Behavior Document upload should complete successfully regardless of file size (within reasonable limits). ## Actual Behavior Upload times out after 10 seconds before completing. ## Console Errors ``` timeout of 10000ms exceeded ``` ## Additional Context Unrelated 500 error also observed on ownership costs endpoint (may be separate issue): ``` /api/ownership-costs/vehicle/2d350b3e-64f3-4c48-ab79-af1900ac961e:1 Failed to load resource: the server responded with a status of 500 () ``` ## Potential Causes - Frontend API client timeout configuration too short for larger uploads - Backend upload handling may need streaming or chunked upload support - Traefik/proxy timeout settings may be limiting request duration ## Acceptance Criteria - [ ] Medium-sized files (1-5MB) upload successfully - [ ] Appropriate timeout configured for upload endpoints - [ ] Progress indicator reflects actual upload progress - [ ] Error handling provides user-friendly feedback if upload fails
egullickson added the
type
bug
status
in-progress
labels 2026-01-15 02:14:44 +00:00
egullickson added
status
review
and removed
status
in-progress
labels 2026-01-15 02:16:40 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: egullickson/motovaultpro#33