When code-server declines a websocket request for whatever reason, log that reason. #7195
Unanswered
kimboslice99
asked this question in
Ideas
Replies: 1 comment
-
The only time we decline a web socket is due to mismatched origin headers, and we throw a We do also log, but only debug-level. We could make that info level though? I was not sure because if a malicious user is trying to access the site cross-origin you could get spam in the logs with But on the other hand, if there are permanent connection problems like this, it seems reasonable to use debug level to figure them out. |
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
-
This would prevent the hoards of people complaining about proxy issues. Seems code-server is overly specific about what it wants in request headers, so we should be verbose about this.
Beta Was this translation helpful? Give feedback.
All reactions