Error 520/525/502

That is an unusual combination of errors. Especially the 525, which is usually fairly straightforward.

As always, 5xx errors are caused by the server. Your host would be best equipped to track down these connection errors if you can tell them the precise time and URL that’s giving the error. Just in case, here are the tips, which you may have already seen: