Peer closed connection without sending complete message body
@mishushakov ya está trabajando en esto.
Desde el 1/12/2025.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Describe the bug
I am consistently getting this error when running E2B sandbox with template which installs Pandas library for python:
peer closed connection without sending complete message body (incomplete chunked read)
To Reproduce
Steps to reproduce the behavior:
with Sandbox.create(timeout=timeout, template=sandbox_template) as sandbox:
execution = sandbox.run_code(code) # Any pandas df code
Version
e2b-code-interpreter==2.0.0
python==3.11.13
Traceback
Traceback (most recent call last):
File "mypath\Lib\site-packages\httpx\_transports\default.py", line 101, in map_httpcore_exceptions
yield
File "mypath\Lib\site-packages\httpx\_transports\default.py", line 127, in __iter__
for part in self._httpcore_stream:
File "mypath\Lib\site-packages\httpcore\_sync\connection_pool.py", line 407, in __iter__
raise exc from None
File "mypath\Lib\site-packages\httpcore\_sync\connection_pool.py", line 403, in __iter__
for part in self._stream:
File "mypath\Lib\site-packages\httpcore\_sync\http11.py", line 342, in __iter__
raise exc
File "mypath\Lib\site-packages\httpcore\_sync\http11.py", line 334, in __iter__
for chunk in self._connection._receive_response_body(**kwargs):
File "mypath\Lib\site-packages\httpcore\_sync\http11.py", line 203, in _receive_response_body
event = self._receive_event(timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "mypath\Lib\site-packages\httpcore\_sync\http11.py", line 213, in _receive_event
with map_exceptions({h11.RemoteProtocolError: RemoteProtocolError}):
File "mypath\Lib\contextlib.py", line 158, in __exit__
self.gen.throw(typ, value, traceback)
File "mypath\Lib\site-packages\httpcore\_exceptions.py", line 14, in map_exceptions
raise to_exc(exc) from exc
httpcore.RemoteProtocolError: peer closed connection without sending complete message body (incomplete chunked read)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "mypath\Lib\site-packages\e2b_code_interpreter\code_interpreter_sync.py", line 210, in run_code
for line in response.iter_lines():
File "mypath\Lib\site-packages\httpx\_models.py", line 929, in iter_lines
for text in self.iter_text():
File "mypath\Lib\site-packages\httpx\_models.py", line 916, in iter_text
for byte_content in self.iter_bytes():
File "mypath\Lib\site-packages\httpx\_models.py", line 897, in iter_bytes
for raw_bytes in self.iter_raw():
File "mypath\Lib\site-packages\httpx\_models.py", line 951, in iter_raw
for raw_stream_bytes in self.stream:
File "mypath\Lib\site-packages\httpx\_client.py", line 153, in __iter__
for chunk in self._stream:
File "mypath\Lib\site-packages\httpx\_transports\default.py", line 126, in __iter__
with map_httpcore_exceptions():
File "mypath\Lib\contextlib.py", line 158, in __exit__
self.gen.throw(typ, value, traceback)
File "mypath\Lib\site-packages\httpx\_transports\default.py", line 118, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.RemoteProtocolError: peer closed connection without sending complete message body (incomplete chunked read)
- Lenguaje dominante
- Python
- Estrellas
- 2.4k
- Forks
- 231
- Merge medio
- 28 min
- PR fusionados (30 d)
- 2
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de e2b-dev/code-interpreter
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
e2b-dev/code-interpreter#326 ·
-
O(n²) string concatenation in readLines causes OOM on large stdout (>1 MB)Posiblemente ocupada @ondraulehla la tomó hace 82 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 55/100
e2b-dev/code-interpreter#251 · 2 comentarios ·
-
Dependency DashboardQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. AbiertoChore Dashboard
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
e2b-dev/code-interpreter#200 · 2 comentarios ·
-
feature SDK
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
e2b-dev/code-interpreter#190 · 1 comentario ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
e2b-dev/code-interpreter#165 · 1 comentario ·
Todos los issues de e2b-dev/code-interpreter
Issues similares
-
needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
json_params_matcher fails on falsy top-level JSON primitives (0, False, "")Posiblemente ocupada @mayureshsonawane17 la tomó hoy. AbiertoWaiting for: Product Owner
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Add .devin pluginAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
ayghri/i-have-adhd#249 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
modelscope/FunASR#3762 ·
Los mantenedores suelen responder en 1 día