Skip to content

x-request-id identic while uploading and (batch) deleting files #11925

@butonic

Description

@butonic

When checking the logs I see multiple delete requests with the sambe request id 78df25d3-da57-4afc-b0fa-1b879a059783:

2024-11-18 17:00:58.335	
{"level":"info","service":"proxy","proto":"HTTP/1.1","request-id":"78df25d3-da57-4afc-b0fa-1b879a059783","traceid":"c832d180391a7de3aecf1aa74baedfbb","remote-addr":"77.21.27.45","method":"DELETE","status":204,"path":"/remote.php/dav/spaces/52a78aa9-aba0-4403-a5d5-421cb51766ea$16a17b88-aff0-4a8d-89f2-a1e34f25d6a3/1000_4k/f18.bin","duration":575.723237,"bytes":0,"time":"2024-11-18t16:00:58Z","line":"github.com/owncloud/ocis/v2/services/proxy/pkg/middleware/accesslog.go:34","message":"access-log"}
	
	
2024-11-18 17:00:57.662	
{"level":"info","service":"proxy","proto":"HTTP/1.1","request-id":"78df25d3-da57-4afc-b0fa-1b879a059783","traceid":"9790231858154f715b03a3f1b56fc912","remote-addr":"77.21.27.45","method":"DELETE","status":204,"path":"/remote.php/dav/spaces/52a78aa9-aba0-4403-a5d5-421cb51766ea$16a17b88-aff0-4a8d-89f2-a1e34f25d6a3/1000_4k/f11.bin","duration":623.722751,"bytes":0,"time":"2024-11-18t16:00:57Z","line":"github.com/owncloud/ocis/v2/services/proxy/pkg/middleware/accesslog.go:34","message":"access-log"}
	
	
2024-11-18 17:00:56.479	
{"level":"info","service":"proxy","proto":"HTTP/1.1","request-id":"78df25d3-da57-4afc-b0fa-1b879a059783","traceid":"5de615cf1ae22214bd6f79cd071e4d40","remote-addr":"77.21.27.45","method":"DELETE","status":502,"path":"/remote.php/dav/spaces/52a78aa9-aba0-4403-a5d5-421cb51766ea$16a17b88-aff0-4a8d-89f2-a1e34f25d6a3/1000_4k/f15.bin","duration":30018.324353,"bytes":0,"time":"2024-11-18t16:00:56Z","line":"github.com/owncloud/ocis/v2/services/proxy/pkg/middleware/accesslog.go:34","message":"access-log"}
	
	
2024-11-18 17:00:26.421	
{"level":"info","service":"proxy","proto":"HTTP/1.1","request-id":"78df25d3-da57-4afc-b0fa-1b879a059783","traceid":"853aa3dc79b34e9c448ae4b9007e6966","remote-addr":"77.21.27.45","method":"DELETE","status":204,"path":"/remote.php/dav/spaces/52a78aa9-aba0-4403-a5d5-421cb51766ea$16a17b88-aff0-4a8d-89f2-a1e34f25d6a3/1000_4k/f13.bin","duration":674.282122,"bytes":0,"time":"2024-11-18t16:00:26Z","line":"github.com/owncloud/ocis/v2/services/proxy/pkg/middleware/accesslog.go:34","message":"access-log"}
	
	
2024-11-18 17:00:25.503	
{"level":"info","service":"proxy","proto":"HTTP/1.1","request-id":"78df25d3-da57-4afc-b0fa-1b879a059783","traceid":"4fde1d099e1ff0dcd6e612cba7648a6e","remote-addr":"77.21.27.45","method":"DELETE","status":502,"path":"/remote.php/dav/spaces/52a78aa9-aba0-4403-a5d5-421cb51766ea$16a17b88-aff0-4a8d-89f2-a1e34f25d6a3/1000_4k/f1.bin","duration":30105.127429,"bytes":0,"time":"2024-11-18t16:00:25Z","line":"github.com/owncloud/ocis/v2/services/proxy/pkg/middleware/accesslog.go:34","message":"access-log"}

I was selecting multiple files in a folder and then hitting delete.

cc @micbar mentioned that he also sew this with upload requests.

Metadata

Metadata

Assignees

Labels

Priority:p2-highEscalation, on top of current planning, release blockerType:BugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions