- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Servers - General
- >
- Re: Connect-HPEBIOS : Failed for <IP_ADRESS>: The ...
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
01-15-2019 06:36 AM
01-15-2019 06:36 AM
Hi All,
I have just install the powershell module HPEBIOSCmdlets version 2.1.0.1, When running command Connect-HPEBIOS I get the error "The remote server returned an error: (400) Bad Request", I have tried with several different
servers HP ProLiant BL460c Gen9, firmware version 2.61 and I am getting the same problem for all. I have checked all the prerequisites and all are met.
I am running out of ideas, could anyone help me out?
Connect-HPEBIOS -IP 10.26.203.8 -Username "herbalifecorp\moiseses-a" -Password "MySecretPass" -DisableCertificateAuthentication -verbose
VERBOSE: Performing the operation "Connect-HPEBIOS" on target "IP: 10.26.203.8".
VERBOSE: [Connect-HPEBIOS] Executing the cmdlets with 1 task serially.
VERBOSE: 10.26.203.8 : Checking whether the input target IP or Hostname is iLO or Windows server IP.
VERBOSE: 10.26.203.8 : Creating REST connection for target IP.
WARNING: 10.26.203.8: The host name could not be resolved in DNS.
Connect-HPEBIOS : Failed for 10.26.203.8: The remote server returned an error: (400) Bad Request.
At line:1 char:1
+ Connect-HPEBIOS -IP 10.26.203.8 -Username "herbalifecorp\moiseses-a" ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ConnectionError: (:) [Connect-HPEBIOS], Exception
+ FullyQualifiedErrorId : HPE.BIOS.Cmdlet.ConnectHPEBIOS
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2019 06:59 AM - edited 01-16-2019 06:59 AM
01-16-2019 06:59 AM - edited 01-16-2019 06:59 AM
Re: Connect-HPEBIOS : Failed for <IP_ADRESS>: The remote server returned an error: (400) Bad R
Thank you posting the issue.
It looks like the BIOS REST API is not installed properly. To confirm can you please try to access "https://<iLO_IP_ADDRESS>/rest/v1/systems/1/bios" url using any REST clients such postman, restlet clients.
Rajesh Balakrishnan
I am a HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2019 07:23 AM
01-23-2019 07:23 AM
Re: Connect-HPEBIOS : Failed for <IP_ADRESS>: The remote server returned an error: (400) Bad R
Any updates on this???
Rajesh Balakrishnan
I am a HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2019 07:54 AM
01-23-2019 07:54 AM
SolutionHi B_Rajesh,
Sorry for the late reply, indeed the problem was a bit silly, I was pointing to the management IP address instead to the ILO IP address.
Connect-HPEiLO $ILOIP -Credential $Cred -DisableCertificateAuthentication
Now using ILO adrress works as champ!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2019 11:03 AM
01-28-2019 11:03 AM
Re: Connect-HPEBIOS : Failed for <IP_ADRESS>: The remote server returned an error: (400) Bad R
Thank you
Happy scripting:)
Rajesh Balakrishnan
I am a HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2020 03:03 PM - last edited on 04-21-2020 04:37 AM by Parvez_Admin
04-20-2020 03:03 PM - last edited on 04-21-2020 04:37 AM by Parvez_Admin
Re: Connect-HPEBIOS : Failed for <IP_ADRESS>: The remote server returned an error: (400) Bad R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2020 03:26 AM
04-22-2020 03:26 AM
Re: Connect-HPEBIOS : Failed for <IP_ADRESS>: The remote server returned an error: (400) Bad R
Hi,
Are you still getting an error while connecting to iLO5 using the Connect-HPEBIOS cmdlet or is the issue resolved?
If the issue still persist then could you please enable logging using Enable-HPEBIOSLog and share the log file.
Regards,
Hema
I work for HPE