Forum Discussion

Eireann78_19953's avatar
Eireann78_19953
Icon for Nimbostratus rankNimbostratus
Sep 30, 2010

Gomez injection iRule

Hi, I am trying to get the Gomez Injection iRule working - BIG-IP 9.4.7. http://devcentral.f5.com/wiki/default.aspx/iRules/GomezInjection.html I have followed the advised steps - Added Gomez a/c Id, Enabled Stream profile on VS, Set HTTP profile to Rechunk. I get an error in the logs which seems to come from the HTTP Response see attached. It dosen't seem to like the set acctID variable in the request see. If I replace the variable in the response with the actual ID so acctId:'$::GOMEZ_APP_ID' with real account id acctId:'5DXX81' in HTTP_RESPONSE section it then gives me an error on the Debug variable see attached. Any help appreciated, D

2 Replies

  • I think the example iRule was changed at some point to use a local variable for debug, but the references to that debug variable weren't changed. I updated the Codeshare example to use a local debug variable. Can you give it a try?

     

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/GomezInjection.html

     

     

    Thanks, Aaron
  • Thanks for that Aaron that looks a lot better. I am still getting one error in the ltm though. Updated iRule attached.

     

     

    Oct 4 23:31:23 tmm tmm[1817]: 01220001:3: TCL error: Gomez.iRule.load - Illegal argument. Can't execute in the current context. (line 9)

     

    Oct 4 23:31:23 tmm tmm[1817]: 01220001:3: TCL error: Gomez.iRule.load - Illegal argument. Can't execute in the current context. (line 9)

     

    Oct 4 23:31:25 tmm tmm[1817]: 01220001: repeated 2 times