Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Sentry] Exception Warp: Client closed connection prematurely while handling request #1422

Open
MSzalowski opened this issue Jun 24, 2024 · 1 comment · Fixed by #1435
Open
Assignees

Comments

@MSzalowski
Copy link
Contributor

Context & versions

Steps to reproduce

  1. Fetch /proposal/list
  2. Sometimes the client closes connection

Actual behavior

Sometimes the client closes connection.
Sentry log

Expected behavior

Exception should be handled and fixed

@jankun4 jankun4 linked a pull request Jun 25, 2024 that will close this issue
5 tasks
MSzalowski added a commit that referenced this issue Jun 26, 2024
…-client-closed-connection-prematurely-while-handling-request

[#1422] silence closed connection error
@MSzalowski MSzalowski reopened this Jun 26, 2024
@MSzalowski
Copy link
Contributor Author

I decided to temporarily disable the reporting of this error in order not to exceed the sentry limit. Warp is a haskell web-server. In its case, we have the user's entire request available, meaning that he or she has submitted his or her data, but there is a chance that the user interrupts operations at this stage, resulting in the above exception being thrown. This also only happens with a significant load during stress-testing.

I'll keep this issue as open and on To do to provide the solution instead of the workaround for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To do
Development

Successfully merging a pull request may close this issue.

2 participants