Forum Discussion

Mike_62719's avatar
Mike_62719
Icon for Nimbostratus rankNimbostratus
Nov 25, 2012

ProxyPass - HTTP_REQUEST is invalid

Hello! I am trying to utilize the ProxyPass irule (version 8) and im getting the following when verifying the load

 

[root@amelc01:Active] config b verify load

 

Reading configuration from /config/low_profile_base.conf.

 

Reading configuration from /defaults/config_base.conf.

 

Reading configuration from /config/bigip_sys.conf.

 

Reading configuration from /config/bigip_base.conf.

 

Reading configuration from /usr/share/monitors/base_monitors.conf.

 

Reading configuration from /config/profile_base.conf.

 

Reading configuration from /config/daemon.conf.

 

Reading configuration from /config/bigip.conf.

 

BIGpipe parsing error (/config/bigip.conf Line 1604):

 

012e0008:3: The requested command (when HTTP_REQUEST) is invalid

 

I followed the instructions to the letter (data groups and all...).

 

Virtual Server = vs-10.1.50.110_80

 

Irule = ASTM_ProxyPass108

 

Datagroup = ProxyPassvs-10.1.50.110_80

 

Original URL - http://astm.bureauveritas.com

 

Hidden URL - http://enterprise.astm.org

 

I am currently running version 10.2.1 - What am I doing wrong here?

 

5 Replies

  • Jnon's avatar
    Jnon
    Icon for Nimbostratus rankNimbostratus
    Can you insert a copy of your rule here. It's probably a simple syntax error.

     

     

  • Jnon's avatar
    Jnon
    Icon for Nimbostratus rankNimbostratus
    Can you insert a copy of your rule here. It's probably a simple syntax error.

     

     

  • Are you using the current 10.8 version from the codeshare?

     

    https://devcentral.f5.com/wiki/iRules.proxypassv10.ashx

     

     

    If you remove the proxypass iRule from the config, does it pass a 'b verify load'?

     

     

    Aaron
  • Hi Mike,

     

     

    I just tested the current proxypass codeshare example on 10.2.3 without any hotfixes and the rule saves and loads correctly.

     

     

    Are you testing on a test unit? If so, can you upgrade to the latest 10.2.x version and see if it works for you?

     

     

    If this is production and you can't upgrade to see if it fixes it, I suggest opening a case with F5 Support. If you want me to check on the case please reply with the case number.

     

     

    Thanks, Aaron
  • Actually, I wonder if it might have been a recently changed line for parsing the virtual server name. I just updated the Codeshare version to use URI::basename for this (thanks Opher). Can you try the updated version and let me know if you still see a load time error using 'b verify'?

     

     

    https://devcentral.f5.com/wiki/iRules.proxypassv10.ashx

     

     

    Thanks, Aaron