Have a user that can replicate this message on demand when accessing a website.
Outside of our network, or by bypassing the proxy, the issue does not occur.
I have a packet trace file but did not see how to attach it to the post.
Hi,
Hope you are doing well.
The 502 message is used by the McAfee Web Gateway to alert a client that a connection to the destination could not be established or that the destination provided an invalid response
Please refer below link for more info on this:-
https://community.mcafee.com/t5/Documents/Web-Gateway-Understanding-HTTP-502-s/ta-p/554073
Request you to please provide me the problematic URL in order to check at my end once.
Also please provide output of below command from MWG CLI:-
wget http://abc.com
wget https://abc.com
NOTE:- abc.com is an example here, change that with the actual problematic website , if the website is on http, then provide output of command wget http://abc.com
Regards
Alok Sarda
Alok,
Thank you for the reply. Below is the output from the wget command.
wget https://time.roberthalf.com/psc/hrfsprd/EMPLOYEE/HRMS/c/RH_TC_CAND.RH_TC_CA_HOME.GBL
--2019-05-13 08:25:21-- https://time.roberthalf.com/psc/hrfsprd/EMPLOYEE/HRMS/c/RH_TC_CAND.RH_TC_CA_HOME.GBL
Resolving time.roberthalf.com (time.roberthalf.com)... 204.75.127.154
Connecting to time.roberthalf.com (time.roberthalf.com)|204.75.127.154|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://time.roberthalf.com/psc/hrfsprd/EMPLOYEE/HRMS/c/RH_TC_CAND.RH_TC_CA_HOME.GBL?& [following]
--2019-05-13 08:25:22-- https://time.roberthalf.com/psc/hrfsprd/EMPLOYEE/HRMS/c/RH_TC_CAND.RH_TC_CA_HOME.GBL?&
Reusing existing connection to time.roberthalf.com:443.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://time.roberthalf.com/psc/hrfsprd/EMPLOYEE/HRMS/c/RH_TC_CAND.RH_TC_CA_HOME.GBL?&cmd=login&erro... [following]
--2019-05-13 08:25:22-- https://time.roberthalf.com/psc/hrfsprd/EMPLOYEE/HRMS/c/RH_TC_CAND.RH_TC_CA_HOME.GBL?&cmd=login&erro...
Reusing existing connection to time.roberthalf.com:443.
HTTP request sent, awaiting response... 200 OK
Syntax error in Set-Cookie: PS_TOKEN=; domain=; expires=Thu, 01-Jan-1970 01:00:00 GMT; path=/ at position 19.
Length: 885 [text/html]
Saving to: âRH_TC_CAND.RH_TC_CA_HOME.GBLâ
Hi,
Hope you are doing well.
The issue is not reproducible at my end.
You can try removing Via/XFF header for this particular URL.host time.roberthalf.com and then check.
If issue still persists, then I suggest to open a case with support team so that we can do further troubleshooting.
Regards
Alok Sarda
Corporate Headquarters
6220 America Center Drive
San Jose, CA 95002 USA