502 page appears how to solve

Source: Internet
Author: User
Tags browser cache

The computer almost became the family, the company essential tool, everywhere can see its figure. But the computer is not like ordinary household appliances that can withstand the toss, it looks more delicate, more prone to malfunction.

our front-end server is the use of tomcat software, recently often appear 502 Badgateway error, every time I was restarted Tomcat service to solve, I ask you have encountered this situation, Obviously, this error is mainly the internal environment parameter of the server.

This does not usually mean that the upstream server is down ( no response gateway / proxy ) instead, the upstream server and the gateway / Proxy disagree with the protocol exchange data. Given that the Internet Protocol is fairly clear, it often means that one or two machines have been improperly or completely programmed.

Processing method:

1. Check your server for any exceptions to the number of concurrent connections and processes.

2. Please check that your IIS or php-cgi parameters are configured with a problem.

3. Check your website program and database, whether there is a database slow query and other issues, to see if the connection is not released after the database connection.

4. It is recommended that you check your web Server and database server logs for exceptions.

generally this problem is due to bad the communication between IP backend computers may include sites on the Web server that you try to access. In analyzing this problem, you should clear the browser cache completely.

If you surf the web, look at all sites of this problem you are trying to access and then select

1) your ISP has a major equipment failure / overload or

2) problematic internal Internet connection such as your firewall is not functioning properly.

in the first case, only your your ISP can help you. In the second case, what you need to solve is to stop you from getting into the Internet.

If you receive this issue only some of the sites you are trying to access are likely to be a problem, that is, one of these sites whose devices are not / overloaded. Contact the person at these locations.

use proxy and cache additions on the network. Our CheckUpDown robot will always try to ' drill through ' the real computer host, actually your website, but we do not have full control, our HTTP request actually ended. If only one link of the computer processing our HTTP request is broken, then an error, such as 502 can easily occur.


How to resolve page 502

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.