Hey y’all – I have a web service building fine, and my run command works fine too, but after it’s done (and there’s nothing else printed out to terminal), it gets a term signal after exactly 60 seconds. Is this something built into Render? This seemed to start happening today, so not sure what changes I may have made (even after upgrading to a paid instance yesterday!). One thing that comes to mind is I closed & started a new Redis instance, but I’ve changed the URL in my .env on Render, cleared the cache & rebuilt my Web Service, and still nothing.
Here are some relevant logs:
Mar 25 12:25:31 PM Your service is live
Mar 25 12:25:32 PM 10.207.45.58 - - [25/Mar/2023:17:25:32 +0000] “GET / HTTP/1.1” 401 58 “-” “Go-http-client/2.0”
Mar 25 12:26:32 PM [2023-03-25 17:26:32 +0000] [55] [INFO] Handling signal: term
EDIT: More advanced logs:
Mar 25 02:11:01 PM [2023-03-25 19:11:01 +0000] [53] [INFO] Starting gunicorn 20.1.0
Mar 25 02:11:01 PM [2023-03-25 19:11:01 +0000] [53] [DEBUG] Arbiter booted
Mar 25 02:11:01 PM [2023-03-25 19:11:01 +0000] [53] [INFO] Listening at: http://0.0.0.0:10000 (53)
Mar 25 02:11:01 PM [2023-03-25 19:11:01 +0000] [53] [INFO] Using worker: sync
Mar 25 02:11:01 PM [2023-03-25 19:11:01 +0000] [54] [INFO] Booting worker with pid: 54
Mar 25 02:11:01 PM [2023-03-25 19:11:01 +0000] [53] [DEBUG] 1 workers
Mar 25 02:11:04 PM [2023-03-25 19:11:04 +0000] [54] [DEBUG] Closing connection.
Mar 25 02:11:09 PM [2023-03-25 19:11:09 +0000] [54] [DEBUG] Closing connection.
Mar 25 02:11:10 PM Your service is live
Mar 25 02:11:14 PM [2023-03-25 19:11:14 +0000] [54] [DEBUG] Closing connection.
Mar 25 02:11:10 PM 10.207.150.195 - - [25/Mar/2023:19:11:10 +0000] “GET / HTTP/1.1” 401 58 “-” “Go-http-client/2.0”
Mar 25 02:11:19 PM [2023-03-25 19:11:19 +0000] [54] [DEBUG] Closing connection.
Mar 25 02:11:24 PM [2023-03-25 19:11:24 +0000] [54] [DEBUG] Closing connection.
Mar 25 02:11:29 PM [2023-03-25 19:11:29 +0000] [54] [DEBUG] Closing connection.
Mar 25 02:11:34 PM [2023-03-25 19:11:34 +0000] [54] [DEBUG] Closing connection.
Mar 25 02:11:34 PM [2023-03-25 19:11:34 +0000] [54] [DEBUG] Closing connection.
Mar 25 02:11:39 PM [2023-03-25 19:11:39 +0000] [54] [DEBUG] Closing connection.
Mar 25 02:11:44 PM [2023-03-25 19:11:44 +0000] [54] [DEBUG] Closing connection.
Mar 25 02:11:49 PM [2023-03-25 19:11:49 +0000] [54] [DEBUG] Closing connection.
Mar 25 02:11:54 PM [2023-03-25 19:11:54 +0000] [54] [DEBUG] Closing connection.
Mar 25 02:11:59 PM [2023-03-25 19:11:59 +0000] [54] [DEBUG] Closing connection.
Mar 25 02:12:04 PM [2023-03-25 19:12:04 +0000] [54] [DEBUG] Closing connection.
Mar 25 02:12:04 PM [2023-03-25 19:12:04 +0000] [54] [DEBUG] Closing connection.
Mar 25 02:12:09 PM [2023-03-25 19:12:09 +0000] [54] [DEBUG] Closing connection.
Mar 25 02:12:14 PM [2023-03-25 19:12:14 +0000] [54] [DEBUG] Closing connection.
Mar 25 02:12:10 PM [2023-03-25 19:12:10 +0000] [53] [INFO] Handling signal: term
Mar 25 02:12:10 PM [2023-03-25 19:12:10 +0000] [54] [INFO] Worker exiting (pid: 54)
Mar 25 02:12:10 PM [2023-03-25 19:12:10 +0000] [53] [INFO] Shutting down: Master
Mar 25 02:12:19 PM [2023-03-25 19:12:19 +0000] [54] [DEBUG] Closing connection.
Mar 25 02:12:24 PM [2023-03-25 19:12:24 +0000] [54] [DEBUG] Closing connection.
Mar 25 02:12:29 PM [2023-03-25 19:12:29 +0000] [54] [DEBUG] Closing connection.
Mar 25 02:12:34 PM [2023-03-25 19:12:34 +0000] [54] [DEBUG] Closing connection.
Mar 25 02:12:34 PM [2023-03-25 19:12:34 +0000] [54] [DEBUG] Closing connection.
Mar 25 02:12:39 PM [2023-03-25 19:12:39 +0000] [54] [DEBUG] Closing connection.
Any thoughts?