[Python/Django] : [Errno 104] Connection reset by peer

Issues information

  • OS: Windows
  • databases: PostgreSQL
  • Programming language and version: Python
  • Link to your project on Github/Gitlab:

Hello, whenever i deploy a new image to the app i encouter a failure.
ConnectionResetError: [Errno 104] Connection reset by peer
---------------------------------------- File “/usr/local/lib/python3.8/socket.py”, line 669, in readinto
return self._sock.recv_into(b)
ConnectionResetError: [Errno 104] Connection reset by peer

execution id : 475488b6316ab85d0d0618aed6ada9c4811be69412d45963a47cd0326c65439d0e68874a9274d1aa1c0683c279ddb76fae009ee650ea67e78d104e6cbda48802

I didn’t configure a websocket. I only have a wsgi.py file which i never modified.

cmd “qovery run” works like a charm

Thank you.

Does your app try to keep connections alive ?

Unfortunately i can’t reproduce the error, but i’m now stuck with an engine error.

execution id : a7d90db2dc32c10ca8e202dcd365f10fb45ded0469cb627be4df0bccf513b735a2fd112348347c1a3ea9d22f54ab1e31d4f7fe56448d5634c34b87d938244308

Here is my yml file :

application:
name: brasserie-bakpaker-qovery
project: brasserie-bakpaker-qovery
organization: QoveryCommunity
port: 8000
publicly_accessible: true
databases:

  • type: postgresql
    name: bakpakdb
    version: “12.6.0”
    routers:
  • name: main
    routes:
    • application_name: brasserie-bakpaker-qovery
      paths:
      • “/*”

Hello,
I don’t see any engine error in deployment logs, just a python error:

Error: SimpleError { kind: Command(ExitStatus(ExitStatus(256))), message: Some("error while executing an internal command") }