Skip to content

COPYing a file in status 425 causes an internal server error #505

Closed

Description

@aduffeck

Copying a file which is still in postprocessing using COPY currently results in a 500 internal server error:

2026-01-21T11:16:15+01:00 ERR error copying data to response error=EOF datatx=spaces handler=download host.name=gemini line=/home/andre/src/opencloud/reva/pkg/rhttp/datatx/utils/download/download.go:258 path=/ pkg=rhttp request-id=gemini/kvbL3P5Xep-000268 resourceid={"opaque_id":"13a4eef1-84d6-45b1-9124-9defbe6ae6c1","space_id":"eae0c4bf-01fc-4e77-8483-db10202b7fee","storage_id":"a9033d65-6c13-4556-b923-f321ab33a9ca"} service=storage-users spaceid=a9033d65-6c13-4556-b923-f321ab33a9ca$eae0c4bf-01fc-4e77-8483-db10202b7fee!13a4eef1-84d6-45b1-9124-9defbe6ae6c1 svc=datatx
2026-01-21T11:16:15+01:00 ERR error writing body after header were set error="unexpected EOF" host.name=gemini line=/home/andre/src/opencloud/reva/internal/http/services/datagateway/datagateway.go:218 pkg=rhttp request-id=gemini/kvbL3P5Xep-000267 service=frontend traceid=854dcfd8af17078711f58ad2666ae361
2026-01-21T11:16:15+01:00 ??? httputil: ReverseProxy read error during body copy: unexpected EOF line=/home/andre/src/go/pkg/mod/github.com/rs/[email protected]/log.go:478 service=proxy
2026-01-21T11:16:15+01:00 ERR error descending directory error="Get \"https://localhost:9200/data\": stream error: stream ID 15; INTERNAL_ERROR; received from peer" depth=infinity destination=/a9033d65-6c13-4556-b923-f321ab33a9ca$eae0c4bf-01fc-4e77-8483-db10202b7fee/Rm5WVlhMdUF3Y3dPeUJpaXVHVnNtblBvc3VacFp1RGh5RHFteENWdmNHaE9vSnVwSWoudHh0.copy host.name=gemini line=/home/andre/src/opencloud/reva/internal/http/services/owncloud/ocdav/copy.go:372 path=/Rm5WVlhMdUF3Y3dPeUJpaXVHVnNtblBvc3VacFp1RGh5RHFteENWdmNHaE9vSnVwSWoudHh0 pkg=rhttp request-id=gemini/kvbL3P5Xep-000265 service=frontend spaceid=a9033d65-6c13-4556-b923-f321ab33a9ca$eae0c4bf-01fc-4e77-8483-db10202b7fee traceid=4b94b01eeac1c551df7a81fc604e47e8

This situation should be handled properly, returning a 425 TOO EARLY just like with GET requests as well.

Activity

  1. self-assigned this
    on Jan 21, 2026
  2. v-scharf commented on Jan 26, 2026

    @v-scharf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions