当前位置:网站首页>Istio FAQ: 431 request header fields too large
Istio FAQ: 431 request header fields too large
2022-06-24 15:16:00 【imroc】
This article excerpts from istio Learning notes
Problem description
istio in http request ,envoy return 431 Abnormal status code :
HTTP/1.1 431 Request Header Fields Too Large
Cause analysis
This status code describes http request header The size is out of limit , The default limit is 60 KiB, from HttpConnectionManager Configured max_request_headers_kb Field decision , The maximum can be adjusted to 96 KiB:
Solution
Can pass EnvoyFilter adjustment max_request_headers_kb Field to promote header Size limit .
EnvoyFilter Example (istio 1.6 Verification passed ):
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
name: max-header
namespace: istio-system
spec:
configPatches:
- applyTo: NETWORK_FILTER
match:
context: ANY
listener:
filterChain:
filter:
name: "envoy.http_connection_manager"
patch:
operation: MERGE
value:
typed_config:
"@type": "type.googleapis.com/envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager"
max_request_headers_kb: 96The higher version is compatible with the above v2 To configure , But recommended v3 Of To configure (istio 1.8 Verification passed ):
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
name: max-header
namespace: istio-system
spec:
configPatches:
- applyTo: NETWORK_FILTER
match:
context: ANY
listener:
filterChain:
filter:
name: "envoy.http_connection_manager"
patch:
operation: MERGE
value:
typed_config:
"@type": "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager"
max_request_headers_kb: 96if header Larger than 96 KiB, This situation itself is very abnormal , It is suggested to put this part of the data in body.
边栏推荐
- 探索云原生数据库,纵观未来科技发展
- 六石管理学:垃圾场效应:工作不管理,就会变成垃圾场
- 东方财富哪个开户更安全,更好点
- Bert-whitening 向量降维及使用
- Differential privacy
- Left hand code, right hand open source, part of the open source road
- Design of vga/lcd display controller system based on FPGA (Part 2)
- 证券账户理财安全吗??
- Data sharing between laravel lower views
- STM32F1与STM32CubeIDE编程实例-WS2812B全彩LED驱动(基于SPI+DMA)
猜你喜欢

As a developer, what is the most influential book for you?

Do you really know the difference between H5 and applet?

Go language concurrency model mpg model

API data interface for announcement of Hong Kong listed companies

Virtual machines on the same distributed port group but different hosts cannot communicate with each other

从pair到unordered_map,理论+leetcode题目实战

Laravel8 uses faker to call factory to fill data

I have been in the industry for 4 years and have changed jobs twice. I have learned a lot about software testing

Keyword of ES mapping; Term query add keyword query; Change mapping keyword type

He is also a junior test engineer. Why is his salary high? The interview must be brilliant at these points
随机推荐
box-sizing
3 ring kill 360 security guard process
R language constructs regression model diagnosis (normality is invalid), performs variable transformation, and uses powertransform function in car package to perform box Cox transform to normality on
Linux Installation cenos7 MySQL - 8.0.26
在宇宙的眼眸下,如何正确地关心东数西算?
IList of PostgreSQL
leetcode. 12 --- integer to Roman numeral
Some basic database operations (providing the original database information)
He is also a junior test engineer. Why is his salary high? The interview must be brilliant at these points
[sdx62] wcn685x IPA registration failure analysis and solution
golang中Map的并发写入
实战 | 记一次曲折的钓鱼溯源反制
US Senate promotes bipartisan gun safety bill
六月集训(第24天) —— 线段树
Bert whitening vector dimension reduction and its application
leetcode.12 --- 整数转罗马数字
Redis highly available
R语言plotly可视化:可视化模型在整个数据空间的分类轮廓线(等高线)、meshgrid创建一个网格,其中每个点之间的距离由mesh_size变量表示、使用不同的形状标签表征、训练、测试及分类标签
R语言构建回归模型诊断(正态性无效)、进行变量变换、使用car包中的powerTransform函数对目标变量进行Box-Cox变换(Box–Cox transform to normality)
Keyword of ES mapping; Term query add keyword query; Change mapping keyword type