influxdata / influxdata/influxdb-java

Request Header Fields Too Large

Open
#713 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.2k
Forks
469
PR merge metrics
No merged PRs in 30d

Description

Hello,I found this error when the sql is so long,how can i fix it ? I already set the influxdb config with "max-body-size = 0",but problem still remains....

org.influxdb.InfluxDBException: 431 Request Header Fields Too Large
at org.influxdb.InfluxDBException.buildExceptionForErrorState(InfluxDBException.java:175)
at org.influxdb.impl.InfluxDBImpl.execute(InfluxDBImpl.java:796)
at org.influxdb.impl.InfluxDBImpl.executeQuery(InfluxDBImpl.java:783)
at org.influxdb.impl.InfluxDBImpl.query(InfluxDBImpl.java:683)
...

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with InfluxDBImpl.java at executeQuery, query, and execute, then inspect InfluxDBException.buildExceptionForErrorState for how the 431 response is surfaced. Reproduce the long-SQL request with max-body-size set to 0 and determine whether the client or server rejects the request; done means the cause and a verified fix or clear configuration guidance are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.