openHPI/poseidon

Could not write JSON response

Closed this issue · 2 comments

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 Issue: POSEIDON-6T

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.