apache error analysis
天蓬老师
天蓬老师 2017-05-16 17:02:44
0
3
428

"502 bad getway" appeared on the web server today

Use: service httpd restart Restarting apache is useless.
Finally, stop and then start: service httpd stop, service httpd start and that’s it.

Checked the access log and error log and found nothing unusual.

Are there any logs or instructions that can be used to discover or check what happened at that time?

================================================ ===============

Because I used Alibaba Cloud Cloud Shield, 502 should be the error code returned by Cloud Shield.

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(3)
某草草

502 Description Apache, as a proxy (or gateway), encountered an error when communicating with its proxy's back-end server. Specific error information is generally provided in the error log.

Peter_Zhu

502 refers to invalid gateway or wrong gateway.
Generally, when the web server receives the http data stream, it will be recorded. If everything in the Apache error log is normal, it may be caused by your server hanging up or suspended animation.

某草草

502 is first of all a server problem, wget http://localhost, see if it is 502, put a static file under the webroot and see if it can be accessed. If it can, then there is a problem with your application app

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!