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
Navigate to the Documents page
Click to upload a document
Select a medium-sized file (1-5MB, e.g., PDF or high-res image)
Observe progress indicator flash briefly
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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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
/documents)Steps to Reproduce
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
Additional Context
Unrelated 500 error also observed on ownership costs endpoint (may be separate issue):
Potential Causes
Acceptance Criteria