Search Results

by djvb
Tue Jan 19, 2021 1:39 pm
Forum: Javascript
Topic: Https site connecting to wireless Phidget (websocket) error
Replies: 3
Views: 5216117

Re: Https site connecting to wireless Phidget (websocket) error

No breakpoints set :-)
Problem is that using (insecure) websockets in a secure website triggers this error. And i have to use a secure (https) website (pwa).

(I’m using the plain javascript implementation)
by djvb
Tue Jan 19, 2021 1:10 pm
Forum: Javascript
Topic: Https site connecting to wireless Phidget (websocket) error
Replies: 3
Views: 5216117

Https site connecting to wireless Phidget (websocket) error

I cannot seem to connect to the phidget webservice (locally) from my website (https) in the chrome browser (kiosk mode).

Im getting the following error:

Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS

Anyonen got tips for me?