Red Hat Bugzilla – Bug 820941
(rhq.plugins.www.util.WWWUtils)- Ping request returned a response with client error 403, but server returns 200
Last modified: 2015-11-01 19:42:50 EST
Description of problem: I am getting warnings from apache plugin in agent.log
[ResourceContainer.invoker.daemon-58] (rhq.plugins.www.util.WWWUtils)- Ping request to [http://184.108.40.206:80] returned a response with client error 403 (Forbidden)
When I try GET on http://220.127.116.11:80 I get 200-OK.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.import apache on linux
Expected results: warnings should disappear, since http://18.104.22.168:80 does not return 403
Is a redirect being used? What does the following produce:
wget --max-redirect=0 http://22.214.171.124/
I am not sure if we would handle redirects. Additionally, if a proxy configuration is used, it could react differently to each client. How are you testing the http://126.96.36.199:80 URL when receiving the 200 OK? Also, what does the access.log and error.log reveal for the ping?
Not a bug. My mistake. There is no proxy, no such thing. I just tried it in chromium and saw 'Red Hat Enterprise Linux Test Page' and I did not believe that by default httpd on RHEL6 returns 403.