0

While I do testing I faced issue with nginx server.

when I send any request with postman and include my Authentication header always return this page to me

<html>
<head>
    <title>400 Request Header Or Cookie Too Large</title>
</head>
<body bgcolor="white">
    <center>
        <h1>400 Bad Request</h1>
    </center>
    <center>Request Header Or Cookie Too Large</center>
    <hr>
    <center>nginx/1.10.3 (Ubuntu)</center>
</body>

I have tried many solutions and still, I hope you gonna help me

thanks a lot

  • Duplicate of https://stackoverflow.com/questions/17524396/400-bad-request-request-header-or-cookie-too-large/19285146 – shriek Mar 16 '19 at 00:48
  • 1
    i try to add large_client_header_buffers 4 32k; to server block , and nginx restart correctly, but when i send any request i get 502 bad gateway – El-Tayeb Karrar Mar 16 '19 at 09:54
  • Can you also add your `nginx` conf to your post since it looks like it's mostly related to `nginx` than node. – shriek Mar 16 '19 at 13:39
  • I fixed by minimizing JWT AUTHORIZATION CODE, I didn't solve the issue – El-Tayeb Karrar Apr 01 '19 at 19:05

0 Answers0