Solved! it was some odd DNS querying issue! Last thing I would think of. lmao that is dumb
I guess there should be a better way of handling it. Right now just making the container’s name to localhost in /etc/hosts is enough to solve the issue. Maybe if there is a true problem, the real solution would be to proxy the localhost of the container or find a way to have an IP to the conatiner’s localhost. idk