Error 502 Bad Gateway. What is it and how to get rid of?
If the error is constant (more than 10 minutes) - write to the support.
The rest of the time, this is connected with the mechanics of switching channels (when changing the address, naturally your active sessions are terminated on the server side, this is how TCP works) or in case of a broken connection on the OSS radio network (in mobile networks, packets are periodically lost).
How many 502 errors can there be?
Errors should be no more than 3%.
In case of an error, it is enough to send the request again.
We understand that the percentage of lost traffic may be excessive, so we are ready to compensate traffic by additional time.
Record the amount of downtime as a result of errors 502 - send to the support, we will compare with our data and in case of non-divergence you will receive the same time in addition.