VMware Cloud Community
dlane
Contributor
Contributor

Error "Invalid URI: URI is empty" when clicking download and install

I get and error "Invalid URI: URI is empty" when clicking download and install for new plugin report version 1.0.4. on vCenter 2.5.0. On the vCenter server itself it worked correctly and new reports displayed it is a Win2k3R2 system. I did notice one other thing and that is that on the vCenter server VI Client under plugins I didn't have to click download and install but rather the check box for enable. I have uninstalled all plugins and the VI Client on the system I am trying to get to work along with the usual reboot after install and uninstall. The sytem that will not install the new plugin is vista sp1. I would greatly appreciate any and all assistance with this issue.

0 Kudos
6 Replies
vistaphotos
Enthusiast
Enthusiast

Have you seen the comment regarding this at the very bottom of the release notes? Search for URI and I think it should take you straight to the paragraph.

Clicking Download and Install for the Performance Overview Plug-In Results in an Error

Even if the Performance Overview plug-in is installed, the Available tab in the Plugin Manager window provides a Download and Install button for the plug-in. If you click Download and Install, VirtualCenter displays an error message similar to the following:

Invalid URI: The URI is empty.

For the Performance Overview plug-in, do not click Download and Install.

dlane
Contributor
Contributor

I see that now. I don't know how I missed it! Thank you for the pointer.

Although it does not explain what to do if it is not displayed in the installed Tab as it is on my vCenter Server, well with any detail. What does "VirtualCenter Server system's domain is configured correctly." mean? Where do i configure this?

0 Kudos
dlane
Contributor
Contributor

http://x.x.x.x:8086/statsreport/extension/statsReportExtension.xml I found this in my vlclient log. It access' this plugin on startup and does not try to install it again until the application is restarted. My client is on a different subnet than the vCenter Server and a firewall is between them.

0 Kudos
admin
Immortal
Immortal

I had the same issue at a customer recently.

I fixed this by reinstalling the Performance Overview plugin from scratch and install over the top on the vCenter server. I am still not too sure how or why it broke, but the re-install was fairly painless. It required a restart of the web services and users to re-login to VI Client.

Cheers,

Jeff

0 Kudos
ergarbos
Contributor
Contributor

dlane's post above put me on the right track to a fix in our environment, so thanks for that! Ultimately I had a service ticket go all the way to VMware Engineering to verify what was wrong and nail down the process to fix it, but this was the key. Our vCenter server had two NICs, one of which is on a private non-routed subnet. The URL to the statsReportExtension.xml file was pointing to the unroutable IP instead of the one it should be, so clients couldn't reach it. Manually pointing a web browser to the URL with the correct IP can confirm this.

So, fixing this is a two step process. First of all, find the offending XML file and correct the IPs in it (should be like 3 instances, one in each stanza).This will point clients to the right data once they get the correct XML file. You should be able to find it under Program Files\VMware\Infrastructure\VirtualCenter Server\tomcat\webapps\statsreport\extension or something similar. Confirm the correct values by manually pointing to the URL with correct IP from a client system.

Second, you need to correct the values in the vCenter DB that tell the clients how to reach the XML file in the first place. You need to stop the vCenter service and Web Infrstructure Access service first. I also advise a backup of the vCenter database. Use a SQL query editor to connect to the DB and look at the entries in the VPX_EXT_SERVER table. Find the entry with EXT_ID=com.vmware.vim.stats.report, and correct the IP address in the URL column - don't change anything else, just the IP in that one entry. Save the changes and restart the vCenter and Web services. This should now correctly point clients to the XML file. Confirm that Perf Overview still works OK on the server itself (open VI3 client to "localhost"), and if that's working, see if it fixes the plugin on the client side as well by opening a new VI3 client session to your server. You should see that the Performance Overview tab appears when you have a Host, VM, or Resource Pool selected. You should NOT need to go to Manage Plugins and download anything, it should just be there when you start the client and select the inventory item... Trying to download the "report" plugin is NOT going to work and will result in the "Invalid URI" error.

If you're still having problems, it's probably a different issue... try some of the other fixes/articles already linked here, or open a Support case with VMware. Good luck!

0 Kudos
Funtoosh
Enthusiast
Enthusiast

I got same error mesage and I just restarted "VMware Infrastructure Web Access" and that fixed the problem

0 Kudos