Funkcionalnosć toś togo sedła se pśez wótwardowańske źěła wobgranicujo, kótarež maju wašo dožywjenje pólěpšyś. Jolic nastawk waš problem njerozwězujo a cośo pšašanje stajiś, wobrośćo se na našo zgromoźeństwo pomocy, kótarež na to caka, wam na @FirefoxSupport na Twitter a /r/firefox na Reddit pomagaś.

Pomoc pśepytaś

Glědajśo se wobšudy pomocy. Njenapominajomy was nigda, telefonowy numer zawołaś, SMS pósłaś abo wósobinske informacije pśeraźiś. Pšosym dajśo suspektnu aktiwitu z pomocu nastajenja „Znjewužywanje k wěsći daś“ k wěsći.

Dalšne informacije

Websocket - WSS not working on HTTPS in video recording on mozilla

  • 1 wótegrono
  • 1 ma toś ten problem
  • 12 naglědow
  • Slědne wótegrono wót philipp

more options

Application + Implementation overview In out application we need to performig video recording. We went ahead with MediaRecorder API hosted at https://developer.mozilla.org/en/docs/Web/API/MediaRecorder_API.

We are getUserMedia API to access webCam and mic. We are using MediaRecorder API to record short blobs and sending it on application server hosting NodeJS WebSocket. ( Data transmission in short blobs to server is happening in every 2 second.

On app server we keep on accumulating data and finally create a .webm media file.

Issue: All this is working fine with HTTP protocol, but whenever we put application on SSL and starts erring with below description;

Error Text:

“WebSocket connection to 'wss://localhost:9000/' failed: WebSocket opening handshake was canceled”

Error screenshot:

Can any of you guide us with whats the issue specifically with HTTPS here.

Application + Implementation overview In out application we need to performig video recording. We went ahead with MediaRecorder API hosted at https://developer.mozilla.org/en/docs/Web/API/MediaRecorder_API. We are getUserMedia API to access webCam and mic. We are using MediaRecorder API to record short blobs and sending it on application server hosting NodeJS WebSocket. ( Data transmission in short blobs to server is happening in every 2 second. On app server we keep on accumulating data and finally create a .webm media file. Issue: All this is working fine with HTTP protocol, but whenever we put application on SSL and starts erring with below description; Error Text: “WebSocket connection to 'wss://localhost:9000/' failed: WebSocket opening handshake was canceled” Error screenshot: Can any of you guide us with whats the issue specifically with HTTPS here.

Wšykne wótegrona (1)

more options

hi, support.mozilla.org is intended for end-user support. if you have a question regarding web development please refer to Where to go for developer support instead. thank you for your understanding!