Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-7730

Access to /graphiql does not work on clusters with self-signed cert

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None

      When accessing https://data-sync-server-metrics.wendy-ocp-slave.skunkhenry.com/graphiql (cluster with no SSL cert)

      client.js:702 Mixed Content: The page at 'https://data-sync-server-metrics.wendy-ocp-slave.skunkhenry.com/graphiql' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://data-sync-server-7-mwkdz:8000/subscriptions'. This request has been blocked; this endpoint must be available over WSS.
      SubscriptionClient.connect @ client.js:702
      client.js:702 Uncaught DOMException: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.
          at SubscriptionClient.connect (https://unpkg.com/subscriptions-transport-ws@0.8.2/browser/client.js:702:23)
          at new SubscriptionClient (https://unpkg.com/subscriptions-transport-ws@0.8.2/browser/client.js:340:18)
          at https://data-sync-server-metrics.wendy-ocp-slave.skunkhenry.com/graphiql:58:31
      

      fyi darahayes aliok@redhat.com

            Unassigned Unassigned
            psturc@redhat.com Pavel Sturc
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: