Forum Discussion

PablitoFP's avatar
PablitoFP
Icon for Nimbostratus rankNimbostratus
Apr 17, 2018

HTTP::respond 403 error

We have an irule and we get this log all the time: " - Operation not supported (line 15) invoked from within "HTTP::header insert X-Forwarded-For [IP::client_addr]"

 

Line 15 of the irule below: HTTP::respond 403 content "Forbidden" "Content-Type" "text/html" "Connection" "Close"

 

Is that line wrong? What should we modify?

 

Thanks in advance and regards.

 

1 Reply

  • Hi

     

    It looks like your logic is clashing as you are setting a HTTP header and also separately sending back a response to the client. Have you tried stopping the logic from running after the HTTP::respond with the return command to stop other actions within the event from occurring. You may also want to look at the order in which actions are processed.