Failed to set console: No such file or directory - /usr/share/foreman/extras/noVNC/

when i try to open the host console, i get this error message: /hosts/server1/console

Expected outcome:
the VM Console starts

Foreman and Proxy versions:
3.3.0 & 3.3.0

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

solved by setting default python bin

update-alternatives --install /usr/bin/python python /usr/bin/python3 1

also fixed in Refactor #29539: Unbundle websockify - Foreman