Forum Discussion

Raj_Zucre_Ramir's avatar
Raj_Zucre_Ramir
Icon for Nimbostratus rankNimbostratus
Mar 23, 2010

Network Error (gateway_error)

Hi Guys,

 

 

I have an Active/Active pair, and configured it to have a let's say VS 10.60.18.20 and it has two pools (proxy servers) 10.60.19.10 and 10.60.19.11

 

 

 

}

 

virtual my_vs {

 

translate service enable

 

pool my_pool

 

destination 10.60.18.20:any

 

}

 

 

 

}

 

pool my_pool {

 

monitor all my_monitor

 

members {

 

10.60.19.10:webcache {} ----> Bluecoat

 

10.60.19.11:webcache {} ----> Bluecoat

 

}

 

}

 

 

}

 

monitor my_monitor {

 

defaults from tcp

 

dest *:webcache

 

}

 

 

 

Whenever I go connect to my VS, I got this error message:

 

 

Network Error (gateway_error)

 

 

 

An error occurred attempting to communicate with an HTTP or SOCKS gateway.

 

The gateway may be temporarily unavailable, or there could be a network problem.

 

 

For assistance, contact your network support team.

 

 

===

 

 

And if I connect directly to the backend servers, I got this error message:

 

 

Request Error (invalid_request)

 

 

Your request could not be processed. Request could not be handled

 

This could be caused by a misconfiguration, or possibly a malformed request.

 

 

For assistance, contact your network support team.

 

 

 

Am I missing anything?

 

 

My colleague told me that we might need to put up an iRule.

 

 

Thanks!

 

2 Replies

  • If the requests direct to the pool members fail, I'd start the troubleshooting there. Once you get the direct requests working, you can test through LTM.

     

     

    If the LTM load balancing fails, you can check if the monitor mark the pool members up. If the servers don't have LTM's self IP on their VLAN set as their default gateway, you'd want to enable SNAT (automap on the VIP is easiest).

     

     

    Aaron
  • Hi! Thanks for your reply!

     

     

    Last night, I finally able to talk to the backend server and after that, I have created this iRule and it sorted everything:

     

     

    rule redirect{

     

    when HTTP_REQUEST {

     

    if { [HTTP::uri] starts_with "/xxx" } {

     

    HTTP::uri "/1111/yyy/zzz"

     

    }

     

     

     

    Thanks alot for your help!