cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

internal website not accessible whiten MWG proxy

Jump to solution

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 ?

1 Solution

Accepted Solutions
aloksard
Employee
Employee
Report Inappropriate Content
Message 2 of 4

Re: internal website not accessible whiten MWG proxy

Jump 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:-

 

https://community.mcafee.com/t5/Enterprise-Documents/Web-Gateway-Understanding-HTTP-502-s/ta-p/55407...

 

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 

View solution in original post

3 Replies
aloksard
Employee
Employee
Report Inappropriate Content
Message 2 of 4

Re: internal website not accessible whiten MWG proxy

Jump 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:-

 

https://community.mcafee.com/t5/Enterprise-Documents/Web-Gateway-Understanding-HTTP-502-s/ta-p/55407...

 

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 

Re: internal website not accessible whiten MWG proxy

Jump to solution

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 

 

aloksard
Employee
Employee
Report Inappropriate Content
Message 4 of 4

Re: internal website not accessible whiten MWG proxy

Jump to solution

Hi,

 

This is taken care.

 

Regards

Alok Sarda

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use our Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from product experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by employees.
Join the Community
Join the Community