[Sentry] HUB-987-1J - LocalProtocolError: Too much data for declared Content-Length

906 views
Skip to first unread message

tae...@gmail.com

unread,
Apr 15, 2021, 7:51:35 PM4/15/21
to oTree help & discussion
Hello,

I am using oTree version 3 and received a message from Sentry like below:

''
Sentry] HUB-987-1J - LocalProtocolError: Too much data for declared Content-Length 

Exception
LocalProtocolError: Too much data for declared Content-Length (14 additional frame(s) were not displayed) 
... 

Message
Error in ASGI Framework
''

I don't know what it means.  Does it mean I need to erase some columns in data?  I made a quick check for test data, and it looks having all columns.  However, I need to increase them because there are more rounds.

I would appreciate if you let me know how to fix this error or a way to increase data capacity. 

Thank you,
Taeksang

Chris @ oTree

unread,
Apr 16, 2021, 1:27:39 AM4/16/21
to tae...@gmail.com, oTree help & discussion
Hi, could you share the sentry issue with me?

Sent from my phone

On Apr 16, 2021, at 7:51 AM, tae...@gmail.com <tae...@gmail.com> wrote:

Hello,
--
You received this message because you are subscribed to the Google Groups "oTree help & discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otree+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/otree/26bbc454-1c0a-4921-8d4c-3e5cf3c1a532n%40googlegroups.com.

tae...@gmail.com

unread,
Apr 16, 2021, 3:53:22 AM4/16/21
to oTree help & discussion
Hi,
Thank you for reply.  I think that it was because I put one of my video files in my _static folder.  I changed it to online, and it seems okay.
Thank you.
2021년 4월 15일 목요일 오후 10시 27분 39초 UTC-7에 Chris @ oTree님이 작성:

Tobias

unread,
Apr 29, 2021, 6:09:41 AM4/29/21
to oTree help & discussion
Hi,
could you clarify how you fixed this error? I am getting the same error when testing on the webserver. No problem when testing locally.

I am trying to load an audio file from the static folder via 

<audio id="alarm_sound" src="{% static "alarm_sound.wav" %}" preload="auto"></audio>

Thank you.

Gonzalo Arrieta

unread,
Aug 2, 2021, 5:15:22 PM8/2/21
to oTree help & discussion
Same here, with a video. Could someone elaborate on the issue and solution? Thanks!

Chris @ oTree

unread,
Aug 2, 2021, 6:12:02 PM8/2/21
to oTree help & discussion
host your video on youtube or some other online service, not through oTree static files.

YANGFEI LIN

unread,
Jan 22, 2022, 1:21:40 PM1/22/22
to oTree help & discussion
I have just met the same problem. The problematic video is edited by windows picture while the original video and the video edited by AE are fine. Hope my experience is helpful. 

Best,
Yangfei

Reply all
Reply to author
Forward
0 new messages