Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- https://next-auth.js.org/errors#client_fetch_error request to http://localhost:3000/api/auth/session failed, reason: Parse Error: Header overflow {
- error: {
- message: 'request to http://localhost:3000/api/auth/session failed, reason: Parse Error: Header overflow',
- stack: 'FetchError: request to http://localhost:3000/api/auth/session failed, reason: Parse Error: Header overflow\n' +
- ' at ClientRequest.<anonymous> (C:\\Users\\mmnem\\Desktop\\Projects\\Next Apps\\BytesToBits-API\\frontend\\node_modules\\node-fetch\\lib\\index.js:1461:11)\n' +
- ' at ClientRequest.emit (node:events:390:28)\n' +
- ' at ClientRequest.emit (node:domain:475:12)\n' +
- ' at Socket.socketOnData (node:_http_client:496:9)\n' +
- ' at Socket.emit (node:events:390:28)\n' +
- ' at Socket.emit (node:domain:475:12)\n' +
- ' at addChunk (node:internal/streams/readable:315:12)\n' +
- ' at readableAddChunk (node:internal/streams/readable:289:9)\n' +
- ' at Socket.Readable.push (node:internal/streams/readable:228:10)\n' +
- ' at TCP.onStreamRead (node:internal/stream_base_commons:199:23)',
- name: 'FetchError'
- },
- path: 'session',
- header: {
- host: 'localhost:3000',
- connection: 'keep-alive',
- 'cache-control': 'max-age=0',
- 'upgrade-insecure-requests': '1',
- 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.82 Safari/537.36',
- accept: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9',
- 'sec-fetch-site': 'same-origin',
- 'sec-fetch-mode': 'navigate',
- 'sec-fetch-user': '?1',
- 'sec-fetch-dest': 'document',
- 'sec-ch-ua': '" Not A;Brand";v="99", "Chromium";v="99", "Google Chrome";v="99"',
- 'sec-ch-ua-mobile': '?0',
- 'sec-ch-ua-platform': '"Windows"',
- referer: 'http://localhost:3000/login?callbackUrl=http://localhost:3000',
- 'accept-encoding': 'gzip, deflate, br',
- 'accept-language': 'en-US,en;q=0.9,el;q=0.8,es;q=0.7',
- cookie: 'next-auth.csrf-token=c8ddec135095084c6f8f8720171efa73178500c7cd0eada4587987683446c93c%7Ca2d3a1dd89d9b3a70b60e9302b11afb3417025e86957eecbdee13776741d1c7d; next-auth.callback-url=http%3A%2F%2Flocalhost%3A3000; next-auth.session-token=eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0..HN0g8lhiIK4Hrgv0.1Jix9I8Fx8SNQ1I4Ku1ZoxrILKF0ybwbWOe-_s92_ZVnS7tfd_Ba9gThkHYjcVzuz7rz2Vyge_QEcRckt-Molunr5mRZcmu64AInu-tuJz2b9BpgHvIxXxurrMxwfr7jYoRlFHtFHsfYYjqxRRYQuQVfhZSjgJ1AJeZcD8XuXNWsnfofrcKS9A-8WBcES0fcYPhH5NJQVdRin2a_PIGNupICKm8UsrAX0tF_12edY3x_XQdsG_zrUQ5hNDce8YZF6yHjEDFY5LjZI0poMMOKJL-QxJkf_nw-4heOK8zMvSoTHpNDfRKJ8XTb0P3cIhTxc9jLz0XpJ8iOFpXxX3_5hZi417yqBc1bltEZX0qwAgABJQnAx3ij_gIEjkuzDs8JEjjnYDvIrT3S_rezduthiZKBqPNg7rrsSbqiWMH7_pQxcTA2P8iwqWln0QrbZZOJD6VSgoJHz8qfefF9Yi3OXW-BfxfS0elgasQMm7ht-zg1QMCu7s2oW9KtJ95NbsLm-MiDP0oyMZXp58ENz_6jvFvoZvXjuUJTrQqEoRLZ9660ENlLEnota9Ay_vghD2Ua1iLBWit04w.kmQx4U5JCDeJEiZoiBcMUQ'
- },
- message: 'request to http://localhost:3000/api/auth/session failed, reason: Parse Error: Header overflow'
- }
- > Found a change in next.config.js. Restart the server to see the changes in effect.
- wait - compiling...
- event - compiled successfully in 61 ms (37 modules)
- wait - compiling /me (client and server)...
- event - compiled client and server successfully in 737 ms (2125 modules)
- wait - compiling /api/auth/[...nextauth]...
- event - compiled client and server successfully in 583 ms (2149 modules)
- [next-auth][error][CLIENT_FETCH_ERROR]
- https://next-auth.js.org/errors#client_fetch_error request to http://localhost:3000/api/auth/session failed, reason: Parse Error: Header overflow {
- error: {
- message: 'request to http://localhost:3000/api/auth/session failed, reason: Parse Error: Header overflow',
- stack: 'FetchError: request to http://localhost:3000/api/auth/session failed, reason: Parse Error: Header overflow\n' +
- ' at ClientRequest.<anonymous> (C:\\Users\\mmnem\\Desktop\\Projects\\Next Apps\\BytesToBits-API\\frontend\\node_modules\\node-fetch\\lib\\index.js:1461:11)\n' +
- ' at ClientRequest.emit (node:events:390:28)\n' +
- ' at ClientRequest.emit (node:domain:475:12)\n' +
- ' at Socket.socketOnData (node:_http_client:496:9)\n' +
- ' at Socket.emit (node:events:390:28)\n' +
- ' at Socket.emit (node:domain:475:12)\n' +
- ' at addChunk (node:internal/streams/readable:315:12)\n' +
- ' at readableAddChunk (node:internal/streams/readable:289:9)\n' +
- ' at Socket.Readable.push (node:internal/streams/readable:228:10)\n' +
- ' at TCP.onStreamRead (node:internal/stream_base_commons:199:23)',
- name: 'FetchError'
- },
- path: 'session',
- header: {
- host: 'localhost:3000',
- connection: 'keep-alive',
- 'sec-ch-ua': '" Not A;Brand";v="99", "Chromium";v="99", "Google Chrome";v="99"',
- 'sec-ch-ua-mobile': '?0',
- 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.82 Safari/537.36',
- 'sec-ch-ua-platform': '"Windows"',
- accept: '*/*',
- 'sec-fetch-site': 'same-origin',
- 'sec-fetch-mode': 'cors',
- 'sec-fetch-dest': 'empty',
- referer: 'http://localhost:3000/',
- 'accept-encoding': 'gzip, deflate, br',
- 'accept-language': 'en-US,en;q=0.9,el;q=0.8,es;q=0.7',
- cookie: 'next-auth.csrf-token=c8ddec135095084c6f8f8720171efa73178500c7cd0eada4587987683446c93c%7Ca2d3a1dd89d9b3a70b60e9302b11afb3417025e86957eecbdee13776741d1c7d; next-auth.callback-url=http%3A%2F%2Flocalhost%3A3000; next-auth.session-token=eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0..HN0g8lhiIK4Hrgv0.1Jix9I8Fx8SNQ1I4Ku1ZoxrILKF0ybwbWOe-_s92_ZVnS7tfd_Ba9gThkHYjcVzuz7rz2Vyge_QEcRckt-Molunr5mRZcmu64AInu-tuJz2b9BpgHvIxXxurrMxwfr7jYoRlFHtFHsfYYjqxRRYQuQVfhZSjgJ1AJeZcD8XuXNWsnfofrcKS9A-8WBcES0fcYPhH5NJQVdRin2a_PIGNupICKm8UsrAX0tF_12edY3x_XQdsG_zrUQ5hNDce8YZF6yHjEDFY5LjZI0poMMOKJL-QxJkf_nw-4heOK8zMvSoTHpNDfRKJ8XTb0P3cIhTxc9jLz0XpJ8iOFpXxX3_5hZi417yqBc1bltEZX0qwAgABJQnAx3ij_gIEjkuzDs8JEjjnYDvIrT3S_rezduthiZKBqPNg7rrsSbqiWMH7_pQxcTA2P8iwqWln0QrbZZOJD6VSgoJHz8qfefF9Yi3OXW-BfxfS0elgasQMm7ht-zg1QMCu7s2oW9KtJ95NbsLm-MiDP0oyMZXp58ENz_6jvFvoZvXjuUJTrQqEoRLZ9660ENlLEnota9Ay_vghD2Ua1iLBWit04w.kmQx4U5JCDeJEiZoiBcMUQ'
- },
- message: 'request to http://localhost:3000/api/auth/session failed, reason: Parse Error: Header overflow'
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement