Disposed websocket after portforward #1037
Unanswered
dotnetwizard
asked this question in
Q&A
Replies: 3 comments 4 replies
-
could you please paste the code to repo? |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
It could be that the server is including a Content-Length header with the 101 responses when the connection is established. With Content-Length headers with 100-series response codes is technically not compliant with RFC 7230 Section 3.3.2. |
Beta Was this translation helpful? Give feedback.
2 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.
-
After creating 10+ pods and calling WebSocketNamespacedPodPortForwardAsync, passing the result to a demuxer, some of the websockets are disposed after a minute or two. Specifically, I get a websocket disposed exception. Is there a proper way to reconnect or to keep alive? If I call WebSocketNamespacedPodPortForwardAsync again sometimes it works.
Beta Was this translation helpful? Give feedback.
All reactions