openHPI / poseidon

Scalable task execution orchestrator for CodeOcean
MIT License
8 stars 1 forks source link

Could not write JSON response #595

Closed sentry-io[bot] closed 1 month ago

sentry-io[bot] commented 4 months ago

Sentry Issue: POSEIDON-5M

Could not write JSON response: http: wrote more than the declared Content-Length

This happened when we as administrators opened some data below /proc.

sentry-io[bot] commented 1 month ago

Sentry Issue: POSEIDON-6T

mpass99 commented 1 month ago

The error occurs every time when a file is accessed without the required permissions, e.g. opening a user's /proc/23/environ as root or a root file as a normal user. It is caused by Poseidon trying to send more data (the error) than announced in the Content-Length.