10clouds / 10Books

MIT License
16 stars 2 forks source link

400 error after google sign in #44

Closed ruslansavenok closed 4 years ago

ruslansavenok commented 4 years ago

Happens only for some users:

10:38:02.574 [error] Cowboy returned 400 because it was unable to parse the request headers.

This may happen because there are no headers, or there are too many headers
or the header name or value are too large (such as a large cookie).

You can customize those values when configuring your http/https
server. The configuration option and default values are shown below:

    protocol_options: [
      max_header_name_length: 64,
      max_header_value_length: 4096,
      max_headers: 100,
      max_request_line_length: 8096
    ]