hmh
hmh
RRailway
Created by hmh on 6/11/2024 in #✋|help
Health check failing after minor code change
Guess this isn't a new bug then, Angelo! I apologize. New to messing with IPv6.
90 replies
RRailway
Created by hmh on 6/11/2024 in #✋|help
Health check failing after minor code change
Yup! For some reason I thought I tested that. Sorry about that.
90 replies
RRailway
Created by hmh on 6/11/2024 in #✋|help
Health check failing after minor code change
on V2
90 replies
RRailway
Created by hmh on 6/11/2024 in #✋|help
Health check failing after minor code change
Alright, well. It worked with python manage.py migrate && python manage.py collectstatic --noinput && gunicorn -b [::]:$PORT project.wsgi
90 replies
RRailway
Created by hmh on 6/11/2024 in #✋|help
Health check failing after minor code change
I didn't have that for legacy. I was just adding it in because I assumed I needed it if I also needed to have IPv6. My bad.
90 replies
RRailway
Created by hmh on 6/11/2024 in #✋|help
Health check failing after minor code change
and I'm assuming the correct address is 0.0.0.0?
90 replies
RRailway
Created by hmh on 6/11/2024 in #✋|help
Health check failing after minor code change
Their documentation seems to suggest that you need to state both: https://docs.gunicorn.org/en/stable/settings.html#bind
90 replies
RRailway
Created by hmh on 6/11/2024 in #✋|help
Health check failing after minor code change
Testing just [::] atm
90 replies
RRailway
Created by hmh on 6/11/2024 in #✋|help
Health check failing after minor code change
I may have had an extra -b 127.0.0.1:$PORT in there for IPv4.
90 replies
RRailway
Created by hmh on 6/11/2024 in #✋|help
Health check failing after minor code change
python manage.py migrate && python manage.py collectstatic --noinput && gunicorn -b [::]:$PORT project.wsgi
90 replies
RRailway
Created by hmh on 6/11/2024 in #✋|help
Health check failing after minor code change
python manage.py migrate && python manage.py collectstatic --noinput && gunicorn project.wsgi
90 replies
RRailway
Created by hmh on 6/11/2024 in #✋|help
Health check failing after minor code change
It runs a couple django commands before gunicorn. migrate and collectstatic
90 replies
RRailway
Created by hmh on 6/11/2024 in #✋|help
Health check failing after minor code change
In my case.
90 replies
RRailway
Created by hmh on 6/11/2024 in #✋|help
Health check failing after minor code change
But what would already be running on that port? 🤔
90 replies
RRailway
Created by hmh on 6/11/2024 in #✋|help
Health check failing after minor code change
Great. Thanks!
90 replies
RRailway
Created by hmh on 6/11/2024 in #✋|help
Health check failing after minor code change
21.2.0
90 replies
RRailway
Created by hmh on 6/11/2024 in #✋|help
Health check failing after minor code change
I changed my gunicorn command back to what it was, and flipped the runtime to Legacy and it deployed successfully. And that's including the minor code change mentioned in the original post.
90 replies
RRailway
Created by hmh on 6/11/2024 in #✋|help
Health check failing after minor code change
Ah, looks like that only gets the newest logs. Here's what it shows:
[2024-06-11 19:11:19 +0000] [1] [INFO] Starting gunicorn 21.2.0

[2024-06-11 19:11:19 +0000] [1] [ERROR] Connection in use: ('::', 65090)

[2024-06-11 19:11:19 +0000] [1] [ERROR] Retrying in 1 second.

[2024-06-11 19:11:20 +0000] [1] [ERROR] Connection in use: ('::', 65090)

[2024-06-11 19:11:20 +0000] [1] [ERROR] Retrying in 1 second.

[2024-06-11 19:11:21 +0000] [1] [ERROR] Connection in use: ('::', 65090)

[2024-06-11 19:11:21 +0000] [1] [ERROR] Retrying in 1 second.

[2024-06-11 19:11:22 +0000] [1] [ERROR] Connection in use: ('::', 65090)

[2024-06-11 19:11:22 +0000] [1] [ERROR] Retrying in 1 second.

[2024-06-11 19:11:23 +0000] [1] [ERROR] Connection in use: ('::', 65090)

[2024-06-11 19:11:23 +0000] [1] [ERROR] Retrying in 1 second.

[2024-06-11 19:11:24 +0000] [1] [ERROR] Can't connect to ('::', 65090)

container event container died
[2024-06-11 19:11:19 +0000] [1] [INFO] Starting gunicorn 21.2.0

[2024-06-11 19:11:19 +0000] [1] [ERROR] Connection in use: ('::', 65090)

[2024-06-11 19:11:19 +0000] [1] [ERROR] Retrying in 1 second.

[2024-06-11 19:11:20 +0000] [1] [ERROR] Connection in use: ('::', 65090)

[2024-06-11 19:11:20 +0000] [1] [ERROR] Retrying in 1 second.

[2024-06-11 19:11:21 +0000] [1] [ERROR] Connection in use: ('::', 65090)

[2024-06-11 19:11:21 +0000] [1] [ERROR] Retrying in 1 second.

[2024-06-11 19:11:22 +0000] [1] [ERROR] Connection in use: ('::', 65090)

[2024-06-11 19:11:22 +0000] [1] [ERROR] Retrying in 1 second.

[2024-06-11 19:11:23 +0000] [1] [ERROR] Connection in use: ('::', 65090)

[2024-06-11 19:11:23 +0000] [1] [ERROR] Retrying in 1 second.

[2024-06-11 19:11:24 +0000] [1] [ERROR] Can't connect to ('::', 65090)

container event container died
90 replies
RRailway
Created by hmh on 6/11/2024 in #✋|help
Health check failing after minor code change
Much appreciated!
90 replies
RRailway
Created by hmh on 6/11/2024 in #✋|help
Health check failing after minor code change
Yup! Tried that, and got the "Connection in use" error.
90 replies