502 bad gateway error when I try to add new sub site

I’m having a 502 bad gateway error on my multisite in your host when I try to add sub sites. Also when adding new users there is no email sent to the user.