ESXi

 View Only
  • 1.  host update utility fails to download patches

    Posted Jan 25, 2010 09:40 PM

    Hello,

    I try to update / upgrade our standalone ESXi (installable) 4.0 and 3.5 hosts but while trying to download patches i get an error saying "an error has occurred. Download failed".

    After searching for this error I found a hint to modify file settings.config. I added proxy server and port but no effort, error remains.

    Checking for some logging I found following entry in AppData\Local\VMware\VIU\logs\viu-6.log:

    2010-01-25 22:26:59.511 inf: Downloading from depot: https://hostupdate.vmware.com/software/VUM/PRODUCTION/index.xml.

    2010-01-25 22:26:59.511 msg: Downloading from url: https://hostupdate.vmware.com/software/VUM/PRODUCTION/index.xml

    2010-01-25 22:26:59.511 inf: Using proxy: dest-wpc1:80

    2010-01-25 22:26:59.714 err: Managed utils HTTP download temp file failed: The remote server returned an error: (407) Proxy Authentication Required. Failure details: System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.

    at System.Net.WebClient.DownloadFile(Uri address, String fileName)

    at Integrity.HostUpdate20.ManagedUtilsImpl.HttpDownloadTempFile(String url, String* file)

    2010-01-25 22:26:59.714 msg: Utils wrapper HTTP download with temp file failed : There is an error during downloading file: https://hostupdate.vmware.com/software/VUM/PRODUCTION/index.xml Failure details: Integrity.HostUpdate20.ManagedHostUpdateException: There is an error during downloading file: https://hostupdate.vmware.com/software/VUM/PRODUCTION/index.xml

    at Integrity.HostUpdate20.ManagedUtilsImpl.HttpDownloadTempFile(String url, String* file)

    at Integrity.HostUpdate20.UtilsWrapper.HttpDownloadTempFile(UtilsWrapper* , basic_string<char\,std::char_traits<char>\,std::allocator<char> >* url, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* file)

    2010-01-25 22:26:59.714 msg: download file error, retring: There is an error during downloading file: https://hostupdate.vmware.com/software/VUM/PRODUCTION/index.xml

    2010-01-25 22:26:59.730 msg: Downloading from url: https://hostupdate.vmware.com/software/VUM/PRODUCTION/index.xml

    2010-01-25 22:26:59.730 inf: Using proxy: dest-wpc1:80

    2010-01-25 22:26:59.730 err: Managed utils HTTP download temp file failed: The remote server returned an error: (407) Proxy Authentication Required. Failure details: System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.

    at System.Net.WebClient.DownloadFile(Uri address, String fileName)

    at Integrity.HostUpdate20.ManagedUtilsImpl.HttpDownloadTempFile(String url, String* file)

    2010-01-25 22:26:59.730 msg: Utils wrapper HTTP download with temp file failed : There is an error during downloading file: https://hostupdate.vmware.com/software/VUM/PRODUCTION/index.xml Failure details: Integrity.HostUpdate20.ManagedHostUpdateException: There is an error during downloading file: https://hostupdate.vmware.com/software/VUM/PRODUCTION/index.xml

    at Integrity.HostUpdate20.ManagedUtilsImpl.HttpDownloadTempFile(String url, String* file)

    at Integrity.HostUpdate20.UtilsWrapper.HttpDownloadTempFile(UtilsWrapper* , basic_string<char\,std::char_traits<char>\,std::allocator<char> >* url, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* file)

    2010-01-25 22:26:59.730 msg: download file error, retring: There is an error during downloading file: https://hostupdate.vmware.com/software/VUM/PRODUCTION/index.xml

    2010-01-25 22:26:59.730 msg: Downloading from url: https://hostupdate.vmware.com/software/VUM/PRODUCTION/index.xml

    2010-01-25 22:26:59.730 inf: Using proxy: dest-wpc1:80

    2010-01-25 22:26:59.730 err: Managed utils HTTP download temp file failed: The remote server returned an error: (407) Proxy Authentication Required. Failure details: System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.

    at System.Net.WebClient.DownloadFile(Uri address, String fileName)

    at Integrity.HostUpdate20.ManagedUtilsImpl.HttpDownloadTempFile(String url, String* file)

    2010-01-25 22:26:59.730 msg: Utils wrapper HTTP download with temp file failed : There is an error during downloading file: https://hostupdate.vmware.com/software/VUM/PRODUCTION/index.xml Failure details: Integrity.HostUpdate20.ManagedHostUpdateException: There is an error during downloading file: https://hostupdate.vmware.com/software/VUM/PRODUCTION/index.xml

    at Integrity.HostUpdate20.ManagedUtilsImpl.HttpDownloadTempFile(String url, String* file)

    at Integrity.HostUpdate20.UtilsWrapper.HttpDownloadTempFile(UtilsWrapper* , basic_string<char\,std::char_traits<char>\,std::allocator<char> >* url, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* file)

    2010-01-25 22:26:59.746 msg: download file error, retring: There is an error during downloading file: https://hostupdate.vmware.com/software/VUM/PRODUCTION/index.xml

    2010-01-25 22:26:59.746 msg: failed to download file: https://hostupdate.vmware.com/software/VUM/PRODUCTION/index.xml

    2010-01-25 22:26:59.746 msg: failed to download vendor index file: https://hostupdate.vmware.com/software/VUM/PRODUCTION/index.xml

    2010-01-25 22:26:59.746 err: Managed patch depot manager download updates failed: failed to download vendor index file: https://hostupdate.vmware.com/software/VUM/PRODUCTION/index.xml

    2010-01-25 22:26:59.746 dbg: DownloadPatches: False

    2010-01-25 22:26:59.746 Download Patches from VMware: An error has occurred. Download failed.

    Stack Trace:

    at VirtualInfrastructure.Utils.Log.Trace(String, String, TraceType)

    at VpxClientCommon.Util.Dialogs.Trace(String, String, String, TraceType)

    at VpxClientCommon.Util.Dialogs.ShowError(IWin32Window, String, String)

    at VpxClientCommon.Util.Dialogs.ShowError(String, String)

    at VIUApp.View.AskBeforeDownloadWindow.mAllowButton_Click(Object, EventArgs)

    ...

    at System.Windows.Forms.Form.ShowDialog()

    at VIUApp.View.AskBeforeDownloadWindow.ShowDialog()

    at VIUApp.View.MainWindow.downloadPatches_Click(Object, EventArgs)

    ...

    at System.Windows.Forms.Application.Run(Form)

    2010-01-25 22:27:01.199 wrn: Can't download depot: There is an error during the operation, please refer to the logs for investigation.

    I am not being prompted for giving in credentials for proxy access.

    Does nobody of you use a proxy or how do you get access to the VMware download URL?

    Any ideas or hints?

    Thanks in advance.



  • 2.  RE: host update utility fails to download patches

    Posted Jan 25, 2010 09:52 PM

    Can you setup proxy to work without authorization?


    ---

    MCSA, MCTS, VCP, VMware vExpert '2009

    http://blog.vadmin.ru



  • 3.  RE: host update utility fails to download patches

    Posted Jan 27, 2010 02:56 PM

    No, it's a enterprise policy that only URLs of our company can be visited without authentication.

    So, there's no way to give in credentials?