Jump to content
Welcome to our new Citrix community!

Netscaler 12.1 "Object doesn't support property or method addeventlistener is not supported by the object"


Seth Lindholm

Recommended Posts

Running a Netscaler VPX with 12.1.51.16 firmware 

 

On this netscaler we have smartcard authentication.

 

This works and in chrome there is no problem. But after the upgrade to 12.1 firmware we see the error code below when accessing the site with IE 11, chrome still works. Our users are most often using IE 11 so any input would be great.

 

 

The site on netscalers logonpoint stalls, there is no popupbox to select your smartcard.

 

Error code in ie 11 dev tool

 "Object doesn't support property or method addeventlistener is not supported by the object"

 

The file involved in the netscaler is found under https://myurl.mydomain.mytopdomain/logon/LogonPoint/reciver/js/external/jquery-3.3.1.min.js

 

 

Link to comment
Share on other sites

Found the issue, there was a rewrite policy bound that emulated all IE connections as an earlier version of IE.  This is not there by design and the binding of the policy was on a global level. This is a configuration error.  

 

Configuration causing the issue:

 

add rewrite action Rewrite_Action_Emulate_IE10_AAA_Login insert_after_all "HTTP.RES.BODY(1000)" q/"\r\n"+"<META http-equiv=\"X-UA-Compatible\" content=\"IE=EmulateIE8\">"/ -search "text(\"<head>\")"

add rewrite policy Rewrite_Policy_Emulate_IE10_AAA_Login "HTTP.REQ.URL.PATH.ENDSWITH(\"/LogonPoint/tmindex.html\")" Rewrite_Action_Emulate_IE10_AAA_Login

bind rewrite global Rewrite_Policy_Emulate_IE10_AAA_Login 100 NEXT -type RES_OVERRIDE

 

Unbinding the policy solved the issue, why it was implemented in the first place is hard to know as it was not more granulary bound. 

 

The policy did not cause this behavior in 12.0 but does in 12.1 from my tests. 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...