rcon-web-admin / rcon-web-admin

Self hosted, online RCON administration tool for your game server.
MIT License
134 stars 21 forks source link

Uncaught DOMException: The operation is insecure. #38

Open nickelswitte opened 1 year ago

nickelswitte commented 1 year ago

I am not getting this to work. The logs of this container are free of errors, besides a few times this one:

rcon-web          | 2023-06-04T07:58:46.944Z RconServer [mc:25575]: Connection failed

After the minecraft container seems to be fully booted, this error dissapears.

However, when I access the web GUI, I cannot see any content. I see the menu, the rcon web logo, but nothing to do. Looking at the logs of the browser, I can find the following error:

Uncaught DOMException: The operation is insecure.
    cb https://mc.tld/scripts/socket.js:64
    connect https://mc.tld/scripts/socket.js:142
    jQuery 8
    connect https://mc.tld/scripts/socket.js:140
    connectAndLoadView https://mc.tld/scripts/socket.js:151
    <anonymous> https://mc.tld/scripts/global.js:261
    jQuery 13

Has anyone been able to fix this?

gabeklavans commented 1 year ago

Have you tried connecting to your url with HTTP instead of HTTPS? I'm also facing this same error when trying to connect over HTTPS (which I would prefer to do) and trying to figure out how to get it working. Specifying a RWA_WEBSOCKET_URL_SSL to be the same url as the ws url but with wss:// instead does not seem to work; I get a connection refused.