- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Remote Server Management
- >
- HP ilo connection error with Powershell + HP ilo c...
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
Discussions
Discussions
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
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