Unable to deploy django

Im getting this error while deploying, could anyone can help?

Running ‘gunicorn treecare.wsgi:application’
Oct 17 12:16:17 PM [2023-10-17 12:16:17 +0530] [53] [INFO] Starting gunicorn 19.7.1
Oct 17 12:16:17 PM [2023-10-17 12:16:17 +0530] [53] [INFO] Listening at: http://0.0.0.0:10000 (53)
Oct 17 12:16:17 PM [2023-10-17 12:16:17 +0530] [53] [INFO] Using worker: sync
Oct 17 12:16:17 PM /opt/render/project/python/Python-3.10.6/lib/python3.10/os.py:1029: RuntimeWarning: line buffering (buffering=1) isn’t supported in binary mode, the default buffer size will be used
Oct 17 12:16:17 PM return io.open(fd, mode, buffering, encoding, *args, **kwargs)
Oct 17 12:16:18 PM [2023-10-17 12:16:18 +0530] [54] [INFO] Booting worker with pid: 54
it took so long then
Oct 17 11:34:15 AM /opt/render/project/python/Python-3.10.6/lib/python3.10/os.py:1029: RuntimeWarning: line buffering (buffering=1) isn’t supported in binary mode, the default buffer size will be used
Oct 17 11:34:15 AM return io.open(fd, mode, buffering, encoding, *args, **kwargs)
Oct 17 11:34:15 AM [2023-10-17 11:34:15 +0530] [54] [INFO] Booting worker with pid: 54
Oct 17 11:49:48 AM [2023-10-17 11:49:48 +0530] [53] [INFO] Handling signal: term
Oct 17 11:49:48 AM [2023-10-17 11:49:48 +0530] [54] [INFO] Worker exiting (pid: 54)
Oct 17 11:49:49 AM [2023-10-17 11:49:49 +0530] [53] [INFO] Shutting down: Master

I am also getting the same error at gunicorn part. The application gives an error that it can’t get my application project folder.

Hi there,

Try changing the Start Command to gunicorn treecare.wsgi. I typically see adding :application to a WSGI app lead to problems.

Hope that helps!

Regards,
Mike


Render Support Engineer, MT (UTC-6)

Tried, same issue,

Oct 19 07:39:23 AM ==> Running ‘gunicorn treecare.wsgi’
Oct 19 07:39:32 AM [2023-10-19 07:39:32 +0530] [52] [INFO] Starting gunicorn 19.7.1
Oct 19 07:39:32 AM [2023-10-19 07:39:32 +0530] [52] [INFO] Listening at: http://0.0.0.0:10000 (52)
Oct 19 07:39:32 AM [2023-10-19 07:39:32 +0530] [52] [INFO] Using worker: sync
Oct 19 07:39:32 AM /opt/render/project/python/Python-3.10.6/lib/python3.10/os.py:1029: RuntimeWarning: line buffering (buffering=1) isn’t supported in binary mode, the default buffer size will be used
Oct 19 07:39:32 AM return io.open(fd, mode, buffering, encoding, *args, **kwargs)
Oct 19 07:39:32 AM [2023-10-19 07:39:32 +0530] [53] [INFO] Booting worker with pid: 53

Deploy failed by timeout.

Hi there,

Just to clarify, I see the RuntimeWarning in the logs you provided, but what’s the actual error you are seeing?

Regards,
Mike


Render Support Engineer, MT (UTC-6)

I dont see any error, i can only see the runtime error the after some time it become deployment failed.

Hi there,

I think it would be best if we took this ticket private so the issue can be investigated more thoroughly. Please submit a ticket via the Render Dashboard (“Help”) and be sure to select which service you are referring to here.

I am going to close out this ticket for now.

Regards,
Mike


Render Support Engineer, MT (UTC-6)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.