Advertisement
Guest User

Untitled

a guest
Mar 24th, 2022
709
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 6.33 KB | None | 0 0
  1. https://next-auth.js.org/errors#client_fetch_error request to http://localhost:3000/api/auth/session failed, reason: Parse Error: Header overflow {
  2.   error: {
  3.     message: 'request to http://localhost:3000/api/auth/session failed, reason: Parse Error: Header overflow',
  4.     stack: 'FetchError: request to http://localhost:3000/api/auth/session failed, reason: Parse Error: Header overflow\n' +
  5.       '    at ClientRequest.<anonymous> (C:\\Users\\mmnem\\Desktop\\Projects\\Next Apps\\BytesToBits-API\\frontend\\node_modules\\node-fetch\\lib\\index.js:1461:11)\n' +
  6.       '    at ClientRequest.emit (node:events:390:28)\n' +
  7.       '    at ClientRequest.emit (node:domain:475:12)\n' +
  8.       '    at Socket.socketOnData (node:_http_client:496:9)\n' +
  9.       '    at Socket.emit (node:events:390:28)\n' +
  10.       '    at Socket.emit (node:domain:475:12)\n' +
  11.       '    at addChunk (node:internal/streams/readable:315:12)\n' +
  12.       '    at readableAddChunk (node:internal/streams/readable:289:9)\n' +
  13.       '    at Socket.Readable.push (node:internal/streams/readable:228:10)\n' +
  14.       '    at TCP.onStreamRead (node:internal/stream_base_commons:199:23)',
  15.     name: 'FetchError'
  16.   },
  17.   path: 'session',
  18.   header: {
  19.     host: 'localhost:3000',
  20.     connection: 'keep-alive',
  21.     'cache-control': 'max-age=0',
  22.     'upgrade-insecure-requests': '1',
  23.     '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',
  24.     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',
  25.     'sec-fetch-site': 'same-origin',
  26.     'sec-fetch-mode': 'navigate',
  27.     'sec-fetch-user': '?1',
  28.     'sec-fetch-dest': 'document',
  29.     'sec-ch-ua': '" Not A;Brand";v="99", "Chromium";v="99", "Google Chrome";v="99"',
  30.     'sec-ch-ua-mobile': '?0',
  31.     'sec-ch-ua-platform': '"Windows"',
  32.     referer: 'http://localhost:3000/login?callbackUrl=http://localhost:3000',
  33.     'accept-encoding': 'gzip, deflate, br',
  34.     'accept-language': 'en-US,en;q=0.9,el;q=0.8,es;q=0.7',
  35.     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'
  36.   },
  37.   message: 'request to http://localhost:3000/api/auth/session failed, reason: Parse Error: Header overflow'
  38. }
  39.  
  40. > Found a change in next.config.js. Restart the server to see the changes in effect.
  41. wait  - compiling...
  42. event - compiled successfully in 61 ms (37 modules)
  43. wait  - compiling /me (client and server)...
  44. event - compiled client and server successfully in 737 ms (2125 modules)
  45. wait  - compiling /api/auth/[...nextauth]...
  46. event - compiled client and server successfully in 583 ms (2149 modules)
  47. [next-auth][error][CLIENT_FETCH_ERROR]
  48. https://next-auth.js.org/errors#client_fetch_error request to http://localhost:3000/api/auth/session failed, reason: Parse Error: Header overflow {
  49.   error: {
  50.     message: 'request to http://localhost:3000/api/auth/session failed, reason: Parse Error: Header overflow',
  51.     stack: 'FetchError: request to http://localhost:3000/api/auth/session failed, reason: Parse Error: Header overflow\n' +
  52.       '    at ClientRequest.<anonymous> (C:\\Users\\mmnem\\Desktop\\Projects\\Next Apps\\BytesToBits-API\\frontend\\node_modules\\node-fetch\\lib\\index.js:1461:11)\n' +
  53.       '    at ClientRequest.emit (node:events:390:28)\n' +
  54.       '    at ClientRequest.emit (node:domain:475:12)\n' +
  55.       '    at Socket.socketOnData (node:_http_client:496:9)\n' +
  56.       '    at Socket.emit (node:events:390:28)\n' +
  57.       '    at Socket.emit (node:domain:475:12)\n' +
  58.       '    at addChunk (node:internal/streams/readable:315:12)\n' +
  59.       '    at readableAddChunk (node:internal/streams/readable:289:9)\n' +
  60.       '    at Socket.Readable.push (node:internal/streams/readable:228:10)\n' +
  61.       '    at TCP.onStreamRead (node:internal/stream_base_commons:199:23)',
  62.     name: 'FetchError'
  63.   },
  64.   path: 'session',
  65.   header: {
  66.     host: 'localhost:3000',
  67.     connection: 'keep-alive',
  68.     'sec-ch-ua': '" Not A;Brand";v="99", "Chromium";v="99", "Google Chrome";v="99"',
  69.     'sec-ch-ua-mobile': '?0',
  70.     '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',
  71.     'sec-ch-ua-platform': '"Windows"',
  72.     accept: '*/*',
  73.     'sec-fetch-site': 'same-origin',
  74.     'sec-fetch-mode': 'cors',
  75.     'sec-fetch-dest': 'empty',
  76.     referer: 'http://localhost:3000/',
  77.     'accept-encoding': 'gzip, deflate, br',
  78.     'accept-language': 'en-US,en;q=0.9,el;q=0.8,es;q=0.7',
  79.     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'
  80.   },
  81.   message: 'request to http://localhost:3000/api/auth/session failed, reason: Parse Error: Header overflow'
  82. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement