daisy / pipeline-webui

A Web User Interface for the DAISY Pipeline 2
Other
3 stars 2 forks source link

When using HTTPS, the Web UI should use `wss://` instead of `ws://` #115

Closed josteinaj closed 7 years ago

josteinaj commented 7 years ago
VM80:161 Mixed Content: The page at 'https://nlb-pipeline.ngrok.io/jobs/1314' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://nlb-pipeline.ngrok.io/notifications/-197881499683886/websocket'. This request has been blocked; this endpoint must be available over WSS.
WrappedWebSocket @ VM80:161
VM80:161 Uncaught DOMException: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.
    at WrappedWebSocket (<anonymous>:161:21)
    at HTMLDocument.openWebSocket (https://nlb-pipeline.ngrok.io/assets/javascripts/notifications.js?version=2.5.1:82:35)
    at c (https://nlb-pipeline.ngrok.io/assets/javascripts/jquery-1.9.1.min.js:3:7857)
    at Object.add [as done] (https://nlb-pipeline.ngrok.io/assets/javascripts/jquery-1.9.1.min.js:3:8167)
    at init.ready (https://nlb-pipeline.ngrok.io/assets/javascripts/jquery-1.9.1.min.js:3:2072)
    at init (https://nlb-pipeline.ngrok.io/assets/javascripts/jquery-1.9.1.min.js:3:1602)
    at b (https://nlb-pipeline.ngrok.io/assets/javascripts/jquery-1.9.1.min.js:3:206)
    at Object.start (https://nlb-pipeline.ngrok.io/assets/javascripts/notifications.js?version=2.5.1:46:9)
    at Object.init (https://nlb-pipeline.ngrok.io/assets/javascripts/notifications.js?version=2.5.1:13:23)
    at useBrowserId (https://nlb-pipeline.ngrok.io/jobs/1314:61:18)