502 Bad gateway__ computer network

Source: Internet
Author: User

Baidu Encyclopedia

A popular explanation.
1. What is 502 Bad Gateway error
In short, 502 is an error-type code bad gateway.

2. Causes of Errors
Connection Timeout We send a request to the server because the server is currently linked too much, causing the server to not give the normal response, resulting in such an error

3. Means of salvation
The best solution, of course, is to do it on the server, which is unlikely for everyone.
So what can we do to save it?
Frankly, it's simple.
IS-- refresh (not a general refresh OH)
The principle of refreshing: Many people may not know that there are two types of refreshes.
The so-called refresh is actually downloading data from the server to the local memory or hard disk buffer,
Then read the data from the local memory or hard disk to the browser to show us.

① Basic Refresh: Click Refresh or use F5 shortcut keys
A basic refresh might simply fetch data from the local hard disk to the browser, and not necessarily make a request to the server again.
Most users are often so refreshed, encountered 502 of the error will have no effect.

② from the server: If you re-click on the link you want to browse, you will find that the page that displays the "502 Bad Gateway" error message can be viewed normally after clicking the link.
Understand the truth. When you click on the page you want to browse the link, it will be downloaded from the server data.
The workaround is to refresh from the server: shortcut key Ctrl+f5, which is to resend the request to the server.
If the server can give you a normal response you can see the page.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.