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

ValueError: Too many packets in payload #716

Open
PythonFZ opened this issue Nov 14, 2024 · 0 comments · Fixed by #721
Open

ValueError: Too many packets in payload #716

PythonFZ opened this issue Nov 14, 2024 · 0 comments · Fixed by #721

Comments

@PythonFZ
Copy link
Member

Running the server locally can cause ValueError: Too many packets in payload.
I've seen this looking at a MD over port forwarding.

Traceback (most recent call last):
  File "/tikhome/fzills/.local/lib/python3.10/site-packages/engineio/server.py", line 294, in handle_request
    socket.handle_post_request(environ)
  File "/tikhome/fzills/.local/lib/python3.10/site-packages/engineio/socket.py", line 111, in handle_post_request
    p = payload.Payload(encoded_payload=body)
  File "/tikhome/fzills/.local/lib/python3.10/site-packages/engineio/payload.py", line 13, in __init__
    self.decode(encoded_payload)
  File "/tikhome/fzills/.local/lib/python3.10/site-packages/engineio/payload.py", line 44, in decode
    raise ValueError('Too many packets in payload')
ValueError: Too many packets in payload
[2024-11-14 11:25:33,323: ERROR/MainProcess] post request handler error
Traceback (most recent call last):
  File "/tikhome/fzills/.local/lib/python3.10/site-packages/engineio/server.py", line 294, in handle_request
    socket.handle_post_request(environ)
  File "/tikhome/fzills/.local/lib/python3.10/site-packages/engineio/socket.py", line 111, in handle_post_request
    p = payload.Payload(encoded_payload=body)
  File "/tikhome/fzills/.local/lib/python3.10/site-packages/engineio/payload.py", line 13, in __init__
    self.decode(encoded_payload)
  File "/tikhome/fzills/.local/lib/python3.10/site-packages/engineio/payload.py", line 44, in decode
    raise ValueError('Too many packets in payload')
ValueError: Too many packets in payload

Also why is this using the .local/lib version?

@PythonFZ PythonFZ linked a pull request Nov 15, 2024 that will close this issue
@PythonFZ PythonFZ reopened this Nov 15, 2024
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

Successfully merging a pull request may close this issue.

1 participant