This is a reroll of the major issue (clearly and easily reproducible) I commented about in NoSuchKey: Cells silently mis-uploaded files on S3 storage (now closed, but which contains all the gory details).
Multi-MB files consistently fail to be uploaded to S3 triggering a variety of errors:
cells.log
{"level":"info","ts":1671762577.533683,"msg":"http: proxy error: context canceled"}
pydio.log
{"level":"error","ts":"2022-12-23T03:34:59+01:00","logger":"pydio.gateway.data","msg":"PutObjectPart has failed","error":"Put \"https://xxxyyy.s3.dualstack.eu-central-1.amazonaws.com/pydio/c2960499-49d9-45ef-aeb0-86be1197abbb?partNumber=2&uploadId=lPi4HhnfP8Nj..GuzBHx0gHMArDzwyD4YZn8NG4twvqVKIGYgvPmmvbtqa4.19LpFWM5MIYwn6bRIPvgPgIBksRHoSAydcco1jKBeUifUUmJ5qIERhPTScbZktQe0v_.\": context canceled","RemoteAddress":"<client IP>","UserAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/108.0","ContentType":"application/octet-stream","HttpProtocol":"HTTP/1.1","UserName":"admin","UserUuid":"a69dd805-fd54-4c56-9b5f-xxx","GroupPath":"/","Profile":"admin","Roles":"ROOT_GROUP,ADMINS,a69dd805-fd54-4c56-9b5f-xxx"}
Contrary to 3.0.9, caddy_errors.log
doesn’t output anything anymore (not even the 502
HTTP error codes it used to show).
The ability to DUMP THE TRAFFIC and DEBUG WHAT’S GOING ON is more pressing than ever.
I’d love to pinpoint from the traffic, where in the stack lays the error. Is it a missing header/query-string/timeout/token? A content-type? Is it between the client and Pydio? Pydio and AWS? In a request? A response?
But I can’t because Pydio makes me BLIND <add here tons of !>
With HTTPS omnipresence, tcpdump is of no use. So please, please, please, at the very least, add an environment variable like DUMP_TRAFFIC=1
(modeled after Apache2 mod_dumpio
) which would log every possible packet inside a all-packets.log
)
Because the only thing more frustrating than a 6 months old critical reproducible bug in production regarding failing file uploads is … the inability to actually debug/pinpoint its origin.
Thank you