# Network Error (gateway\_error)

**URL:** <https://community.f5.com/t/network-error-gateway-error/24537>\
**Category:** Technical Forums\
**Tags:** irules, dev, devops, application-delivery\
**Created:** [March 23, 2010, 12:57am UTC](https://community.f5.com/t/network-error-gateway-error/24537 "2010-03-23T00:57:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raj\_Zucre\_Ramir](https://avatars.discourse-cdn.com/v4/letter/r/eb8c5e/32.png) [@Raj\_Zucre\_Ramir](https://community.f5.com/u/Raj_Zucre_Ramir)\
**Post date:** [March 23, 2010, 12:57am UTC](https://community.f5.com/t/network-error-gateway-error/24537/1 "2010-03-23T00:57:24Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![hoolio](https://avatars.discourse-cdn.com/v4/letter/h/f6c823/32.png) [@hoolio](https://community.f5.com/u/hoolio)\
**Post date:** [March 23, 2010, 9:53am UTC](https://community.f5.com/t/network-error-gateway-error/24537/2 "2010-03-23T09:53:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Raj\_Zucre\_Ramir](https://avatars.discourse-cdn.com/v4/letter/r/eb8c5e/32.png) [@Raj\_Zucre\_Ramir](https://community.f5.com/u/Raj_Zucre_Ramir)\
**Post date:** [March 26, 2010, 4:15am UTC](https://community.f5.com/t/network-error-gateway-error/24537/3 "2010-03-26T04:15:31Z")

</div>

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!
