Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Rocket error crashing pod #284

Closed
jpalvarezl opened this issue Feb 25, 2021 · 2 comments
Closed

Rocket error crashing pod #284

jpalvarezl opened this issue Feb 25, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@jpalvarezl
Copy link
Contributor

[2021-02-25T13:17:19Z ERROR rocket::rocket] Failed to write response: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }

Error causes the pod to crash. The issue has been documented here:

Seems like the cause can be the size of the Content-Length or spikes in requests/second.

@jpalvarezl jpalvarezl added the bug Something isn't working label Feb 25, 2021
@jpalvarezl
Copy link
Contributor Author

jpalvarezl commented Mar 1, 2021

I have been reading a bit more about this. The issue could be associated with write! as some links might suggest:

As far as I get it there is a stream into which we are trying to write that somehow becomes inaccessible from our end? Could be the changes we did in the responder to handle errors better that's somehow tripping up with deserialising errors or something like that?

Solutions? Not sure if we can call them solutions, maybe just workarounds worth trying:

@mtb-pro
Copy link

mtb-pro commented Aug 2, 2021

I had this problem before
your rpc port is under attack
your rpc port should be restricted to a specific IP

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants