Forum Discussion

Gaurav_m_sharm1's avatar
Gaurav_m_sharm1
Icon for Nimbostratus rankNimbostratus
May 09, 2018

Missing curly brace in http clone request

While doing http cloning using irule (using Colin http cloning rule option 1), it does not works as expected. I have created two pools with one members each and the request is sent to default pool-1 and its cloned to pool-2. The pool-1 responds 201 to the post request, but the pool-2 respond 400 saying bad request.

 

The error seen in wireshark shows :

 

{"eventType":"UN","id":"M2015","meta":[]HTTP/1.1 400 Bad Request

 

While the one which goes to default pool looks like this:

 

{"eventType":"UN","id":"M2015","meta":[]}HTTP/1.1 201 Created

 

Clearly there is a curly brace missing in the clone request for pool-2

 

Is this something with hsl which it neglect curl brace in the end while cloning the request or something else?

 

  • HSL does not generally neglect curly braces, no. A link to the irule you are using (or a copy here) would go a decent way toward helping you get an answer.