I just updated a single server to 5.10.00.00. Now throws the below error while accessing using FQDN, IP works. Rolling back works without error. Any thoughts?
Bad Request
Your browser sent a request that this server could not understand.
Additionally, a 400 Bad Request error was encountered while trying to use an ErrorDocument to handle the request
The answer is that some idiotic twit at Dell decided it would be a good idea to throw this error when you access the iDRAC with a DNS name but it does not match the DNS name in the iDRAC settings. There are two parts to this a hostname which defaults to "idrac- " and what Dell calls the "DNS Domain Name" which by default is blank but you might set to something like "bmc.mycorp.com".
If you set those then you can access the system using the FQDN and it works. But to demonstrate how idiotically stupid Dell have been you can't use short names so "myserver.bmc" does not work but "myserver.bmc.mycorp.com" does. Whoever thought this was a good idea or even acceptable should not be working in product development.
Someone (or possibly a whole group) at Dell needs taking out the back and given a jolly good thrashing with a clue stick. What they have done is utterly inexcusable.
I am sorry you faced with this issue. I did some research and it looks like a security update with HTTP/ HTTPS connection changes that may impact user connections when specifying Fully Qualified Domain Name (FQDN) address.iDRAC9 users may encounter connection errors, redirection, or '400 - Bad Request' errors. These connection sightings will occur when the specified FQDN does not match the iDRAC 'DNSRacName' or 'DNSDomainName' values.
- iDRAC v5.10.00.00 adds an enhanced security check for accessing iDRAC using a hostname. To access iDRAC using a hostname, ensure that you configure the hostname through the attribute idrac.webserver.ManualDNSEntry (racadm set idrac.webserver.ManualDNSEntry https://dell.to/3INwZlI).
-Accessing iDRAC through OpenManage Enterprise Modular SSO may fail if iDRAC is configured with a short FQDN. Ensure that you configure iDRAC with full FQDN that includes a Hostname with Domain name.
Could you please also check this post in Dell Community Forum:
I would like also escalate this question to receive more information for you. May I please ask you to send me in Private Message Service Tag of the server and also current version of iDRAC.
By default, iDRAC8 checks the HTTP / HTTPS host header and compares it to the defined "DNSRacName" and "DNSDomain Name". If the values do not match, the iDRAC rejects the HTTP / HTTPS connection. In iDRAC8 2.81.81.81, this host header enforcement can be disabled with the following RACADM command.
#Disable host header check
racadm set idrac.webserver.HostHeaderCheck 0
Note: Only set the HostHeaderCheck value to '0' if there is a manual host record in the DNS environment.
If the HTTP / HTTPS host header check is activated (more secure), iDRAC can be accessed via the IPv4 / IPv6 address, the RAC name and / or the defined Idrac FQDN (DNSRacName. DNS domain name). If the end user accesses with host names that Idrac may not know (e.g. a manual DNS of entries added in DNS records), the firmware version of the iDRAC8 firmware 2.81.81.81 has introduced a new attribute " ManualDNSEntry". This new setting can be updated with up to 4 IP addresses / hostnames / FQDNs to provide an allow list of host headers. This ensures that incoming requests are not discarded if the HTTP / HTTPS host header contains one of the entries in the "ManualDNSEntry" setting.
# Add manual entry to allow list
racadm set idrac.webserver.ManualDNSEntry 192.168.20.30
I just ran into this problem on a T440 after updating to 5.10.00.00, and before I found this post, I tried applying the 'fix' I need to use after updating to iDRAC 2.81.81.81 on older hosts, because to access these DRAC's, we use an external IP forwarded to an internal IP on the router, but only allowed from the external IP's of our offices, so the web request hostname will never match the hostname internally, and this is the configuration we have used for a long time now.
I found that applying this :
racadm set idrac.webserver.HostHeaderCheck 0
Worked after rebooting the DRAC.. (Unless it happened to be one of the other changes I tried at the time)
Thanks a ton for this thread. By chance would this impact OME's ability to "discover" a device?
Ways to reproduce: 1. update iDRAC firmware via OME from 5.10.10.00 to 6.10.30.00 2. Attempt to access the device 3. Receive the '400 - Bad Request' 4. Apply the `racadm set idrac.webserver.ManualDNSEntry idrac.mydomain.com` 5. Successfully Access the iDrac as normal via its FQDN after update in 4. 6. Goto your OME instance and realize it is "gray'd" out / offline 7. Attempt a "Refresh Status" or "Refresh Inventory" with failures 8. Delete device from OME 9. Attempt to re-discover device with job status in OME of:
Results: Target System: idrac.mydomain.com Messages: Running Discovery of target started. Discovery target resolved to IP [: : ========== EEMI Code: CGEN1013 ========== Message: Unable to connect to the device over WSMAN, REDFISH because a connection error occurred. Recommended actions: Make sure that the target device is available and retry the operation. ======================================= Task Failed. Completed With Errors.
SOLVED - and update on the 03-10-2023 04:58 PM "grobb3" post above.
OME is working fantastic after conducting all the steps mentioned in this thread:
TL;DR ( solution after I re-read this entire thread) Dell- Maria J <- truly provided all the data needed. TY
Apply: `racadm set idrac.webserver.ManualDNSEntry idrac.mydomain.com` this gets direct to the idrac WebUI from workstations functional again AND Apply: `racadm set idrac.webserver.HostHeaderCheck 0` This gets OME able to communicate fully
jabuzz
1 Rookie
•
36 Posts
•
30 Points
18421
12
Posted December 16th, 2021 01:00
The answer is that some idiotic twit at Dell decided it would be a good idea to throw this error when you access the iDRAC with a DNS name but it does not match the DNS name in the iDRAC settings. There are two parts to this a hostname which defaults to "idrac- " and what Dell calls the "DNS Domain Name" which by default is blank but you might set to something like "bmc.mycorp.com".
If you set those then you can access the system using the FQDN and it works. But to demonstrate how idiotically stupid Dell have been you can't use short names so "myserver.bmc" does not work but "myserver.bmc.mycorp.com" does. Whoever thought this was a good idea or even acceptable should not be working in product development.
Someone (or possibly a whole group) at Dell needs taking out the back and given a jolly good thrashing with a clue stick. What they have done is utterly inexcusable.