Err 522 timeout

500-error

#1

hi guys,
I have a problem. I have an static IP.
when a problem happens, for example I ran out of bandwidth, The ISP doesn’t send a proper http err code which causes err 522 on cloudflare.
Is there a way that i could set for example whenever timeout happpens(15 sec i guess) then cloudflare switchs to another ip ?


#2

You would have to set up a load balancer to handle failovers.


#3

My problem is between cloudflare and my ISP … I couldn’t do anything there. so i asked if there is anyway that cloudlflare could switch to another static ip (which i defined as A record in DNS tab) instead of showing 522 err.


#4

You could switch to another IP via the API, but this wouldn’t be automatic without setting something up on your end.

If you want it to automatically switch, you’d need to use the suggestion by @sdayman.


#5

I kew that i could do it with api … but i guessed there is an easier way …


closed #6

This topic was automatically closed after 30 days. New replies are no longer allowed.