the customer try to access internal websites and got this error " host not resolvable " .
without the proxy , the customer can access the website using computer name or FQDN .
with MWG proxy , the website can be accessible using the FQDM , but with computer name we got " host not resolvable " .
the customer ask to add computer name to MWG host file to solve this but we got this error " Bad response --The proxy did not receive a valid response in time"
how we can solve this ?
Solved! Go to Solution.
Hi,
Hope you re 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 information:-
For Host not resolvable error workaround could also be put in place on the Web Gateway’s hosts file. This would allow Web Gateway to resolve the hostname to an IP address without the need of a DNS Query. The hosts file can be edited on version 7.x under Configuration > File Editor > hosts .
Bad response error is generally displayed in scenarios; If the Web Gateway receives a response from the destination but the response is not a valid HTTP response or if it does not receive a response at all within the default two minute timeout or connection to destination is failed.
You can take MWG CLI and check connection/connectivity using wget/telnet command to the internal website destination.
While reproducing the issue you can take packet capture from MWG to check the communication flow.
Regards
Alok Sarda
Hi,
Hope you re 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 information:-
For Host not resolvable error workaround could also be put in place on the Web Gateway’s hosts file. This would allow Web Gateway to resolve the hostname to an IP address without the need of a DNS Query. The hosts file can be edited on version 7.x under Configuration > File Editor > hosts .
Bad response error is generally displayed in scenarios; If the Web Gateway receives a response from the destination but the response is not a valid HTTP response or if it does not receive a response at all within the default two minute timeout or connection to destination is failed.
You can take MWG CLI and check connection/connectivity using wget/telnet command to the internal website destination.
While reproducing the issue you can take packet capture from MWG to check the communication flow.
Regards
Alok Sarda
Thank you Aloka for your reply ,
I already tried to add computer name (not FQDN ) into MWG hosts file and I got bad response error.
this website can be accessible using both FQDN and computer name without proxy .
and we can access this website using FQDN using MWG proxy , host not resolvable error shows when I tried to access the website using computer name , after putting the computer name into MWG hosts file , i got bad response error .
tcp dump collected from MWG but i did not got what is happening
Hi,
This is taken care.
Regards
Alok Sarda
New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.
Thousands of customers use our Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership: