502 Bad Gateway when using Zerops Subdomain Access
I am setting up a python project and I want to use Zerops subdomain during development. However, when I access said domain I am met with a 502 Bad Gateway NGINX error.
25 Replies
😨
send zerops.yml
@Jan Saidl @Matěj Pavlíček maybe release related?
I think there is a problem with installing L7balancer for the LEGACY core 😦
oh, that's unfortunate
there is no rush for me setting it up
do not worry
i am just messing around 🙂
I'm working on a fix.
i assume the issue installing something for the legacy core explains the empty box on the services page?
thank you 😃
fixed
Thank you
I’m not sure if this is a Zerops thing or me being bad at coding
that's still the legacy package right? I just fixed this, I don't think @Jan Saidl fixed that balancer problem yet
There is text there now but yeah not sure if it is fixed yet
Again, no rush haha
I’m just tinkering at this point
Hi, there is a problem, Application is listening only on local interface.
127.0.0.1:3200
Oh that is my bad haha, forgot I was running in development mode
Apologies
Thank you for your help; it is much appreciated
I'm always happy when it's not zerops' fault 😉
I can understand 🤣
Can’t complain either, zerops has been flawless for me since day one mostly
Except for a few blips which were solved quickly 🙏
it should work even with development mode, you just need to set host somehow to 0.0.0.0
Ah, I’ll look into it tonight
Thank you
My fault for committing the sin of moving from express to flask
🤣
Thank you for the post
or using envs might work as well
Awesome
Actually
Good point, envs
Do I have to set any modules to install during container preparation or does it do that for me?
express would have the same problem, it's just that most frameworks use
0.0.0.0
by defaultYeah, makes sense