Close connection with database

How to prevent the application from closing the connection with the bank, every action I take closes the connection, locally there is no problem, but on vps, with nginx always giving error 502, I believe it is for closing the connection ahead of time

1 Like


It will be really hard to say like that.
Can you take a look at Nginx error log and see if there’s something?

Also might be worth to post Nginx config

1 Like