You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERR_HTTP_HEADERS_SENT , consecutive requests to server fails.
After authentication is setup. and auth tokens are added to headers in upvote / comment components.
1st request to upvote an article works , but the 2nd request fails with this error , crashing the server Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client .
Describe your environment
OS: Ubuntu 22.04
Steps to Reproduce
Add auth token to components upvote
make first upvote request from article learn-node ( will work)
move to second article say learn-mongo , and try to upvote it.
server crashes with this error : Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client happened instead of the expected behavior? Describe the difference. -->
Possible Solution
I think, issue happens when we send same headers again.
Screenshots / Video
Related Issues
The text was updated successfully, but these errors were encountered:
ERR_HTTP_HEADERS_SENT , consecutive requests to server fails.
After authentication is setup. and auth tokens are added to headers in upvote / comment components.
1st request to upvote an article works , but the 2nd request fails with this error , crashing the server
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
.Describe your environment
OS: Ubuntu 22.04
Steps to Reproduce
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
happened instead of the expected behavior? Describe the difference. -->
Possible Solution
I think, issue happens when we send same headers again.
Screenshots / Video
Related Issues
The text was updated successfully, but these errors were encountered: