Skip to content

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

@0x0elliot

Description

@0x0elliot

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions