uwebsockets

websockets on GKE with istio gives 'no healthy upstream' and 'CrashLoopBackOff'

假如想象 提交于 2020-01-02 05:15:10
问题 I am on GKE using Istio version 1.0.3 . I try to get my express.js with socket.io (and uws engine) backend working with websockets and had this backend running before on a 'non kubernetes server' with websockets without problems. When I simply enter the external_gke_ip as url I get my backend html page, so http works. But when my client-app makes socketio authentication calls from my client-app I get 503 errors in the browser console: WebSocket connection to 'ws://external_gke_ip/socket.io/

websockets on GKE with istio gives 'no healthy upstream' and 'CrashLoopBackOff'

人走茶凉 提交于 2019-12-05 13:57:36
I am on GKE using Istio version 1.0.3 . I try to get my express.js with socket.io (and uws engine) backend working with websockets and had this backend running before on a 'non kubernetes server' with websockets without problems. When I simply enter the external_gke_ip as url I get my backend html page, so http works. But when my client-app makes socketio authentication calls from my client-app I get 503 errors in the browser console: WebSocket connection to 'ws://external_gke_ip/socket.io/?EIO=3&transport=websocket' failed: Error during WebSocket handshake: Unexpected response code: 503 And