PVE remote login failed

Hi,

Do you have a Reverse Proxy in your PVE server?
Does the Firewall is enabled?
Yes, I did not open the firewall. I used this API to obtain tickets and ports, and after URL encoding, I used Novnc to connect. Then I encountered the above problem.1667808059048.png

This is my code
1667808180929.png