Skip to content

HTTP 408 when saving an edited attachment #1201

@davidandreoletti

Description

@davidandreoletti

Describe the bug.
With v2.5:

  • reading IC components pages work fine (HTTP 200, content is displayed on the page, HTTP request-response round trip is fast)
  • saving an edited attachment from any IC component page always fails due to the browser receives HTTP 408.
    • All subsequent attempt to load/reload the page fails (might be my proxy).
  • creating new parts always fails due to browser receiving HTTP 408.

To Reproduce (while editing an IC component)
Steps to reproduce the behavior:

  1. Assume you have a part created (eg: NE555) with 5 "url to images" as attachments.
  2. Click on the part
  3. Select Tools > Edit Part
  4. Delete the last attachment
  5. Press Save Changes

=> Observe the Safari Inspector the page is stuck until the browser receives HTTP 408
Image

=> Observe the PartDB server initiated the HTTP 408 (behind an Envoy-Gateway proxy)
Image

Expected behavior
Saving an edited attachment succeeds and no HTTP 408 is returned to the browser.

Screenshots
NA

Server Side

  • Part-DB Version: 2.5.0
  • PHP Version: 8.4.17
  • Database Server: sqlite 3.40.1

Desktop (please complete the following information):

  • OS: macOS 15.7
  • Browser: Safari
  • Version: 26.2

Smartphone (please complete the following information):
NA

Additional context
NA

Metadata

Metadata

Assignees

No one assigned

    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