VMware Cloud Community
Ubinewbie
Enthusiast
Enthusiast
Jump to solution

Error downloading plug-in. Make sure that the URL is reachable and the registered thumbprint is correct.

Reply
0 Kudos
1 Solution

Accepted Solutions
ashilkrishnan
VMware Employee
VMware Employee
Jump to solution

Command syntax looks good to me. Not sure why it fails to remove the service registrations. You can also try removing the service registration using Jxplorer(Open source LDAP browser)

Note: Take a snapshot of vCenter server before trying unregister again

1. Download and install Jxplorer on a Windows machine VMware Knowledge Base

2. Refer just step.1 and 2 to connect to vCenter

Once you have Jxplorer connected. Please expand the trees further as following:

Configuration --> Sites --> Site name/Default -site  --> LookupService -->ServiceRegistrations --> Look for the service ID captured for vSphere replication and delete it

View solution in original post

Reply
0 Kudos
14 Replies
ashilkrishnan
VMware Employee
VMware Employee
Jump to solution

Hi

SSH to vCenter and run these commands to list the vSphere replication related service registrations:

/usr/lib/vmware-lookupsvc/tools/lstool.py list --url https://localhost/lookupservice/sdk --type com.vmware..vr.vrms

/usr/lib/vmware-lookupsvc/tools/lstool.py list --url https://localhost/lookupservice/sdk --type vrUi

Above commands will return service registrations for vSphere replication with their service ID. If you are not using vSphere replication, please run the following command(Update serviceID captured from previous commands, username and password) to un-register the services

/usr/lib/vmware-lookupsvc/tools/lstool.py  unregister --url http://localhost:7080/lookupservice/sdk --id TMP:608BF497-A198-40C1-9866-545533A488BE --user 'administrator@vsphere.local' --password 'VMware123!' --no-check-cert

Hope that helps

Ubinewbie
Enthusiast
Enthusiast
Jump to solution

Thanks for that, I've attached the output of the commands you gave (both commands gave identical output).

I dont see a service ID in that output?

Reply
0 Kudos
ashilkrishnan
VMware Employee
VMware Employee
Jump to solution

Seems like there was some error when running the command. Please change the localhost to vCenter IP address in the command and re-run the command

Reply
0 Kudos
Ubinewbie
Enthusiast
Enthusiast
Jump to solution

IP failed, but command worked with FQDN. Attached is the output.

Wasnt sure if the ID was meant to retain the 'TMP:' prefix, so tried the command twice with and without the prefix, but the output is identical

Reply
0 Kudos
ashilkrishnan
VMware Employee
VMware Employee
Jump to solution

It was without the TMP prefix.Do you still see vSphere replication service registrations when you run the list command(first command) ?

Reply
0 Kudos
Ubinewbie
Enthusiast
Enthusiast
Jump to solution

Yeah the output of the first command is the same, still shows service ID etc.

Have attached output of first command here. I notice the url is an IP ending in .100.9, which is the IP of the old replication server. Assume thats why its giving the plugin error, because that IP goes nowhere now..

Reply
0 Kudos
ashilkrishnan
VMware Employee
VMware Employee
Jump to solution

Seems like the commands might have changed a bit in 7.0 or there are some other issues.

Please paste the complete un-register command here that you ran. I will check

Reply
0 Kudos
Ubinewbie
Enthusiast
Enthusiast
Jump to solution

I ran:

/usr/lib/vmware-lookupsvc/tools/lstool.py  unregister --url http://vcenter.internal.mydomain.com.au:7080/lookupservice/sdk --id h5-dr-85c1c9b8-8af4-4c2d-a39c-e883e6a3bdca --user 'administrator@vsphere.local' --password 'myadminpassword' --no-check-cert

Reply
0 Kudos
ashilkrishnan
VMware Employee
VMware Employee
Jump to solution

Command syntax looks good to me. Not sure why it fails to remove the service registrations. You can also try removing the service registration using Jxplorer(Open source LDAP browser)

Note: Take a snapshot of vCenter server before trying unregister again

1. Download and install Jxplorer on a Windows machine VMware Knowledge Base

2. Refer just step.1 and 2 to connect to vCenter

Once you have Jxplorer connected. Please expand the trees further as following:

Configuration --> Sites --> Site name/Default -site  --> LookupService -->ServiceRegistrations --> Look for the service ID captured for vSphere replication and delete it

Reply
0 Kudos
Ubinewbie
Enthusiast
Enthusiast
Jump to solution

Brilliant that worked, thank you Smiley Happy

A note to others, vCenter needs a reboot after these steps to clear the plugin.

iliketurbos
Enthusiast
Enthusiast
Jump to solution

fyi in vCenter 7 the port changed to 7090 instead of 7080, so this command works -

 

/usr/lib/vmware-lookupsvc/tools/lstool.py unregister --url http://<vCenter fqdn>:7090/lookupservice/sdk --id h5-dr-90e60372-7e39-40db-9603-9c671e6c4097<just an example> --user 'administrator@vsphere.local' --password 'pw' --no-check-cert

Reply
0 Kudos
PeterRTVS
Contributor
Contributor
Jump to solution

Hi,

 

I have this error too:

Download plug-in
Status:
Error downloading plug-in. Make sure that the URL is reachable and the registered thumbprint is correct.
Initiator: VSPHERE.LOCAL\vsphere-webclient-ff2cb1a5-22a1-4fe4-bb46-da57e4e38e14
Target:  x.x.x.x
Server: x.x.x.x
Error stack:
Error downloading plug-in.
Make sure that the URL is reachable and the registered thumbprint is correct.java.io.IOException:
Server returned HTTP response code: 401 for URL: https://x.x.x.x: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)

 

In Client plugins:

Error downloading plug-in. Make sure that the URL is reachable and the registered thumbprint is correct. java.io.IOException: Server returned HTTP response code: 401 for URL: https://x.x.x.x:443/ui/plugins/h4va.zip sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1900)

 

I tried to disable the plugin but it isnt possible (grayed button).

Also have tried to find it over Jxexplorer, but cant find it and when I click on any service registration to find it I have only an error.

 

Please is possible to help me?

Thanks.

Reply
0 Kudos
mfritz
Contributor
Contributor
Jump to solution

Reply
0 Kudos
bbandroide1
Contributor
Contributor
Jump to solution

Followed the steps ashilkrishnan shared and rebooted like Ubinewbie mentioned and when vCenter booted back up it was able download/load all plugins effectively. This also fixed another issue I was experiencing where the Site Recovery portal was available in vSphere but was showing an unknown error. The plugin had successfully installed in that instance and DNS resolution/ping was working properly from the vCenter server. Unregistering, flushing the plugin as ashilkrishnan outlined and rebooting then re-registering did the trick there. 

Hope this helps someone sometime! Cheers!

Reply
0 Kudos