rlopeznesic
Contributor
Contributor

Error in vCenter after update to 7.0.1 build 17327586 with plugin com.vmware.h4.vsphere.client:0.3.5

Hello,

After I did the update to latest vCenter 7.0.1, when I enter in the web client I receve the error "Downloading plugin..."


Error al descargar el complemento. Asegúrese de que pueda accederse a la URL y que la huella digital registrada sea correcta. java.io.IOException: Server returned HTTP response code: 401 for URL: https://xxx.xxx.xxx:443/ui/plugins/h4va.zip sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1900) sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498) java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:352) com.vmware.vise.util.http.ConnectionManager.connect(ConnectionManager.java:284) com.vmware.vise.util.http.SimpleHttpClient.connect(SimpleHttpClient.java:354) com.vmware.vise.util.http.SimpleHttpClient.connect(SimpleHttpClient.java:324) com.vmware.vise.util.http.SimpleHttpClient.executeMethodResponseAsStream(SimpleHttpClient.java:222) com.vmware.vise.util.http.SimpleHttpClient.executeMethodResponseAsStream(SimpleHttpClient.java:244) com.vmware.vise.plugin.discovery.directory.impl.DirectoryExtensionManagerImpl.writePackageToFile(DirectoryExtensionManagerImpl.java:598) com.vmware.vise.plugin.discovery.directory.impl.DirectoryExtensionManagerImpl.downloadTempFile(DirectoryExtensionManagerImpl.java:525) com.vmware.vise.plugin.discovery.directory.impl.DirectoryExtensionManagerImpl.downloadPackage(DirectoryExtensionManagerImpl.java:484) com.vmware.vise.plugin.discovery.directory.impl.DirectoryExtensionManagerImpl.downloadAndDeployPackage(DirectoryExtensionManagerImpl.java:423) com.vmware.vise.plugin.discovery.directory.impl.DirectoryExtensionManagerImpl$1.call(DirectoryExtensionManagerImpl.java:355) com.vmware.vise.plugin.discovery.directory.impl.DirectoryExtensionManagerImpl$1.call(DirectoryExtensionManagerImpl.java:350) java.util.concurrent.FutureTask.run(FutureTask.java:266) com.vmware.vise.util.concurrent.QueuingCachedThreadPool$QueueProcessor.run(QueuingCachedThreadPool.java:1271) java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) java.util.concurrent.FutureTask.run(FutureTask.java:266) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) com.vmware.vise.util.concurrent.WorkerThreadFactory$1.run(WorkerThreadFactory.java:64) java.lang.Thread.run(Thread.java:748)

I don´t know exactly what this plugin do, and if it is important, but this is a production server and I would like to know if anybody can help me.

Before the update everything works perfect.

 

Thank you so much.

0 Kudos
7 Replies
MatiasGoddamn
Contributor
Contributor

This is what worked for me:

ssh to the VCSA

open the shell 

shell

list the registered plugins:

/usr/lib/vmware-lookupsvc/tools/lstool.py list --ep-type com.vmware.cis.vsphereclient.plugin --url  http://localhost:7090/lookupservice/sdk

copy the service ID for the offending plugin

/usr/lib/vmware-lookupsvc/tools/lstool.py unregister --url http://localhost:7090/lookupservice/sdk --user administrator@vsphere.local --password <password> --id <service ID> --no-check-cert

restart the vsphere web client:

vmon-cli -r vsphere-ui

 

rlopeznesic
Contributor
Contributor

Hello,

I tryed your solution but the problem is that the version of the plugin that is in error 0.0.3.5, is missed.

With the command to obtain the list of registered plugins this plugin doesn´t appear. Only appear one with version 0.4.1.0

I think that, in somewhere, there is a reference to the oldest version of the plugin.

0 Kudos
amarinov
VMware Employee
VMware Employee

Hi @rlopeznesic,

  1. What was the vCenter version you have upgraded from?
  2. What were the steps used to perform the upgrade?
  3. Can you provide a support bundle from the vCenter so we can troubleshoot the issue?

Thanks,
Aleksandar

Ajay1988
VMware Employee
VMware Employee

Please follow steps from here and update if this worked -https://virtual-power.in/f/plugin-under-client-plugin-in-html-shows-in-failed-status

If you think your queries have been answered
Mark this response as "Correct" or "Helpful".

Regards,
AJ
rlopeznesic
Contributor
Contributor

Finally I opted to re-deploy the complete vCenter Appliance with new configuration from scratch and the problem dissapeared.

Answering to your questions:

- I updated vCenter from the Manteinance console and apparently it did it without problems.

- The previous vCenter version was 7 (the very first release)

Thank you all.

0 Kudos
Raudi
Expert
Expert

This error i noticed today, havn't seen this before and my vCenter 7.0 is already a few monts old, since it was released...

Is it possible that i missed that error? Must be so...

I started a research and found this blog: https://blog.rylander.io/2021/01/24/remove-rogue-plugin-com-vmware-h4-vsphere-client-from-vcenter/

I had the Plugin 3 times here, 2 times with that url:

URL: https://srv10.xxxxxx.local:443/ui/plugins/h4va.zip

and one with:

URL: https://srv10.xxxxxx.local:443/ui/plugin-resources/h4va.zip

Only the last url is accessable, so i removed the other two with the command provided in that blog.

0 Kudos
Neduor
Contributor
Contributor

Hello Matias,

Thanks for the solution , it works for me.

Cheers

0 Kudos