Jump to content
Not connected, Your IP: 18.119.133.138
Sign in to follow this  
elsteve

Remtoe server returned an error (502) Bad Gateway

Recommended Posts

Just noticed this happening this morning around 10am EST....

any thoughts?

Hello!

We had a minor problem in one of our frontends which caused an approx. 2 minutes inaccessibility to the web site (only from that frontend).

Kind regards

Share this post


Link to post

Hello!

The problem was caused by momentary failure of our secondary frontend caused by the datacenter provider.

Now, if you have in your hosts file the line:

85.17.207.151 airvpn.org

you force resolution of airvpn.org to the secondary frontend.

In order to allow your system to access the primary frontend in case of failure of the secondary (and viceversa), keep in your hosts file the lines:

85.17.207.151 airvpn.org

212.117.180.25 airvpn.org

so that your system will first resolve airvpn.org to 85.17.207.151 (secondary frontend). In case of failure your system will resolve airvpn.org to 212.117.180.25 (primary frontend) transparently in a matter of a few seconds.

Both frontends are absolutely identical, since they get data from a clustered database which resides in our backend servers.

If you don't keep any line in your hosts file, airvpn.org will be resolved according to DNS (currently 212.117.180.25).

Kind regards

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...