Web Agent performance myCustom.fcc loaded with a lot of delay
search cancel

Web Agent performance myCustom.fcc loaded with a lot of delay

book

Article ID: 226961

calendar_today

Updated On:

Products

SITEMINDER CA Single Sign On Agents (SiteMinder)

Issue/Introduction

 

When running a Web Agent, this one takes long time to process
myCustom.fcc.

 

Cause

 

4 seconds to load completely the myCustom.fcc. It seems that the
execution of the jquery.js might be the one taking time, as it's
loaded at 46, but the rest of the myCustom.fcc page continue to load
at 48 only.

fiddler.saz :

Line 23 :

GET https://mylogin.mydomain.com/siteminderagent/myCustom.fcc?TYPE=33619969&REALMOID=06-0sd45w5-de44-44w41sh-hsdf4w2-12s&GUID=&SMAUTHREASON=0&METHOD=GET&SMAGENTNAME=$SM$d15864hbg43s531fsd54q34s1a3d1df5s&TARGET=$SM$http%3a%2f%2fmyapp%2emydomain%2ecom%2fmyapp

  HTTP/1.1 200 HTTP/1.1 200 OK
  Server: Microsoft-IIS/8.0
  Date: Tue, 19 Oct 2021 12:13:45 GMT

Line 24 :

GET https://mylogin.mydomain.com/siteminderagent/scripts/jquery.js

  HTTP/1.1 200 OK
  Server: Microsoft-IIS/8.0
  Date: Tue, 19 Oct 2021 12:13:46 GMT

Line 27 :

GET https://mylogin.mydomain.com/siteminderagent/styles/mycss1.css

  HTTP/1.1 200 OK
  Server: Microsoft-IIS/8.0
  Date: Tue, 19 Oct 2021 12:13:48 GMT

Line 30 :

GET https://mylogin.mydomain.com/siteminderagent/styles/mycss2.css

  HTTP/1.1 200 OK
  Server: Microsoft-IIS/8.0
  Date: Tue, 19 Oct 2021 12:13:48 GMT

Line 34 :

GET https://mylogin.mydomain.com/siteminderagent/images/mypicture.png

  HTTP/1.1 200 OK
  Server: Microsoft-IIS/8.0
  Date: Tue, 19 Oct 2021 12:13:48 GMT

Line 35 :

GET https://mylogin.mydomain.com/siteminderagent/images/mypicture2.png

  HTTP/1.1 200 OK
  Server: Microsoft-IIS/8.0
  Date: Tue, 19 Oct 2021 12:13:49 GMT

Line 36 :

GET https://mylogin.mydomain.com/siteminderagent/images/mypicture3.png

  HTTP/1.1 200 OK
  Server: Microsoft-IIS/8.0
  Date: Tue, 19 Oct 2021 12:13:49 GMT

Line 37 :

GET https://mylogin.mydomain.com/siteminderagent/images/mypicture4.png

  HTTP/1.1 200 OK
  Server: Microsoft-IIS/8.0
  Date: Tue, 19 Oct 2021 12:13:49 GMT

Line 38 :

GET https://mylogin.mydomain.com/siteminderagent/images/mypicture5.jpg

  HTTP/1.1 200 OK
  Server: Microsoft-IIS/8.0
  Date: Tue, 19 Oct 2021 12:13:49 GMT

Line 39 :

GET https://mylogin.mydomain.com/siteminderagent/images/mypicture6.png

  HTTP/1.1 200 OK
  Server: Microsoft-IIS/8.0
  Date: Tue, 19 Oct 2021 12:13:49 GMT

Line 40 :

GET https://mylogin.mydomain.com/siteminderagent/styles/mycss6.css

  HTTP/1.1 200 OK
  Server: Microsoft-IIS/8.0
  Date: Tue, 19 Oct 2021 12:13:49 GMT

Line 46 :

POST https://mylogin.mydomain.com/siteminderagent/myCustom.fcc

  HTTP/1.1 302 Object Moved
  Server: Microsoft-IIS/8.0
  Date: Tue, 19 Oct 2021 12:17:03 GMT

WebAgentTrace.log :

  [10/19/2021][14:13:45][14:13:45.476][16080][5052][00000000000000000000000001000000-3ed0-616eb679-13bc-01dc7238]
  [Resolved URL: '/siteminderagent/myCustom.fcc?TYPE=33619969
  &REALMOID=06-0sd45w5-de44-44w41sh-hsdf4w2-12s&GUID=&SMAUTHREASON=0&METHOD=GET
  &SMAGENTNAME=$SM$d15864hbg43s531fsd54q34s1a3d1df5s
  &TARGET=$SM$http%3a%2f%2fmyapp%2emydomain%2ecom%2fmyapp'.][CSmHttpPlugin.cpp:703]
  [CSmHttpPlugin::ProcessResource][10.0.0.1][*10.0.0.2][][myWebAgent]
  [][][][][][][][][][][][][][][][][][][][][][]
  
  [10/19/2021][14:13:45][14:13:45.479][16080][5052][00000000000000000000000001000000-3ed0-616eb679-13bc-01dc7238]
  [Challenge Manager returned SmExit, Time to challenge.][CSmHighLevelAgent.cpp:1112]
  [ProcessAdvancedAuthentication][][*10.0.0.2][][myrealm][][03-f48ab99a-e3fc-4bdb-a817-3656a2232327]
  [Protect /myapp][06-0sd45w5-de44-44w41sh-hsdf4w2-12s][/myapp][GET][][][][][][][][][][][][][][][][]

/siteminderagent/scripts/jquery.js

  [10/19/2021][14:13:46][14:13:46.696][16080][5052][00000000000000000000000001000000-3ed0-616eb67a-13bc-02b745d1]
  [Resolved URL: '/siteminderagent/scripts/jquery.js'.][CSmHttpPlugin.cpp:703]
  [CSmHttpPlugin::ProcessResource][10.0.0.1][*10.0.0.2][][myWebAgent]
  [][][][][][][][][][][][][][][][][][][][][][]
  
  [10/19/2021][14:13:46][14:13:46.696][16080][5052][00000000000000000000000001000000-3ed0-616eb67a-13bc-02b745d1]
  [ProtectionManager returned SmNo, end new request.][CSmHighLevelAgent.cpp:406][ProcessRequest]
  [10.0.0.1][*10.0.0.2][][myWebAgent][][][][][/siteminderagent/scripts/jquery.js]
  [GET][][][][][][][][][][][][][][][][]

/siteminderagent/styles/mycss1.css

  [10/19/2021][14:13:48][14:13:48.065][16080][5052][00000000000000000000000001000000-3ed0-616eb67c-13bc-00412fce]
  [Resolved URL: '/siteminderagent/styles/mycss1.css'.][CSmHttpPlugin.cpp:703]
  [CSmHttpPlugin::ProcessResource][10.0.0.1][*10.0.0.2][][myWebAgent]
  [][][][][][][][][][][][][][][][][][][][][][]
  
  [10/19/2021][14:13:48][14:13:48.065][16080][5052][00000000000000000000000001000000-3ed0-616eb67c-13bc-00412fce]
  [ProtectionManager returned SmNo, end new request.][CSmHighLevelAgent.cpp:406][ProcessRequest]
  [10.0.0.1][*10.0.0.2][][myWebAgent][][][][][/siteminderagent/styles/mycss1.css]
  [GET][][][][][][][][][][][][][][][][]

/siteminderagent/styles/mycss2.css

  [10/19/2021][14:13:48][14:13:48.359][16080][5052][00000000000000000000000001000000-3ed0-616eb67c-13bc-01675f1d]
  [Resolved URL: '/siteminderagent/styles/mycss2.css'.][CSmHttpPlugin.cpp:703]
  [CSmHttpPlugin::ProcessResource][10.0.0.1][*10.0.0.2][][myWebAgent]
  [][][][][][][][][][][][][][][][][][][][][][]
  
  [10/19/2021][14:13:48][14:13:48.359][16080][5052][00000000000000000000000001000000-3ed0-616eb67c-13bc-01675f1d]
  [ProtectionManager returned SmNo, end new request.][CSmHighLevelAgent.cpp:406][ProcessRequest][10.0.0.1]
  [*10.0.0.2][][myWebAgent][][][][][/siteminderagent/styles/mycss2.css][GET]
  [][][][][][][][][][][][][][][][]

/siteminderagent/images/mypicture.png

  [10/19/2021][14:13:48][14:13:48.754][16080][5052][00000000000000000000000001000000-3ed0-616eb67c-13bc-02f25045]
  [Resolved URL: '/siteminderagent/images/mypicture.png'.][CSmHttpPlugin.cpp:703][CSmHttpPlugin::ProcessResource]
  [10.0.0.1][*10.0.0.2][][myWebAgent][][][][][][][][][][][][][][][][][][][][][][]
  
  [10/19/2021][14:13:48][14:13:48.754][16080][5052][00000000000000000000000001000000-3ed0-616eb67c-13bc-02f25045]
  [ResourceManager returned SmSkip, end new request.][CSmHighLevelAgent.cpp:357][ProcessRequest]
  [10.0.0.1][*10.0.0.2][][myWebAgent][][][][][/siteminderagent/images/mypicture.png][GET]
  [][][][][][][][][][][][][][][][]

/siteminderagent/images/mypicture2.png

  [10/19/2021][14:13:49][14:13:49.144][16080][5052][00000000000000000000000001000000-3ed0-616eb67d-13bc-0090796e]
  [Resolved URL: '/siteminderagent/images/mypicture2.png'.][CSmHttpPlugin.cpp:703][CSmHttpPlugin::ProcessResource]
  [10.0.0.1][*10.0.0.2][][myWebAgent][][][][][][][][][][][][][][][][][][][][][][]
  
  [10/19/2021][14:13:49][14:13:49.144][16080][5052][00000000000000000000000001000000-3ed0-616eb67d-13bc-0090796e]
  [ResourceManager returned SmSkip, end new request.][CSmHighLevelAgent.cpp:357][ProcessRequest]
  [10.0.0.1][*10.0.0.2][][myWebAgent][][][][][/siteminderagent/images/mypicture2.png]
  [GET][][][][][][][][][][][][][][][][]

/siteminderagent/images/mypicture3.png

  [10/19/2021][14:13:49][14:13:49.307][16080][5052][00000000000000000000000001000000-3ed0-616eb67d-13bc-013302ae]
  [Resolved URL: '/siteminderagent/images/mypicture3.png'.][CSmHttpPlugin.cpp:703][CSmHttpPlugin::ProcessResource]
  [10.0.0.1][*10.0.0.2][][myWebAgent][][][][][][][][][][][][][][][][][][][][][][]
  
  [10/19/2021][14:13:49][14:13:49.307][16080][5052][00000000000000000000000001000000-3ed0-616eb67d-13bc-013302ae]
  [ResourceManager returned SmSkip, end new request.][CSmHighLevelAgent.cpp:357][ProcessRequest][10.0.0.1]
  [*10.0.0.2][][myWebAgent][][][][][/siteminderagent/images/mypicture3.png][GET][][][][][][][][][][][][][][][][]

/siteminderagent/images/mypicture4.png

  [10/19/2021][14:13:49][14:13:49.315][16080][5052][00000000000000000000000001000000-3ed0-616eb67d-13bc-013a21d5]
  [Resolved URL: '/siteminderagent/images/mypicture4.png'.][CSmHttpPlugin.cpp:703][CSmHttpPlugin::ProcessResource]
  [10.0.0.1][*10.0.0.2][][myWebAgent][][][][][][][][][][][][][][][][][][][][][][]
  
  [10/19/2021][14:13:49][14:13:49.315][16080][5052][00000000000000000000000001000000-3ed0-616eb67d-13bc-013a21d5]
  [ResourceManager returned SmSkip, end new request.][CSmHighLevelAgent.cpp:357][ProcessRequest][10.0.0.1]
  [*10.0.0.2][][myWebAgent][][][][][/siteminderagent/images/mypicture4.png][GET][][][][][][][][][][][][][][][][]

/siteminderagent/images/mypicture5.jpg

  [10/19/2021][14:13:49][14:13:49.544][16080][5052][00000000000000000000000001000000-3ed0-616eb67d-13bc-021f36e7]
  [Resolved URL: '/siteminderagent/images/mypicture5.jpg'.][CSmHttpPlugin.cpp:703][CSmHttpPlugin::ProcessResource]
  [10.0.0.1][*10.0.0.2][][myWebAgent][][][][][][][][][][][][][][][][][][][][][][]
  
  [10/19/2021][14:13:49][14:13:49.544][16080][5052][00000000000000000000000001000000-3ed0-616eb67d-13bc-021f36e7]
  [ResourceManager returned SmSkip, end new request.][CSmHighLevelAgent.cpp:357][ProcessRequest][10.0.0.1]
  [*10.0.0.2][][myWebAgent][][][][][/siteminderagent/images/mypicture5.jpg][GET][][][][][][][][][][][][][][][][]

/siteminderagent/images/mypicture6.png

  [10/19/2021][14:13:49][14:13:49.594][16080][5052][00000000000000000000000001000000-3ed0-616eb67d-13bc-0252262d]
  [Resolved URL: '/siteminderagent/images/mypicture6.png'.][CSmHttpPlugin.cpp:703][CSmHttpPlugin::ProcessResource]
  [10.0.0.1][*10.0.0.2][][myWebAgent][][][][][][][][][][][][][][][][][][][][][][]
  
  [10/19/2021][14:13:49][14:13:49.594][16080][5052][00000000000000000000000001000000-3ed0-616eb67d-13bc-0252262d]
  [ResourceManager returned SmSkip, end new request.][CSmHighLevelAgent.cpp:357][ProcessRequest][10.0.0.1]
  [*10.0.0.2][][myWebAgent][][][][][/siteminderagent/images/mypicture6.png][GET][][][][][][][][][][][][][][][][]

/siteminderagent/styles/mycss6.css

  [10/19/2021][14:13:49][14:13:49.608][16080][5052][00000000000000000000000001000000-3ed0-616eb67d-13bc-026043d7]
  [Resolved URL: '/siteminderagent/styles/mycss6.css'.][CSmHttpPlugin.cpp:703]
  [CSmHttpPlugin::ProcessResource][10.0.0.1][*10.0.0.2][][myWebAgent]
  [][][][][][][][][][][][][][][][][][][][][][]
  
  [10/19/2021][14:13:49][14:13:49.608][16080][5052][00000000000000000000000001000000-3ed0-616eb67d-13bc-026043d7]
  [ProtectionManager returned SmNo, end new request.][CSmHighLevelAgent.cpp:406][ProcessRequest][10.0.0.1]
  [*10.0.0.2][][myWebAgent][][][][][/siteminderagent/styles/mycss6.css][GET]
  [][][][][][][][][][][][][][][][]

myCustom.fcc

 function showForm() {
  var s = document.createElement('script');
  s.type = 'text/javascript';
  s.async = false;
  s.src = 'scripts/jquery.js';
  var x = document.getElementsByTagName('script')[0];
  x.parentNode.insertBefore(s, x);
 }

mycss1.css


        
  <!--[if IE]><link href="" delayedhref="styles/mycss1.css" type="text/css" rel="stylesheet" /><![endif]-->

mycss2.css

  <link href="" delayedhref="styles/mycss2.css" type="text/css" rel="stylesheet" />   

 

Resolution

 

- Debug the Custom myCustom.fcc and the jquery.js in order to fix this
  issue;