[GH-ISSUE #81] Add-EsxSoftwaredepot <urlopen error unknown url type: c> #59

Open
opened 2026-02-28 02:14:31 +03:00 by kerem · 4 comments
Owner

Originally created by @WizADSL on GitHub (Apr 16, 2025).
Original GitHub issue: https://github.com/VFrontDe-Org/ESXi-Customizer-PS/issues/81

I'm getting the following error no matter what profile I try to download, in this example I ran:

.\ESXi-Customizer-PS-v2.6.0.ps1 -sip ESXi-6.7.0-20220104001-standard

PowerCLI version 13.3.0.24145081, tried with Python 3.7.9 and 3.12

**********************
Windows PowerShell transcript start
Start time: 20250416134740
Username: xxx\xxx
RunAs User: xxx\xxx
Configuration Name:
Machine: XXXXX (Microsoft Windows NT 10.0.22631.0)
Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Process ID: 8596
PSVersion: 5.1.22621.4391
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.22621.4391
BuildVersion: 10.0.22621.4391
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
**********************

Running with PowerShell version 5.1 and VMware PowerCLI version 13.3.0.24145081

Adding base Offline bundle ESXi-6.7.0-20220104001-standard ...
Add-EsxSoftwaredepot : Could not download from depot at file:///C:/workarea/ESXi-6.7.0-20220104001-standard/index.xml,
skipping (('C:\\workarea\\ESXi-6.7.0-20220104001-standard\\index.xml', '', '<urlopen error unknown url type: c>'))
At C:\workarea\ESXi-Customizer-PS-v2.6.0.ps1:235 char:22
+     if ($basedepot = Add-EsxSoftwaredepot $izip) {
+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ReadError: (System.String[]:String[]) [Add-EsxSoftwareDepot], Exception
    + FullyQualifiedErrorId : ConnectDepotError,VMware.ImageBuilder.Commands.AddDepot
Add-EsxSoftwaredepot : Could not download from depot at file:///C:/workarea/ESXi-6.7.0-20220104001-standard/index.xml, skipping
(('C:\\workarea\\ESXi-6.7.0-20220104001-standard\\index.xml', '', '<urlopen error unknown url type: c>'))
At C:\workarea\ESXi-Customizer-PS-v2.6.0.ps1:235 char:22
+     if ($basedepot = Add-EsxSoftwaredepot $izip) {
+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ReadError: (System.String[]:String[]) [Add-EsxSoftwareDepot], Exception
    + FullyQualifiedErrorId : ConnectDepotError,VMware.ImageBuilder.Commands.AddDepot


FATAL ERROR: Cannot add VMware base Offline bundle!
**********************
Windows PowerShell transcript end
End time: 20250416134807
**********************
Originally created by @WizADSL on GitHub (Apr 16, 2025). Original GitHub issue: https://github.com/VFrontDe-Org/ESXi-Customizer-PS/issues/81 I'm getting the following error no matter what profile I try to download, in this example I ran: .\ESXi-Customizer-PS-v2.6.0.ps1 -sip ESXi-6.7.0-20220104001-standard PowerCLI version 13.3.0.24145081, tried with Python 3.7.9 and 3.12 ``` ********************** Windows PowerShell transcript start Start time: 20250416134740 Username: xxx\xxx RunAs User: xxx\xxx Configuration Name: Machine: XXXXX (Microsoft Windows NT 10.0.22631.0) Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe Process ID: 8596 PSVersion: 5.1.22621.4391 PSEdition: Desktop PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.22621.4391 BuildVersion: 10.0.22621.4391 CLRVersion: 4.0.30319.42000 WSManStackVersion: 3.0 PSRemotingProtocolVersion: 2.3 SerializationVersion: 1.1.0.1 ********************** Running with PowerShell version 5.1 and VMware PowerCLI version 13.3.0.24145081 Adding base Offline bundle ESXi-6.7.0-20220104001-standard ... Add-EsxSoftwaredepot : Could not download from depot at file:///C:/workarea/ESXi-6.7.0-20220104001-standard/index.xml, skipping (('C:\\workarea\\ESXi-6.7.0-20220104001-standard\\index.xml', '', '<urlopen error unknown url type: c>')) At C:\workarea\ESXi-Customizer-PS-v2.6.0.ps1:235 char:22 + if ($basedepot = Add-EsxSoftwaredepot $izip) { + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ReadError: (System.String[]:String[]) [Add-EsxSoftwareDepot], Exception + FullyQualifiedErrorId : ConnectDepotError,VMware.ImageBuilder.Commands.AddDepot Add-EsxSoftwaredepot : Could not download from depot at file:///C:/workarea/ESXi-6.7.0-20220104001-standard/index.xml, skipping (('C:\\workarea\\ESXi-6.7.0-20220104001-standard\\index.xml', '', '<urlopen error unknown url type: c>')) At C:\workarea\ESXi-Customizer-PS-v2.6.0.ps1:235 char:22 + if ($basedepot = Add-EsxSoftwaredepot $izip) { + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ReadError: (System.String[]:String[]) [Add-EsxSoftwareDepot], Exception + FullyQualifiedErrorId : ConnectDepotError,VMware.ImageBuilder.Commands.AddDepot FATAL ERROR: Cannot add VMware base Offline bundle! ********************** Windows PowerShell transcript end End time: 20250416134807 ********************** ```
Author
Owner

@ihumster commented on GitHub (Apr 16, 2025):

@WizADSL Have you unzip the gbundle or what?

<!-- gh-comment-id:2810357897 --> @ihumster commented on GitHub (Apr 16, 2025): @WizADSL Have you unzip the gbundle or what?
Author
Owner

@WizADSL commented on GitHub (Apr 16, 2025):

This is the exact command I ran (I also tried other profiles with the same results):

PS>.\ESXi-Customizer-PS-v2.6.0.ps1 -sip ESXi-6.7.0-20220104001-standard

Obviously, I also installed Python and set the path to the Python executable before running that command in a newly started Powershell (to make sure changes/settings are in effect).

<!-- gh-comment-id:2810397652 --> @WizADSL commented on GitHub (Apr 16, 2025): This is the exact command I ran (I also tried other profiles with the same results): PS>.\ESXi-Customizer-PS-v2.6.0.ps1 -sip ESXi-6.7.0-20220104001-standard Obviously, I also installed Python and set the path to the Python executable before running that command in a newly started Powershell (to make sure changes/settings are in effect).
Author
Owner

@ihumster commented on GitHub (Apr 16, 2025):

What is this ESXI-6.7.0-20220104001-standard? It's folder? It's bundle (zip archive)?

<!-- gh-comment-id:2810428079 --> @ihumster commented on GitHub (Apr 16, 2025): What is this `ESXI-6.7.0-20220104001-standard`? It's folder? It's bundle (zip archive)?
Author
Owner

@WizADSL commented on GitHub (Apr 16, 2025):

It's a VMWare profile name. I'm trying to create an installer ISO for the specific patch level of ESXi that the profile represents. In this case it should be version 6.7 build 19195723. The bits should be downloaded from the VMware repo (while it still works).

Maybe I'm misunderstanding how this tool works or using it wrong?

<!-- gh-comment-id:2810520230 --> @WizADSL commented on GitHub (Apr 16, 2025): It's a VMWare profile name. I'm trying to create an installer ISO for the specific patch level of ESXi that the profile represents. In this case it should be version 6.7 build 19195723. The bits should be downloaded from the VMware repo (while it still works). Maybe I'm misunderstanding how this tool works or using it wrong?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ESXi-Customizer-PS#59
No description provided.