Spice console for kvm mv foreman

Problem: Couldn’t get console for kvm guest in foreman

Expected outcome: it should open console for kvm guest

Foreman and Proxy versions:
foreman-3.5.0-0.17.rc1.el8.noarch
foreman-proxy-3.5.0-0.1.rc1.el8.noarch

Distribution and version:
Rocky Linux Version 8.7
Other relevant data:
I used rocky Linux 8.7 as kvm compute resource and display setup type is spice

Below is the error

below are the spice settings for vm


Please help me to fix the issue

Thanks
Laxman