@@ -5,7 +5,7 @@ services: application-gateway
5
5
author : greg-lindsay
6
6
ms.service : application-gateway
7
7
ms.topic : troubleshooting
8
- ms.date : 04/19/2022
8
+ ms.date : 04/04/2023
9
9
ms.author : greglin
10
10
ms.custom : devx-track-azurepowershell
11
11
---
@@ -45,6 +45,22 @@ HTTP 400 response codes are commonly observed when:
45
45
- Non-HTTP / HTTPS traffic is initiated to an application gateway with an HTTP or HTTPS listener.
46
46
- HTTP traffic is initiated to a listener with HTTPS, with no redirection configured.
47
47
- Mutual authentication is configured and unable to properly negotiate.
48
+ - Not compliant to RFC.
49
+
50
+ Below are the common reasons for the request to be non-compliant to RFC. So please review the urls/requests from the clients for the below patterns.
51
+ | Subcategory | Examples |
52
+ | ---------- | ---------- |
53
+ | Invalid Host in request line | Host containing two colons ( example.com:8090:8080) |
54
+ | Missing Host Header | Request does not have Host Header |
55
+ | Presence of malformed or illegal character | Reserved characters are &, !. Workaround is to percent code it %& |
56
+ | Invalid HTTP version | Get /content.css HTTP/0.3 |
57
+ | Header field name and URI contains non-ASCII Character | GET /«úü¡»¿.doc HTTP/1.1 |
58
+ | Missing Content Length header for POST request | NA |
59
+ | Invalid HTTP Method | GET123 / HTTP/1.1 |
60
+ | Duplicate Headers | Authorization : <based64 encoded content > , Authorization : <based64 encoded content > |
61
+ | Invalid value in Content-Length | Content-Length : abc |
62
+
63
+
48
64
49
65
For cases when mutual authentication is configured, several scenarios can lead to an HTTP 400 response being returned the client, such as:
50
66
- Client certificate isn't presented, but mutual authentication is enabled.
0 commit comments