maurice-daly / DriverAutomationTool

Home of the Driver Automation Tool
https://www.msendpointmgr.com
BSD 2-Clause "Simplified" License
399 stars 120 forks source link

Error downloading HP BIOS - The server does not support the necessary HTTP protocol #566

Open stephannn opened 1 week ago

stephannn commented 1 week ago

Hi, I have a wired issue. When I try to download a BIOS version I get the error: Start-BitsTransfer : The server does not support the necessary HTTP protocol. Background Intelligent Transfer Service (BITS) requires that the server support the Range protocol header. in the console. On the otherside I can also see the tmp file in: \Driver Automation Tool\Temp\HPBIOSTemp\EliteBook 835 G7 Notebook PC\sp154909.cva

In the log I have following error:

======== HP EliteBook 835 G7 Notebook PC BIOS PROCESSING STARTED ========   DriverAutomationTool    11/14/2024 8:02:00 AM   16584 (0x40C8)
- Attempting to find HP BIOS download   DriverAutomationTool    11/14/2024 8:02:00 AM   16584 (0x40C8)
- Quering download using Get-SoftPaq cmdlet and SKU value 8760  DriverAutomationTool    11/14/2024 8:02:00 AM   16584 (0x40C8)
- Latest available BIOS version is 1.18.01  DriverAutomationTool    11/14/2024 8:02:07 AM   16584 (0x40C8)
- Checking ConfigMgr for existing BIOS release - 1.18.01    DriverAutomationTool    11/14/2024 8:02:07 AM   16584 (0x40C8)
- New BIOS download available   DriverAutomationTool    11/14/2024 8:02:08 AM   16584 (0x40C8)
- BIOS Download URL Found: http://ftp.hp.com/pub/softpaq/sp154501-155000/sp154909.exe   DriverAutomationTool    11/14/2024 8:02:08 AM   16584 (0x40C8)
- Creating D:\Program Files\Tools\Driver Automation Tool\Temp\HPBIOSTemp\EliteBook 835 G7 Notebook PC folder    DriverAutomationTool    11/14/2024 8:02:08 AM   16584 (0x40C8)
- Creating \\_DRVPKG\HP\EliteBook 835 G7 Notebook PC\BIOS\1-18-01\ folder   DriverAutomationTool    11/14/2024 8:02:08 AM   16584 (0x40C8)
- Downloading sp154909.exe BIOS update file DriverAutomationTool    11/14/2024 8:02:08 AM   16584 (0x40C8)
======== Error(s) Occurred ======== DriverAutomationTool    11/14/2024 8:03:10 AM   16584 (0x40C8)
[Error] - BIOS failed to download. Check log for more details   DriverAutomationTool    11/14/2024 8:03:10 AM   16584 (0x40C8)
    DriverAutomationTool    11/14/2024 8:03:10 AM   16584 (0x40C8)
======== HP EliteBook 835 G7 Notebook PC BIOS PROCESSING FINISHED ========  DriverAutomationTool    11/14/2024 8:03:10 AM   16584 (0x40C8)

The wired thing is, when I now download manually the file from: http://ftp.hp.com/pub/softpaq/sp154501-155000/sp154909.exe and copy the file to: \Driver Automation Tool\Temp\HPBIOSTemp\EliteBook 835 G7 Notebook PC start the process again, it is working fine.

I can also create in PS a Bits job and the file gets downloaded without a issue. I am not sure if the issue is on our site or it is because just HTTP (would be nice if we can switch to HTTPS) or maybe another permission problem.

stephannn commented 1 day ago

I changed in my fork to https and it is working: https://github.com/stephannn/DriverAutomationTool/blob/master/Current%20Branch/7.2.2/DriverAutomationTool.ps1 Probably something with our proxy