- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Remote Server Management
- >
- Re: HP ilo connection error with Powershell + HP i...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2016 07:49 AM
тАО08-23-2016 07:49 AM
HP ilo connection error with Powershell + HP ilo cmdlets
Hello.
I just downloaded and installed the latest HP ILO commandlet package (1.3.1)
When I run a simple command I get the an error which I do not understand:
PowerCLI C:\> Get-HPiLOFirmwareInfo -Server iloserver01.company.int -Username Admin ... Error - 192.168.99.13 - iloserver01.company.int - retrieving information from iLO Ausnahme beim Aufrufen von "UploadString" mit 3 Argument(en): "Die zugrunde liegende Verbindung wurde geschlossen: Unerwarteter Fehler beim Senden.." In C:\Program Files\Hewlett-Packard\PowerShell\Modules\HPiLOCmdlets\HPiLOCmdlets.psm1:12334 Zeichen:21 + throw $retobject.err + ~~~~~~~~~~~~~~~~~~~~ +CategoryInfo :OperationStopped: (Ausnahme beim A...beim Senden.." :String) [], RuntimeException +FullyQualifiedErrorId :Ausnahme beim Aufrufen von "UploadString" mit 3 Argument(en): "Die zugrunde liegende Verbindung wurde geschlossen: Unerwarteter Fehler beim Senden.."
Does anyone have the same issue and know a workaround or answer for this problem?
I have found a post with a same error post, but without a reply or solution:
PS C:\Windows\System32> Get-HPiLOServerName -Server usraciPV100-r -Username "RILOE_ADMIN" тАУPassword "password" -DisableCertificateAuthentication
Error - 10.250.66.11 - usraciPV100-r - Error retrieving information from iLO Exception calling "UploadString" with "3" argument(s): "The remote server returned an error: (404) Not Found." At C:\Program Files\Hewlett-Packard\PowerShell\Modules\HPiLOCmdlets\HPiLOCmdlets.psm1:19218 char:25 + throw $retobject.err + ~~~~~~~~~~~~~~~~~~~~ +CategoryInfo :OperationStopped: (Exception calli...4) Not Found." :String) [], RuntimeException +FullyQualifiedErrorId :Exception calling "UploadString" with "3" argument(s): "The remote server returned an error: (404) Not Found."
IтАЩve verified the ILO name is correct. The ILO is running version 2.05. ItтАЩs online and running. And I can log into the ILO with the username and password. I get this error message for any of the ILOтАЩs in our environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2016 03:15 AM
тАО08-24-2016 03:15 AM
Re: HP ilo connection error with Powershell + HP ilo cmdlets
Hi,
This is an enhanced security feature implemented in all cmdlets of iLO 1.3 release where cmdlets will work only if target iLO server has an valid server certificate installed on it, otherwise cmdlet will fail with the mentioned output.
To by-pass this check we have provided another switch parameter for all cmdlets called "-DisableCertificateAuthentication" which will not check for server certificate and you will get desired output, but its not recommened from security point of view.
Let me know if you still face same issue.
Thanks,
Gokul
HPE PowerShell Team
I am a HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2016 02:26 AM
тАО08-25-2016 02:26 AM
Re: HP ilo connection error with Powershell + HP ilo cmdlets
Still having the same error with the error message that I posted before. There is a valid certificate installed. Even calling the cmdlet with the option "-DisableCertificateAuthentication" has the same problem.
I have tested the cmdlet call with different ilos and settings:
DL380 G7 is working - ilo 3 FW 1.87 with valid certificate DL380 G7 is not working - ilo 3 FW 1.87 with invalid certificate (also with option "-DisableCertificateAuthentication") iDL380 G8 is not working - ilo 4 with FW 2.40 with valid certificate DL380 G9 is not working - ilo 4 with FW 2.40 with valid certificate
Strange behaviour. Any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2016 02:52 AM
тАО08-26-2016 02:52 AM
Re: HP ilo connection error with Powershell + HP ilo cmdlets
Hi,
Can you get me more details on the system where iLO cmdlets are not working to triage the issue further.
$PSVersionTable
Get-HPiLOModuleVersion
Get-WmiObject Win32_OperatingSystem | Select-Object Caption, Description, OSArchitecture, ServicePackMajorVersion | Format-List
Also have you enabled higher security standard like AEH or FIPS on the iLO server where its not working ?
Thanks,
Gokul
I am a HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2016 04:53 AM
тАО08-26-2016 04:53 AM
Re: HP ilo connection error with Powershell + HP ilo cmdlets
PS H:\> $PSVersionTable Name Value ---- ----- PSVersion 4.0 WSManStackVersion 3.0 SerializationVersion 1.1.0.1 CLRVersion 4.0.30319.42000 BuildVersion 6.3.9600.16406 PSCompatibleVersions {1.0, 2.0, 3.0, 4.0} PSRemotingProtocolVersion 2.2
PS H:\> Get-HPiLOModuleVersion Name : HPiLOCmdlets Path : C:\Program Files\Hewlett-Packard\PowerShell\Modules\HPiLOCmdlets\HPiLOCmdlets.psm1 Description : Cmdlets to interface with Hewlett Packard Enterprise iLO GUID : 05545ade-5f25-4696-bfcc-e1d67fe32519 Version : 1.3.0.1 CurrentUICultureName : de-DE AvailableUICulture : {@{UICultureName=en-US; UICultureVersion=1.3.0.0}, @{UICultureName=zh-CN; UICultureVersion=1.3.0.0}, @{UICultureName=ja-JP; UICultureVersion=1.3.0.0}}
PS H:\> Get-WmiObject Win32_OperatingSystem | Select-Object Caption, Description, OSArchitecture, ServicePackMajorVersion | Format-List Caption : Microsoft Windows 7 Enterprise Description : OSArchitecture : 64-Bit ServicePackMajorVersion : 1
Here are some test results with a test HP cmdlet via ilo (test cmdlet: Get-HPiLOFirmwareInfo -Server -Username)
DL380 G7 with ilo3 FW_1.87: AES and FIPS Encryption not activated, valid certificate, Browserconnection is using TLS 1.1 - test is working
DL380 G7 with ilo3 FW_1.87: AES activated, FIPS not activated, valid certificate, Browserconnection is using TLS 1.1 - test is working
DL380 G8 with ilo4 FW_2.40: AES activated, FIPS not activated, valid certificate, Browser connection is using TLS 1.2 - test is not working
DL380 G8 with ilo4 FW_2.40: AES activated, FIPS not activated, valid certificate, Browser connection is using TLS 1.2, with option "DisableCertificateAuthentication" - test is not working
DL380 G8 with ilo4 FW_2.40: AES not activated, FIPS not activated, valid certificate, Browser connection is using TLS 1.2 - test working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2016 04:02 AM
тАО09-08-2016 04:02 AM
Re: HP ilo connection error with Powershell + HP ilo cmdlets
Hi,
We tried to reproduce the issue in our lab and found that its not reproducible for the servers you mentioned earlier.
DL380p тАУ Gen8 тАУ FW 2.40 тАУ Encryption Enabled / Disabled тАУ Valid and Invalid Certificate тАУ Cmdlet Works.
DL380 тАУ Gen9 тАУ FW 2.40 тАУ Encryption Enabled / Disabled тАУ Valid and Invalid Certificate - Cmdlet Works.
The environment we tested is same as you mentioned PS 4.0 and Windows 7.
Looks like there is some thing different on your environment which making cmdlets fail.
Are you using localised build of iLO ?
Thanks,
Gokul
I am a HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2016 08:57 PM
тАО11-01-2016 08:57 PM
Re: HP ilo connection error with Powershell + HP ilo cmdlets
Hi Everyone,
Am running in to the same issue. Any resolution for this one yet ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2016 06:57 AM
тАО11-02-2016 06:57 AM
Re: HP ilo connection error with Powershell + HP ilo cmdlets
Same issue here. Anyone figure out a fix?
AK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2016 05:06 AM - edited тАО11-07-2016 05:08 AM
тАО11-07-2016 05:06 AM - edited тАО11-07-2016 05:08 AM
Re: HP ilo connection error with Powershell + HP ilo cmdlets
Simmilar Problem here.
Tried to access ILO3 Board with Powershell Tools
ILO3 Ver. 1.87 - AES on - Access ok
ILO3 Ver. 1.87 - AES off - Access ok
ILO3 Ver. 1.88 - AES on - Access nok
ILO3 Ver. 1.88 - AES off - Access ok
tested on BL460c G7, DL380 G7,DL360 G7,DL580 G7
Tested Command:
Get-HPiLOFirmwareVersion -Server iloserver.local -Username $user -Password $password -DisableCertificateAuthentication
Error:
Error - 1.1.1.2 - iloserver.local - retrieving information from iLO
Exception calling "UploadString" with "3" argument(s): "The request was aborted: Could not create SSL/TLS secure channel."
At C:\Program Files\Hewlett-Packard\PowerShell\Modules\hpilocmdlets\HPiLOCmdlets.psm1:12555 char:21
+ throw $retobject.err
+ ~~~~~~~~~~~~~~~~~~~~
+CategoryInfo :OperationStopped: (Exception calli...cure channel."
:String) [], RuntimeException
+FullyQualifiedErrorId :Exception calling "UploadString" with "3" argument(s): "The request was aborted: Could not create SSL/TLS secure channel."
PS Version:
Name Value
---- -----
PSVersion 4.0
WSManStackVersion 3.0
SerializationVersion 1.1.0.1
CLRVersion 4.0.30319.42000
BuildVersion 6.3.9600.16406
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0}
PSRemotingProtocolVersion 2.2
.NET Version
4.6.2
HPILOCMDLETS Version
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Script 1.3.0.1 hpilocmdlets {Add-HPiLOFederationGroup, Add-HPiLOSSORecord, Add-HPiLOUser, Clear-HPiLOAHSData...}
Can someone give me advice?
Cheers
JW
уАА
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2017 03:41 PM
тАО02-22-2017 03:41 PM
Re: HP ilo connection error with Powershell + HP ilo cmdlets
I was running into the same problem today, and after some googling around, I found out that the issue was related to the Power Configuration on your client machine, not the HPE Powershell library or ILO Configuration.
Try adding this to your powershell script:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
or
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls11
Saunders
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2017 09:43 AM
тАО04-18-2017 09:43 AM
Re: HP ilo connection error with Powershell + HP ilo cmdlets
Hi,
You can download the latest version of iLO i.e., 1.4.0.2 from the HPE Web which has the fix for the iLO3 AES encription issue.
Let me know if you still face same problem we can take it up further offline.
Thanks,
Gokul
I am a HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2017 04:29 PM
тАО09-07-2017 04:29 PM
Re: HP ilo connection error with Powershell + HP ilo cmdlets
Reply originally by MSSTLCC
Hello,
I'm afraid this still isnt working;
Name : HPiLOCmdlets
Path : C:\Program Files\Hewlett-Packard\PowerShell\Modules\HPiLOCmdlets\HPiLOCmdlets.psm1
Description : Scripting Tools for Windows PowerShell : iLO Cmdlets use the RIBCL interface to communicate
to iLO. These cmdlets can be used to configure and manage iLO on HPE ProLiant Gen7, Gen8 or
Gen9 servers.
GUID : 05545ade-5f25-4696-bfcc-e1d67fe32519
Version : 1.4.0.2
CurrentUICultureName : en-US
CurrentUICultureVersion : 1.4.0.1
AvailableUICulture : {@{UICultureName=en-US; UICultureVersion=1.4.0.1}, @{UICultureName=zh-CN;
UICultureVersion=1.3.0.1}, @{UICultureName=ja-JP; UICultureVersion=1.3.0.1}}
Script;
$cred = get-credential
$Servers = get-content D:\Temp\Servers.txt
ForEach ($Server in $Servers){
Set-HPiLOGlobalSetting -Credential $cred -Server $Server -DisableCertificateAuthentication -EnforceAES Enable
}
Some seem to run but the vast majority get the following.
Get-ErrorDetail : Error - "SERVERIP" - "HOSTNAME" - Retrieving information from iLO.
Exception calling "UploadString" with "3" argument(s): "The remote server returned an error: (404) Not Found."
At C:\Program Files\Hewlett-Packard\PowerShell\Modules\HPiLOCmdlets\HPiLOCmdlets.psm1:31169 char:21
+ throw $retobject.err
+ ~~~~~~~~~~~~~~~~~~~~
+CategoryInfo :OperationStopped: (Exception calli...4) Not Found."
:String) [], RuntimeException
+FullyQualifiedErrorId :Exception calling "UploadString" with "3" argument(s): "The remote server returned an
error: (404) Not Found."
At C:\Program Files\Hewlett-Packard\PowerShell\Modules\HPiLOCmdlets\HPiLOCmdlets.psm1:31232 char:17
+ Get-ErrorDetail $ErrorMsg
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-ErrorDetail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2017 02:17 AM
тАО09-12-2017 02:17 AM
Re: HP ilo connection error with Powershell + HP ilo cmdlets
Hi,
I think the exceptions coming from some servers could be that they are not reachable from client machine where you are running the iLO cmdlets.
You can verify that by running those error throwing iLO servers list using Find-HPiLO cmdlet.
Thanks,
Gokul
HPE PowerShell Team
I am a HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2019 07:38 AM
тАО03-26-2019 07:38 AM
Re: HP ilo connection error with Powershell + HP ilo cmdlets
I have this same issue
I can connect to the iLo no problem
works fine with iLO4
not working with iLo3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2019 11:24 PM
тАО03-27-2019 11:24 PM
Re: HP ilo connection error with Powershell + HP ilo cmdlets
Hi,
Can you give me more context on your problem.
Thanks,
Gokul
I am a HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2022 12:06 PM
тАО05-12-2022 12:06 PM
Re: HP ilo connection error with Powershell + HP ilo cmdlets
Hello,
Same issue here.
PS C:\WINDOWS\system32> Disable-HPiLOCertificateAuthentication
PS C:\WINDOWS\system32> $data[$server.SerialNumber] | Get-HPiLONetworkSetting -Server 192.168.10.100
WARNING: DNS name translation not available for 192.168.10.100. The hostname was not found.
Get-ErrorDetail : Error - 192.168.10.100 - - Retrieving information from iLO.
Exception calling "UploadString" with "3" argument(s): "The request was aborted: Could not create SSL/TLS secure
channel."
At C:\Program Files\Hewlett-Packard\PowerShell\Modules\HPiLOCmdlets\HPiLOCmdlets.psm1:16819 char:25
+ throw $retobject.err
+ ~~~~~~~~~~~~~~~~~~~~
+CategoryInfo :OperationStopped: (Exception calli...cure channel."
:String) [], RuntimeException
+FullyQualifiedErrorId :Exception calling "UploadString" with "3" argument(s): "The request was aborted: Could not
create SSL/TLS secure channel."
At C:\Program Files\Hewlett-Packard\PowerShell\Modules\HPiLOCmdlets\HPiLOCmdlets.psm1:16911 char:17
+ Get-ErrorDetail $ErrorMsg
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-ErrorDetail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2022 12:02 AM
тАО05-17-2022 12:02 AM
Re: HP ilo connection error with Powershell + HP ilo cmdlets
Hello @Jc-Gregoire ,
Thank you for posting! Since you have posted in an old topic and there is no response yet, I would recommend you to create a new topic using the create "New Discussion" button.
Thanks,
Sunitha G
I'm an HPE employee.
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
