I have copied the vcplugin.zip on the web-client server at the following location: "C:/Users/Administrator/Desktop/vcplugin.zip"
After copying i run my plugin registration utility by providing it the following URL: "file:///C:/Users/Administrator/Desktop/vcplugin.zip"
The registration succeeds but the web-client gives the following error and the plugin cannot be seen:
<ERROR>
Line 6253: [2013-08-01 02:38:03.789] ERROR [ERROR] vc-service-pool-1346 93F0E4821712860EADD100178BD8F7C6 com.vmware.vise.vim.extension.VcExtensionManager The plugin package download was blocked because the URL isnot secure. To allow http URLs add allowHttp=true to webclient.properties
Line 6254: [2013-08-01 02:38:03.789] ERROR [ERROR] vc-service-pool-1346 93F0E4821712860EADD100178BD8F7C6 com.vmware.vise.vim.extension.VcExtensionManager Error unzipping file:///C:/Users/Administrator/Desktop/vcplugin.zip java.util.zip.ZipException: error in opening zip file
</ERROR>
Thanks in advance.
Thanks,
apapap
You need set the property allowHttp=true in webclient.properties .
you can find webclient.properties file in below location
C:\ProgramData\VMware\vSphere Web Client
HTTP or HTTPS should work. But I am not sure about local NFS (Network File System)
http://communities.vmware.com/message/2144350#2144350
Thanks
Sivakaminathan
Hey Sivakaminathan,
Thanks for the quick response,
I tried your suggestion, and now the ZIP can be successfully downloaded.
But, since i am providing a "file:///" url while registration of the plugin, my guess is that it should be downloaded without adding the property "allowHttp=true" to "webclient.properties".
Let me know if my understanding is right?
Thanks,
apapap
No, only HTTP and HTTPS protocols are supported for the plugin-package URL.
But, I tried putting the "file:///" and it worked, the plugin-package was successfully downloaded after adding "allowHttp=true" to "webclient.properties".
And my guess is that since i am providing a "file:///" url while registration of the plugin, it should be downloaded without adding the property "allowHttp=true" to "webclient.properties".
Let me know if my understanding is right?
Ah OK. I read the code wrong. If you are not using https you always need to have allowHttp = true right now. I would stick to http or https because other protocols may not be supported in future releases.