cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP:uri in HTTP_Request error (not supported)

Ingo
Nimbostratus
Nimbostratus

Hello,

 

we are using the below simple irule since years. However, with version 14.x.x or so there started an error to show up in the LTM log - also the irule seems to it's job anyway. I found an F5 document saying HTTP::uri is not allowed within HTTP_REQUEST.

I have to admit i am not god with this stuff, could someone please help to get that into an other syntax that does not through an error.

 

rule (simply removes the /80 from the URI):

 

when HTTP_REQUEST {

  HTTP::uri [string map {/80/_vti_bin/Webs.asmx /_vti_bin/Webs.asmx} [HTTP::uri]]

}

 

error:

 

TCL error: /Common/alfresco_acrobat_fix <HTTP_REQUEST> - Can't call after responding - ERR_NOT_SUPPORTED (line 1) invoked from within "HTTP::uri"

 

 

Many thanks,

Ingo

2 REPLIES 2

Hi  ,

Do you have any other iRules on the same vServer ?

Hi @Ingo,

 

there is a change in behavior in 14.1. Please see:

K23237429: TCL error: ERR_NOT_SUPPORTED after upgrade to version 14.1.0 or later.

Try to add a if {[HTTP::has_responded]} to your iRule, as described here: https://clouddocs.f5.com/api/irules/HTTP__has_responded.html

This should fix your issue.

 

KR

Daniel