Invalid WebSocket frame: RSV1 must be clear



  • Gateway was working for a couple of days and then just stopped with this error. I don’t ever see the MONOCLE RTSP SERVICE - INITIALIZED message so I’m assuming it is during that process.



  • I have the same problem 😞



  • also getting this issue now…has anyone tried reinstalling or does that get to the same point?



  • @Jouster-74
    my monocle gateway runs normaly on an orange pi…(until a week or two ago with no problems), tried it on a Macbook yesterday and had unfortunately the same error 😞



  • @Jouster-74 I have tried re-installing to no avail. I’ve also run into the same problem on Ubuntu. Not sure if this is related to Debian in particular, haven’t tried again on my Windows machine yet.



  • looks like we’ll need some input from the powers that be…I’ve tweeted them as well but no response as of yewt



  • Can you all please try again now and see if the issue is resolved? You may need to restart your Monocle Gateway instances.
    We did find a server-side error that potentially could have caused this but it did not impact all users … or at least not all at the same time.

    Thanks, Robert



  • @Monocle yes, it works again 👍 , thank you very much! 😊



  • @Monocle Same here, working again. Thank you!



  • @Monocle

    I am getting the ‘Invalid WebSocket frame: RSV1 must be clear’ error. I have already tried uninstalling and reinstalling. I have stopped and restarted Monocle, but there has been no change



  • Same here. Registered as new User. Connection worked. A hour later i get

    “Mar 24 13:34:22 iobroker monocle-gateway[8994]: 2021-03-24T12:34:22.866Z [ERROR] [Monocle Error] Invalid WebSocket frame: RSV1 must be clear
    Mar 24 13:34:22 iobroker monocle-gateway[8994]: [ ‘[Monocle Error]’,
    Mar 24 13:34:22 iobroker monocle-gateway[8994]: ‘Invalid WebSocket frame: RSV1 must be clear’ ]”



  • I’m trying to get to the bottom of this issue but its difficult when I’m unable to reproduce it locally.
    I have made some additional changes on the server side. Let’s see if that helps the problem.

    Please post back here if you continue to get “Invalid WebSocket frame: RSV1 must be clear” errors.

    Thanks, Robert



  • Problem solved! Thanks!

    Maybe i could help you with debugging from my maschine? I’m a developer also. So feel free to contact me.



  • @Monocle I am getting the same issue!



  • @Monocle
    Mar 31 23:57:53 raspberrypi monocle-gateway[441]: [Monocle Connecting]

    Mar 31 23:57:54 raspberrypi monocle-gateway[441]: [Monocle Connected]
    Mar 31 23:57:54 raspberrypi monocle-gateway[441]: [RTSP Server Registered]
    Mar 31 23:57:54 raspberrypi monocle-gateway[441]: 2021-03-31T22:57:54.125Z [ERROR] [Monocle Error] Invalid WebSocket frame: RSV1 must be clear
    Mar 31 23:57:54 raspberrypi monocle-gateway[441]: [ ‘[Monocle Error]’,
    Mar 31 23:57:54 raspberrypi monocle-gateway[441]: ‘Invalid WebSocket frame: RSV1 must be clear’ ]
    Mar 31 23:57:54 raspberrypi monocle-gateway[441]: [Monocle Disconnected]
    Mar 31 23:57:54 raspberrypi monocle-gateway[441]: [Monocle Reconnecting] … in 6 seconds (attempt #1)



  • Same here. Restarted the gateway and rebooted the server several times. (Linux casemedia 5.4.0-1032-raspi #35-Ubuntu SMP PREEMPT Fri Mar 19 20:52:40 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux)

    Double checked nothing else is listening on 443 (this is not that problem).

    Apr 02 09:53:29 casemedia monocle-gateway[2064]: [Monocle Connected]
    Apr 02 09:53:29 casemedia monocle-gateway[2064]: [RTSP Server Registered]
    Apr 02 09:53:29 casemedia monocle-gateway[2064]: 2021-04-02T09:53:29.654Z [ERROR] [Monocle Error] Invalid WebSocket frame: RSV1 must be clear
    Apr 02 09:53:29 casemedia monocle-gateway[2064]: [ ‘[Monocle Error]’,
    Apr 02 09:53:29 casemedia monocle-gateway[2064]: ‘Invalid WebSocket frame: RSV1 must be clear’ ]
    Apr 02 09:53:29 casemedia monocle-gateway[2064]: [Monocle Disconnected]
    Apr 02 09:53:29 casemedia monocle-gateway[2064]: [Monocle Reconnecting] … in 9 seconds (attempt #1)



  • I have reverted to restoring a backup of the previously “known” working server to see if this gets rid of the ‘Invalid WebSocket frame: RSV1 must be clear error. Please let me know if you continue to get this error. It seems like all this started happening after a recent server upgrade so I have reverted back just to see if the problem goes away.

    Thanks, Robert



  • Hi,
    it works again for me
    thanks



  • @Monocle
    Splendid. Working again for me too, gateway starts cleanly.
    Thank you.



  • @Monocle Working again for me also 👍


Log in to reply