NoVNC: Client must support 'binary' or 'base64' protocol

when I start the host console of a VM (NoVNC) then we don’t see the console screen. In the debug mode of the browser (Firefox 102 & Vivalid) the following error message appears:

Client must support 'binary' or 'base64' protocol

Expected outcome:
a NoVNC console is started in the browser

Foreman and Proxy versions:
3.3.1 & 3.3.1

Foreman and Proxy plugin versions:
foreman_discovery 21.0.0
foreman_hooks 0.3.17
foreman_puppet 4.0.1
puppetdb_foreman 5.0.0

Distribution and version:
Debian 11

fixed by Refactor #29539: Unbundle websockify - Foreman