You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're getting 500 errors with cannot read request body, which seems to come from this line. I'm unable to recreate this on demand currently, so not sure if its a weird client request coming through or some other issue. I am surprised to see no err check for io.EOF though so wondering if its that? If not, have you seen these types of issues, and know what might cause them? We're logging the returned error, and it looks somewhat empty:
@nunoo sorry I have not run into this. We mainly use the humachi adapter, but underneath the hood it uses the same underlying standard library HTTP functionality. I don't think you need to check for io.EOF as described in the docs for io.Copy:
A successful Copy returns err == nil, not err == EOF. Because Copy is defined to read from src until EOF, it does not treat an EOF from Read as an error to be reported.
Happy to dig in more if you can provide a way to repro, but at this point I don't know how to debug this unfortunately.
We're getting 500 errors with
cannot read request body
, which seems to come from this line. I'm unable to recreate this on demand currently, so not sure if its a weird client request coming through or some other issue. I am surprised to see no err check forio.EOF
though so wondering if its that? If not, have you seen these types of issues, and know what might cause them? We're logging the returned error, and it looks somewhat empty:We're using humago adapter
The text was updated successfully, but these errors were encountered: