Problem description:
It's very slow (3~4 minutes) to launch ThinApp packaged application in Horizon Workspace client.
The steps before I met this problem:
1. Use ThinApp 4.7 to package FileZilla client in a Windows 7 VM.
2. Add the package to Horizon Workspace
3. In a Windows 7 guest, install Horizon Workspace client
4. Login the client and click FileZilla icon to launch it
5. After 3~4 minutes, FileZilla is launched. (I thought it's acceptable because the package need to be downloaded from server in the first launch.)
6. Close FileZilla client and click FileZilla client icon to relaunch it.
7. It still need 3~4 minutes to launch it. => I think this is an issue.
10.99.106.131 configurator-va.ccec.com configurator-va
10.99.106.132 service-va.ccec.com service-va
10.99.106.133 connector-va.ccec.com connector-va
10.99.106.134 data-va.ccec.com data-va
10.99.106.135 gateway-va.ccec.com gateway-va
10.99.106.143 Client
From the Gateway-va/opt/vmware/nginx/logs/access.log, I found following lines
30/Aug/2013:11:47:47 +0800 | 10.99.106.143 | 302 | 0.067 | "GET /SAAS/API/1.0/GET/apps/launch/76?af=FileZilla.exe HTTP/1.1" | "https://gateway-va.ccec.com/web" | "10.99.106.132:443" | "https://gateway-va.ccec.com/SAAS/launchUsersApplication.do?sid=76&af=FileZilla.exe"
30/Aug/2013:11:47:47 +0800 | 10.99.106.143 | 200 | 0.153 | "GET /SAAS/launchUsersApplication.do?sid=76&af=FileZilla.exe HTTP/1.1" | "https://gateway-va.ccec.com/web" | "10.99.106.132:443" | "-"
30/Aug/2013:11:47:47 +0800 | 10.99.106.143 | 304 | 0.044 | "GET /SAAS/prototype-1.6.0.2.js?ver=1220301 HTTP/1.1" | "https://gateway-va.ccec.com/SAAS/launchUsersApplication.do?sid=76&af=FileZilla.exe" | "10.99.106.132:443" | "-"
30/Aug/2013:11:47:47 +0800 | 10.99.106.143 | 304 | 0.047 | "GET /SAAS/horizon/css/forms.css?ver=1220301 HTTP/1.1" | "https://gateway-va.ccec.com/SAAS/launchUsersApplication.do?sid=76&af=FileZilla.exe" | "10.99.106.132:443" | "-"
30/Aug/2013:11:47:47 +0800 | 10.99.106.143 | 304 | 0.047 | "GET /SAAS/horizon/css/catalog.css?ver=1220301 HTTP/1.1" | "https://gateway-va.ccec.com/SAAS/launchUsersApplication.do?sid=76&af=FileZilla.exe" | "10.99.106.132:443" | "-"
30/Aug/2013:11:47:47 +0800 | 10.99.106.143 | 304 | 0.050 | "GET /SAAS/horizon/css/base.css?ver=1220301 HTTP/1.1" | "https://gateway-va.ccec.com/SAAS/launchUsersApplication.do?sid=76&af=FileZilla.exe" | "10.99.106.132:443" | "-"
30/Aug/2013:11:47:47 +0800 | 10.99.106.143 | 304 | 0.049 | "GET /SAAS/horizon/css/portal.css?ver=1220301 HTTP/1.1" | "https://gateway-va.ccec.com/SAAS/launchUsersApplication.do?sid=76&af=FileZilla.exe" | "10.99.106.132:443" | "-"
30/Aug/2013:11:47:47 +0800 | 10.99.106.143 | 304 | 0.043 | "GET /SAAS/horizon/css/dialog.css?ver=1220301 HTTP/1.1" | "https://gateway-va.ccec.com/SAAS/launchUsersApplication.do?sid=76&af=FileZilla.exe" | "10.99.106.132:443" | "-"
30/Aug/2013:11:47:47 +0800 | 10.99.106.143 | 304 | 0.043 | "GET /SAAS/validation.js?ver=1220301 HTTP/1.1" | "https://gateway-va.ccec.com/SAAS/launchUsersApplication.do?sid=76&af=FileZilla.exe" | "10.99.106.132:443" | "-"
30/Aug/2013:11:47:47 +0800 | 10.99.106.143 | 304 | 0.045 | "GET /SAAS/common.js?ver=1220301 HTTP/1.1" | "https://gateway-va.ccec.com/SAAS/launchUsersApplication.do?sid=76&af=FileZilla.exe" | "10.99.106.132:443" | "-"
30/Aug/2013:11:47:47 +0800 | 10.99.106.143 | 304 | 0.046 | "GET /SAAS/horizon/js-lib/jquery-1.6.1.min.js?ver=1220301 HTTP/1.1" | "https://gateway-va.ccec.com/SAAS/launchUsersApplication.do?sid=76&af=FileZilla.exe" | "10.99.106.132:443" | "-"
30/Aug/2013:11:47:47 +0800 | 10.99.106.143 | 304 | 0.048 | "GET /SAAS/horizon/css/message.css?ver=1220301 HTTP/1.1" | "https://gateway-va.ccec.com/SAAS/launchUsersApplication.do?sid=76&af=FileZilla.exe" | "10.99.106.132:443" | "-"
30/Aug/2013:11:47:47 +0800 | 10.99.106.143 | 304 | 0.043 | "GET /SAAS/horizon/js/hznUrlHelper.js?ver=1220301 HTTP/1.1" | "https://gateway-va.ccec.com/SAAS/launchUsersApplication.do?sid=76&af=FileZilla.exe" | "10.99.106.132:443" | "-"
30/Aug/2013:11:47:47 +0800 | 10.99.106.143 | 200 | 45.052 | "POST /data/api/sfs HTTP/1.1" | "-" | "10.99.106.134:443" | "-"
30/Aug/2013:11:47:47 +0800 | 10.99.106.143 | 304 | 0.042 | "GET /SAAS/horizon/js-lib/jquery-ui-1.8.13.custom.min.js?ver=1220301 HTTP/1.1" | "https://gateway-va.ccec.com/SAAS/launchUsersApplication.do?sid=76&af=FileZilla.exe" | "10.99.106.132:443" | "-"
30/Aug/2013:11:47:47 +0800 | 10.99.106.143 | 304 | 0.044 | "GET /SAAS/horizon/js/dialog.js?ver=1220301 HTTP/1.1" | "https://gateway-va.ccec.com/SAAS/launchUsersApplication.do?sid=76&af=FileZilla.exe" | "10.99.106.132:443" | "-"
30/Aug/2013:11:47:53 +0800 | 10.99.106.132 | 201 | 0.060 | "POST /AUDIT/API/1.0/REST/audit HTTP/1.1" | "-" | "10.99.106.132:443" | "-"
30/Aug/2013:11:48:07 +0800 | 10.99.106.143 | 200 | 44.183 | "POST /data/service/soap/NoOpRequest HTTP/1.1" | "https://gateway-va.ccec.com/web" | "10.99.106.134:443" | "-"
30/Aug/2013:11:48:28 +0800 | 10.99.106.129 | 200 | 0.066 | "GET /SAAS/API/1.0/GET/metadata/idp.xml HTTP/1.1" | "-" | "10.99.106.132:443" | "-"
30/Aug/2013:11:48:28 +0800 | 10.99.106.143 | 400 | 0.002 | "-" | "-" | "-" | "-"
30/Aug/2013:11:48:28 +0800 | 10.99.106.143 | 200 | 0.055 | "GET /SAAS/API/1.0/REST/auth/cert HTTP/1.1" | "-" | "10.99.106.132:443" | "-"
30/Aug/2013:11:48:28 +0800 | 10.99.106.143 | 400 | 0.001 | "-" | "-" | "-" | "-"
30/Aug/2013:11:48:28 +0800 | 10.99.106.143 | 200 | 0.153 | "GET /SAAS/API/1.0/REST/user/applications?type=ThinApp HTTP/1.1" | "-" | "10.99.106.132:443" | "-"
30/Aug/2013:11:48:33 +0800 | 10.99.106.143 | 400 | 0.000 | "-" | "-" | "-" | "-"
30/Aug/2013:11:48:37 +0800 | 10.99.106.143 | 200 | 45.053 | "POST /data/api/sfs HTTP/1.1" | "-" | "10.99.106.134:443" | "-"
30/Aug/2013:11:48:42 +0800 | 10.99.106.143 | 200 | 0.060 | "POST /data/api/sfs HTTP/1.1" | "-" | "10.99.106.134:443" | "-"
30/Aug/2013:11:48:43 +0800 | 10.99.106.143 | 200 | 0.067 | "GET /data/api/sync/16/331 HTTP/1.1" | "-" | "10.99.106.134:443" | "-"
30/Aug/2013:11:49:28 +0800 | 10.99.106.143 | 200 | 0.068 | "GET /SAAS/API/1.0/REST/auth/cert HTTP/1.1" | "-" | "10.99.106.132:443" | "-"
30/Aug/2013:11:49:28 +0800 | 10.99.106.129 | 200 | 0.064 | "GET /SAAS/API/1.0/GET/metadata/idp.xml HTTP/1.1" | "-" | "10.99.106.132:443" | "-"
30/Aug/2013:11:49:33 +0800 | 10.99.106.143 | 200 | 45.051 | "POST /data/api/sfs HTTP/1.1" | "-" | "10.99.106.134:443" | "-"
30/Aug/2013:11:49:33 +0800 | 10.99.106.143 | 400 | 0.000 | "-" | "-" | "-" | "-"
30/Aug/2013:11:49:33 +0800 | 10.99.106.143 | 400 | 0.001 | "-" | "-" | "-" | "-"
30/Aug/2013:11:49:33 +0800 | 10.99.106.143 | 200 | 0.155 | "GET /SAAS/API/1.0/REST/user/resources/module?mask_status=true&types=DATA%2CTHINAPP HTTP/1.1" | "-" | "10.99.106.132:443" | "-"
30/Aug/2013:11:49:33 +0800 | 10.99.106.143 | 400 | 0.000 | "-" | "-" | "-" | "-"
30/Aug/2013:11:50:23 +0800 | 10.99.106.143 | 200 | 45.054 | "POST /data/api/sfs HTTP/1.1" | "-" | "10.99.106.134:443" | "-"
30/Aug/2013:11:50:28 +0800 | 10.99.106.129 | 200 | 0.065 | "GET /SAAS/API/1.0/GET/metadata/idp.xml HTTP/1.1" | "-" | "10.99.106.132:443" | "-"
30/Aug/2013:11:50:33 +0800 | 10.99.106.143 | 400 | 0.000 | "-" | "-" | "-" | "-"
I found there are 2 40s~50s delay between 48:43 to 49:28
30/Aug/2013:11:48:43 +0800 | 10.99.106.143 | 200 | 0.067 | "GET /data/api/sync/16/331 HTTP/1.1" | "-" | "10.99.106.134:443" | "-"
30/Aug/2013:11:49:28 +0800 | 10.99.106.143 | 200 | 0.068 | "GET /SAAS/API/1.0/REST/auth/cert HTTP/1.1" | "-" | "10.99.106.132:443" | "-"
and 49:33 to 50:23
30/Aug/2013:11:49:33 +0800 | 10.99.106.143 | 200 | 0.155 | "GET /SAAS/API/1.0/REST/user/resources/module?mask_status=true&types=DATA%2CTHINAPP HTTP/1.1" | "-" | "10.99.106.132:443" | "-"
30/Aug/2013:11:49:33 +0800 | 10.99.106.143 | 400 | 0.000 | "-" | "-" | "-" | "-"
30/Aug/2013:11:50:23 +0800 | 10.99.106.143 | 200 | 45.054 | "POST /data/api/sfs HTTP/1.1" | "-" | "10.99.106.134:443" | "-"
Hi Gurus,
How can I investigate into this issue? Any help will be highly appreciated. Thanks!
P.S. - I first hit this issue in Horizon Workspace 1.0, then I set up a clean Horizon Workspace 1.5, but the issue still exists.