[CLOSED] Secure Websockets not working with https endpoint

#1

Mixed Content: The page at '<URL>' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://x.x.x.x/socket.io/?EIO=3&transport=websocket'. This request has been blocked; this endpoint must be available over WSS.

---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: feathers-virtualservice
spec:
  hosts:
  - "test.x.io"
  gateways:
  - feathers-gateway
  http:
  - route:
    - destination:
        host: feathers
    websocketUpgrade: true
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  name: feathers-gateway
spec:
  selector:
    istio: ingressgateway # use istio default controller
  servers:
  - port:
      number: 80
      name: http
      protocol: HTTP
    hosts:
    - "test.x.io"
0 Likes

#2

Ugh - I think Istio config was correct looks like a client side issue

0 Likes