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

h11._util.LocalProtocolError: Too much data for declared Content-Length #127

Open
0x0elliot opened this issue Nov 10, 2023 · 0 comments
Open

Comments

@0x0elliot
Copy link
Contributor

What's happening here?
Screenshot 2023-11-10 at 12 20 11 PM

To me, this is probably happening because of notifications being sent through websockets being too heavy.

backend_app_thirdeye | return await self.app(scope, receive, send)
backend_app_thirdeye | File "/usr/local/lib/python3.9/site-packages/channels/routing.py", line 62, in call
backend_app_thirdeye | return await application(scope, receive, send)
backend_app_thirdeye | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/asgi.py", line 168, in call
backend_app_thirdeye | await self.send_response(response, send)
backend_app_thirdeye | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/asgi.py", line 257, in send_response
backend_app_thirdeye | await send({
backend_app_thirdeye | File "/usr/local/lib/python3.9/site-packages/uvicorn/protocols/http/h11_impl.py", line 530, in send
backend_app_thirdeye | output = self.conn.send(event)
backend_app_thirdeye | File "/usr/local/lib/python3.9/site-packages/h11/_connection.py", line 512, in send
backend_app_thirdeye | data_list = self.send_with_data_passthrough(event)
backend_app_thirdeye | File "/usr/local/lib/python3.9/site-packages/h11/_connection.py", line 545, in send_with_data_passthrough
backend_app_thirdeye | writer(event, data_list.append)
backend_app_thirdeye | File "/usr/local/lib/python3.9/site-packages/h11/_writers.py", line 65, in call
backend_app_thirdeye | self.send_data(event.data, write)
backend_app_thirdeye | File "/usr/local/lib/python3.9/site-packages/h11/_writers.py", line 91, in send_data
backend_app_thirdeye | raise LocalProtocolError("Too much data for declared Content-Length")
backend_app_thirdeye | h11._util.LocalProtocolError: Too much data for declared Content-Length

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

No branches or pull requests

1 participant