# Error : HTTP/1.1 400 Bad Request

**URL:** <https://forum.genieacs.com/t/error-http-1-1-400-bad-request/5435>\
**Category:** Uncategorized\
**Created:** [May 15, 2024, 3:20pm UTC](https://forum.genieacs.com/t/error-http-1-1-400-bad-request/5435 "2024-05-15T15:20:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MAHER](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@MAHER](https://forum.genieacs.com/u/MAHER)\
**Post date:** [May 15, 2024, 3:20pm UTC](https://forum.genieacs.com/t/error-http-1-1-400-bad-request/5435/1 "2024-05-15T15:20:21Z")

</div>

Hi All,  
I have a server which records a connection failure with the device after 2 reboots or resetfactories  
can you give me a solution and why this bad request message is recorded on the server side

here is the tcp message:

HTTP/1.1 200 OK  
Server: nginx/1.12.2  
Date: Tue, 14 May 2024 14:47:48 GMT  
Content-Type: text/xml; charset=“utf-8”  
Content-Length: 2992  
Connection: keep-alive  
SOAPServer: GenieACS/1.1.3

\<?xml version="1.0" encoding="UTF-8"?\>

\<soap-env:Envelope xmlns:soap-enc=“[http://schemas.xmlsoap.org/soap/encoding/](http://schemas.xmlsoap.org/soap/encoding/)” xmlns:soap-env=“[http://schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)” xmlns:xsd=“[http://www.w3.org/2001/XMLSchema](http://www.w3.org/2001/XMLSchema)” xmlns:xsi=“[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)” xmlns:cwmp=“urn:dslforum-org:cwmp-1-0”\>soap-env:Header\<cwmp:ID soap-env:mustUnderstand=“1”\>18f77905e9c000e\</cwmp:ID\>\</soap-env:Header\>soap-env:Bodycwmp:GetParameterValuesInternetGatewayDevice.Capabilities.PerformanceDiagnostic.UploadTransportsInternetGatewayDevice.DeviceConfig.ConfigFileInternetGatewayDevice.DownloadDiagnostics.BOMTimeInternetGatewayDevice.DownloadDiagnostics.DSCPInternetGatewayDevice.DownloadDiagnostics.DiagnosticsStateInternetGatewayDevice.DownloadDiagnostics.DownloadDiagnosticMaxConnectionsInternetGatewayDevice.DownloadDiagnostics.DownloadURLInternetGatewayDevice.DownloadDiagnostics.EOMTimeInternetGatewayDevice.DownloadDiagnostics.EnablePerConnectionResultsInternetGatewayDevice.DownloadDiagnostics.EthernetPriorityInternetGatewayDevice.DownloadDiagnostics.InterfaceInternetGatewayDevice.DownloadDiagnostics.NumberOfConnectionsInternetGatewayDevice.DownloadDiagnostics.PerConnectionResultNumberOfEntriesInternetGatewayDevice.DownloadDiagnostics.PeriodOfFullLoadingInternetGatewayDevice.DownloadDiagnostics.ROMTimeInternetGatewayDevice.DownloadDiagnostics.TCPOpenRequestTimeInternetGatewayDevice.DownloadDiagnostics.TCPOpenResponseTimeInternetGatewayDevice.DownloadDiagnostics.TestBytesReceivedInternetGatewayDevice.DownloadDiagnostics.TestBytesReceivedUnderFullLoadingInternetGatewayDevice.DownloadDiagnostics.TotalBytesReceivedInternetGatewayDevice.DownloadDiagnostics.TotalBytesReceivedUnderFullLoadingInternetGatewayDevice.DownloadDiagnostics.TotalBytesSentInternetGatewayDevice.DownloadDiagnostics.TotalBytesSentUnderFullLoadingInternetGatewayDevice.IPPingDiagnostics.AverageResponseTimeInternetGatewayDevice.IPPingDiagnostics.DSCPInternetGatewayDevice.IPPingDiagnostics.DataBlockSizeInternetGatewayDevice.IPPingDiagnostics.DiagnosticsStateInternetGatewayDevice.IPPingDiagnostics.FailureCountInternetGatewayDevice.IPPingDiagnostics.HostInternetGatewayDevice.IPPingDiagnostics.InterfaceInternetGatewayDevice.IPPingDiagnostics.MaximumResponseTimeInternetGatewayDevice.IPPingDiagnostics.MinimumResponseTime\</cwmp:GetParameterValues\>\</soap-env:Body\>\</soap-env:Envelope\>  
POST /openacs/acs HTTP/1.1  
Host: xxxxx:80  
User-Agent: HW\_WEBSDK\_HTTP  
Connection: Keep-Alive  
SoapAction:  
Content-Type: text/xml; charset=UTF-8  
Cookie: session=e2e0786f0c38cc02  
Content-Length: 56705

\<SOAP-ENV:Envelope xmlns:SOAP-ENV=“[http://schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)” xmlns:SOAP-ENC=“[http://schemas.xmlsoap.org/soap/encoding/](http://schemas.xmlsoap.org/soap/encoding/)” xmlns:xsd=“[http://www.w3.org/2001/XMLSchema](http://www.w3.org/2001/XMLSchema)” xmlns:xsi=“[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)” xmlns:cwmp=“urn:dslforum-org:cwmp-1-0”\>  
SOAP-ENV:Header  
\<cwmp:ID SOAP-ENV:mustUnderstand=“1”\>18f77905e9c000e\</cwmp:ID\>  
\</SOAP-ENV:Header\>  
SOAP-ENV:Body  
cwmp:GetParameterValuesResponse  
  
  
InternetGatewayDevice.Capabilities.PerformanceDiagnostic.UploadTransports  
HTTP,FTP  
  
  
InternetGatewayDevice.DeviceConfig.ConfigFile

InternetGatewayDevice.DownloadDiagnostics.BOMTime InternetGatewayDevice.DownloadDiagnostics.DSCP 0 InternetGatewayDevice.DownloadDiagnostics.DiagnosticsState None InternetGatewayDevice.DownloadDiagnostics.DownloadDiagnosticMaxConnections 1 InternetGatewayDevice.DownloadDiagnostics.DownloadURL InternetGatewayDevice.DownloadDiagnostics.EOMTime InternetGatewayDevice.DownloadDiagnostics.EnablePerConnectionResults 0 InternetGatewayDevice.DownloadDiagnostics.EthernetPriority 0 InternetGatewayDevice.DownloadDiagnostics.Interface InternetGatewayDevice.DownloadDiagnostics.NumberOfConnections 1 InternetGatewayDevice.DownloadDiagnostics.PerConnectionResultNumberOfEntries 0 InternetGatewayDevice.DownloadDiagnostics.PeriodOfFullLoading 0 InternetGatewayDevice.DownloadDiagnostics.ROMTime InternetGatewayDevice.DownloadDiagnostics.TCPOpenRequestTime InternetGatewayDevice.DownloadDiagnostics.TCPOpenResponseTime InternetGatewayDevice.DownloadDiagnostics.TestBytesReceived 0 InternetGatewayDevice.DownloadDiagnostics.TestBytesReceivedUnderFullLoading 0 InternetGatewayDevice.DownloadDiagnostics.TotalBytesReceived 0 InternetGatewayDevice.DownloadDiagnostics.TotalBytesReceivedUnderFullLoading 0 InternetGatewayDevice.DownloadDiagnostics.TotalBytesSent 0 InternetGatewayDevice.DownloadDiagnostics.TotalBytesSentUnderFullLoading 0 InternetGatewayDevice.IPPingDiagnostics.AverageResponseTime 0 InternetGatewayDevice.IPPingDiagnostics.DSCP 0 InternetGatewayDevice.IPPingDiagnostics.DataBlockSize 0 InternetGatewayDevice.IPPingDiagnostics.DiagnosticsState None InternetGatewayDevice.IPPingDiagnostics.FailureCount 0 InternetGatewayDevice.IPPingDiagnostics.Host InternetGatewayDevice.IPPingDiagnostics.Interface InternetGatewayDevice.IPPingDiagnostics.MaximumResponseTime 0 InternetGatewayDevice.IPPingDiagnostics.MinimumResponseTime 0 HTTP/1.1 200 OK Server: nginx/1.12.2 Date: Tue, 14 May 2024 14:47:52 GMT Content-Type: text/xml; charset="utf-8" Content-Length: 3229 Connection: keep-alive SOAPServer: GenieACS/1.1.3 \<?xml version="1.0" encoding="UTF-8"?\>

\<soap-env:Envelope xmlns:soap-enc=“[http://schemas.xmlsoap.org/soap/encoding/](http://schemas.xmlsoap.org/soap/encoding/)” xmlns:soap-env=“[http://schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)” xmlns:xsd=“[http://www.w3.org/2001/XMLSchema](http://www.w3.org/2001/XMLSchema)” xmlns:xsi=“[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)” xmlns:cwmp=“urn:dslforum-org:cwmp-1-0”\>soap-env:Header\<cwmp:ID soap-env:mustUnderstand=“1”\>18f77905e9c000f\</cwmp:ID\>\</soap-env:Header\>soap-env:Bodycwmp:GetParameterValuesInternetGatewayDevice.IPPingDiagnostics.NumberOfRepetitionsInternetGatewayDevice.IPPingDiagnostics.ReplyInternetGatewayDevice.IPPingDiagnostics.ResultInternetGatewayDevice.IPPingDiagnostics.SuccessCountInternetGatewayDevice.IPPingDiagnostics.TimeoutInternetGatewayDevice.IPPingDiagnostics.TypeInternetGatewayDevice.LANDevice.1.Hosts.Host.1.ActiveInternetGatewayDevice.LANDevice.1.Hosts.Host.1.InterfaceTypeInternetGatewayDevice.LANDevice.1.Hosts.Host.1.HostNameInternetGatewayDevice.LANDevice.1.Hosts.Host.1.MACAddressInternetGatewayDevice.LANDevice.1.Hosts.Host.1.LeaseTimeRemainingInternetGatewayDevice.LANDevice.1.Hosts.Host.1.AddressSourceInternetGatewayDevice.LANDevice.1.Hosts.Host.1.IPAddressInternetGatewayDevice.LANDevice.1.Hosts.HostNumberOfEntriesInternetGatewayDevice.LANDevice.1.Hosts.X\_ATP\_ActiveHostNumberOfEntriesInternetGatewayDevice.LANDevice.1.Hosts.X\_ATP\_WiFiUserNumInternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.1.EnableInternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.1.MACAddressInternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.1.NameInternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.1.Stats.BytesReceivedInternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.1.Stats.BytesSentInternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.1.Stats.PacketsReceivedInternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.1.Stats.PacketsSentInternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.1.StatusInternetGatewayDevice.LANDevice.1.LANEthernetInterfaceNumberOfEntriesInternetGatewayDevice.LANDevice.1.LANHostConfigManagement.AssociatedConnectionInternetGatewayDevice.LANDevice.1.LANHostConfigManagement.DHCPConditionalPoolNumberOfEntriesInternetGatewayDevice.LANDevice.1.LANHostConfigManagement.DHCPLeaseTimeInternetGatewayDevice.LANDevice.1.LANHostConfigManagement.DHCPOptionNumberOfEntriesInternetGatewayDevice.LANDevice.1.LANHostConfigManagement.DHCPRelayInternetGatewayDevice.LANDevice.1.LANHostConfigManagement.DHCPServerConfigurableInternetGatewayDevice.LANDevice.1.LANHostConfigManagement.DHCPServerEnable\</cwmp:GetParameterValues\>\</soap-env:Body\>\</soap-env:Envelope\>  
POST /openacs/acs HTTP/1.1  
Host: xxxx:80  
User-Agent: HW\_WEBSDK\_HTTP  
Connection: Keep-Alive  
SoapAction:  
Content-Type: text/xml; charset=UTF-8  
Cookie: session=e2e0786f0c38cc02  
Content-Length: 6015

\<SOAP-ENV:Envelope xmlns:SOAP-ENV=“[http://schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)” xmlns:SOAP-ENC=“[http://schemas.xmlsoap.org/soap/encoding/](http://schemas.xmlsoap.org/soap/encoding/)” xmlns:xsd=“[http://www.w3.org/2001/XMLSchema](http://www.w3.org/2001/XMLSchema)” xmlns:xsi=“[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)” xmlns:cwmp=“urn:dslforum-org:cwmp-1-0”\>  
SOAP-ENV:Header  
\<cwmp:ID SOAP-ENV:mustUnderstand=“1”\>18f77905e9c000f\</cwmp:ID\>  
\</SOAP-ENV:Header\>  
SOAP-ENV:Body  
cwmp:GetParameterValuesResponse  
  
  
InternetGatewayDevice.IPPingDiagnostics.NumberOfRepetitions  
0  
  
  
InternetGatewayDevice.IPPingDiagnostics.Reply  
  
  
  
InternetGatewayDevice.IPPingDiagnostics.Result  
0  
  
  
InternetGatewayDevice.IPPingDiagnostics.SuccessCount  
0  
  
  
InternetGatewayDevice.IPPingDiagnostics.Timeout  
0  
  
  
InternetGatewayDevice.IPPingDiagnostics.Type  
0  
  
  
InternetGatewayDevice.LANDevice.1.Hosts.Host.1.Active  
1  
  
  
InternetGatewayDevice.LANDevice.1.Hosts.Host.1.InterfaceType  
Ethernet  
  
  
InternetGatewayDevice.LANDevice.1.Hosts.Host.1.HostName  
  
  
  
InternetGatewayDevice.LANDevice.1.Hosts.Host.1.MACAddress  
E8:D8:D1:E6:7B:74  
  
  
InternetGatewayDevice.LANDevice.1.Hosts.Host.1.LeaseTimeRemaining  
0  
  
  
InternetGatewayDevice.LANDevice.1.Hosts.Host.1.AddressSource  
STATIC  
  
  
InternetGatewayDevice.LANDevice.1.Hosts.Host.1.IPAddress  
192.168.1.100  
  
  
InternetGatewayDevice.LANDevice.1.Hosts.HostNumberOfEntries  
1  
  
  
InternetGatewayDevice.LANDevice.1.Hosts.X\_ATP\_ActiveHostNumberOfEntries  
1  
  
  
InternetGatewayDevice.LANDevice.1.Hosts.X\_ATP\_WiFiUserNum  
0  
  
  
InternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.1.Enable  
1  
  
  
InternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.1.MACAddress  
42:89:69:82:C9:69  
  
  
InternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.1.Name  
eth0  
  
  
InternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.1.Stats.BytesReceived  
300656  
  
  
InternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.1.Stats.BytesSent  
881444  
  
  
InternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.1.Stats.PacketsReceived  
1314  
  
  
InternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.1.Stats.PacketsSent  
1584  
  
  
InternetGatewayDevice.LANDevice.1.LANEthernetInterfaceConfig.1.Status  
Up  
  
  
InternetGatewayDevice.LANDevice.1.LANEthernetInterfaceNumberOfEntries  
1  
  
  
InternetGatewayDevice.LANDevice.1.LANHostConfigManagement.AssociatedConnection  
  
  
  
InternetGatewayDevice.LANDevice.1.LANHostConfigManagement.DHCPConditionalPoolNumberOfEntries  
0  
  
  
InternetGatewayDevice.LANDevice.1.LANHostConfigManagement.DHCPLeaseTime  
86400  
  
  
InternetGatewayDevice.LANDevice.1.LANHostConfigManagement.DHCPOptionNumberOfEntries  
0  
  
  
InternetGatewayDevice.LANDevice.1.LANHostConfigManagement.DHCPRelay  
1  
  
  
InternetGatewayDevice.LANDevice.1.LANHostConfigManagement.DHCPServerConfigurable  
1  
  
  
InternetGatewayDevice.LANDevice.1.LANHostConfigManagement.DHCPServerEnable  
1  
  
  
\</cwmp:GetParameterValuesResponse\>  
\</SOAP-ENV:Body\>  
\</SOAP-ENV:Envelope\>  
HTTP/1.1 400 Bad Request  
Server: nginx/1.12.2  
Date: Tue, 14 May 2024 14:47:52 GMT  
Transfer-Encoding: chunked  
Connection: keep-alive

f  
Invalid session  
0
