Skip to content

Investigate 431 errors on chat requests #2852

Open
@IlyaBondar

Description

@IlyaBondar

EPAM AI DIAL chat version

0.20.0

What happened?

It's reproducible on LAB (0.15.6) and UAT (0.20.0)

Can be reproduced with

curl -v -H "Cookie: $(for i in {1..19}; do echo -n "asd$i=$(printf 'A%.0s' {1..1000}); "; done)" chat-url:3000
where chat-url - dial chat URL

HTTP/1.1 431 Request Header Fields Too Large
Connection: close

possible solutions:

  • Increase the max_header_size value: max_header_size 16k;
  • Compress header values: setHeader('Content-Encoding', 'gzip')

Confidential information

  • I confirm that do not share any confidential information

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

  • Status

    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions