# HTTP\_REQUEST not firing

**URL:** <https://community.f5.com/t/http-request-not-firing/41400>\
**Category:** Technical Forums\
**Tags:** irules, big-ip, devops\
**Created:** [June 22, 2017, 3:54pm UTC](https://community.f5.com/t/http-request-not-firing/41400 "2017-06-22T15:54:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmelosegui\_3199](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@jmelosegui\_3199](https://community.f5.com/u/jmelosegui_3199)\
**Post date:** [June 22, 2017, 3:54pm UTC](https://community.f5.com/t/http-request-not-firing/41400/1 "2017-06-22T15:54:04Z")

</div>

I have created the following silly rule.

```tcl
when HTTP_REQUEST {
  log local0. "This is the host uri: [HTTP::uri]"
  node 10.20.252.64  
}

```

All I want is that on every request log the uri and then bypass the LB and forward the request to a node.

After requesting the VS the log is not updated with my entry, nor the request is redirected to the node.

Is this something achievable. I was following [this sample](https://devcentral.f5.com/wiki/iRules.node.ashx).

Any help would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![P\_K](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/p_k/32/17950_2.png) [@P\_K](https://community.f5.com/u/P_K)\
**Post date:** [June 22, 2017, 4:33pm UTC](https://community.f5.com/t/http-request-not-firing/41400/2 "2017-06-22T16:33:28Z")

</div>

Try adding port to your node and see if that works.

when HTTP\_REQUEST {

log local0. “This is the host uri: [HTTP::uri]”

node 10.20.252.64 XXXX --\>port number

}

---

<div class="post-metadata">

**Author:** ![jmelosegui\_3199](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@jmelosegui\_3199](https://community.f5.com/u/jmelosegui_3199)\
**Post date:** [June 22, 2017, 5:44pm UTC](https://community.f5.com/t/http-request-not-firing/41400/3 "2017-06-22T17:44:20Z")

</div>

The Issue was that I must have at least one member of the pool associated with the Virtual Server enable. That is not the case when I use CLIENT\_ACCEPTED event type where the even will trigger regardless if I have all the pool members disabled or not.

---

<div class="post-metadata">

**Author:** ![dragonflymr](https://avatars.discourse-cdn.com/v4/letter/d/90db22/32.png) [@dragonflymr](https://community.f5.com/u/dragonflymr)\
**Post date:** [June 22, 2017, 6:30pm UTC](https://community.f5.com/t/http-request-not-firing/41400/4 "2017-06-22T18:30:28Z")

</div>

Hi,

That is quite easy to explain. If you have no pool members then HTTP\_REQUEST never fires. CLIENT\_ACCEPTED fires independent from VS being able to process any HTTP traffic.

Piotr
