Replies: 2 comments 1 reply
-
Try upgrading to next@canary |
Beta Was this translation helpful? Give feedback.
1 reply
-
@timneutkens thanks , http header error is fixed with v9.4.5-canary.23 , SSR is still broken (styling) ,it could be unrelated to the http header error, since it is happening for all CMS examples |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bug report
Describe the bug
CMS Strapi example - Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client on the server console and broken SSR for this page
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client at ServerResponse.setHeader (_http_outgoing.js:526:11) at DevServer.sendHTML (/Users/sreekumarmenon/projects/cms/cms-strapi-app/node_modules/next/dist/server/next-dev-server.js:23:5) at DevServer.render (/Users/sreekumarmenon/projects/cms/cms-strapi-app/node_modules/next/dist/next-server/server/next-server.js:49:37) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:97:5) at async Object.fn (/Users/sreekumarmenon/projects/cms/cms-strapi-app/node_modules/next/dist/next-server/server/next-server.js:35:852) at async Router.execute (/Users/sreekumarmenon/projects/cms/cms-strapi-app/node_modules/next/dist/next-server/server/router.js:28:28) at async DevServer.run (/Users/sreekumarmenon/projects/cms/cms-strapi-app/node_modules/next/dist/next-server/server/next-server.js:44:494) at async DevServer.handleRequest (/Users/sreekumarmenon/projects/cms/cms-strapi-app/node_modules/next/dist/next-server/server/next-server.js:13:133) { code: 'ERR_HTTP_HEADERS_SENT' }
Expected behavior
No Error and Posts detail page is server rendered.
System information
Beta Was this translation helpful? Give feedback.
All reactions