#carbonmod.gg/tools/control-panel Redirecting to https

1 messages ยท Page 1 of 1 (latest)

chilly patio
alpine roost
#

Hey ๐Ÿ™‚ So we disabled HTTPS enforcement. It most likely is your browser automatically redirecting to it ๐Ÿ™‚

chilly patio
#

It hasn't been until today. I had to go into site settings and enable "Allow insecure content", but I've been using it for several days now.

#

I was using it in chrome up until sometime Monday. Firefox still allows it without changing site settings, but chrome/brave auto redirect now for some reason. :/

chilly patio
#

do you have chrome set to Enhanced protection or standard protection?

toxic wigeon
#

You can make your server RCon (websocket) secure via setting up ssl certs on your server machine (if host ask host to do it)

toxic wigeon
#

I use just chromium

#

Not google chrome

chilly patio
#

i'm using a local dev server, so SSL is overkill for something running on 127.0.0.1, but that's good to know for the future!

toxic wigeon
#

You don't need to switch to http:// then

#

Local connections bypass browser checks about 'secure' - should work

chilly patio
#

it's not the connection to my server, it's the initial connection to carbonmod.gg

#

i can enable allow insecure content and it all works as before

#

which, i'm fine with, btw; but if you have other people with chrome set to enhanced security, you'll probably have the same issue.

toxic wigeon
chilly patio
#

it never connects

toxic wigeon
#

a

chilly patio
#

always results in websocket is closed before the connection is established.

#

the websocket is attempting to connect via wss even when you have secure unchecked.

toxic wigeon
#

Yeah. I see the issues in the code. Someone made it force you to use secure wss instead of ws even if you are connecting to local.

#

Let me fix it

chilly patio
#

it looks like you've got a loop on the ipwho.is lookup to display the flag, when it return a result for a Reserved Range IP it doesn't return a country code.

#

btw, i really like your RCon/Control Panel, so much cleaner than any other i've found so far. ๐Ÿ˜„

toxic wigeon
toxic wigeon
chilly patio
#

can we get an option to hide the sidebar, and go full width? that's really the only issue i've had.

toxic wigeon
#

Reload the page and try

chilly patio
#

beautiful!

#

reset insecure content to blocked, and still works!

#

the function to set the flag is still checking ipwho.is constantly when the IP is local.

toxic wigeon
# chilly patio reset insecure content to blocked, and still works!

Yeah. So you can only connect to local servers (localhost, 127.0.0.1 etc) while page is using https:// but if you wanna to connect to remote server:

  1. If your using insecure rcon (websockets) (its by default for rust) you switch your page to http://
  2. Or should consider making your server rcon secure via setting up ssl, certs etc, so you can connect to it on https:// page via secure websockets
toxic wigeon
chilly patio
#

that makes sense.

#

ok, can do. ๐Ÿ™‚

#

you guys rock!

chilly patio
#

yes, but allow full-width instead of max-w-screen-lg (which is 1024)

#

you have....a lot of servers. btw. lol

toxic wigeon
chilly patio
#

a "focus mode" option, like vscode has would be awesome, imho.

chilly patio
#

that's much better, i would go full width, but that could also be determined by the break points. ^_^

chilly patio
#

hells yeah

#

this is how i use it

toxic wigeon
#

Yeah, solvable via breakpoints

chilly patio
#

๐Ÿ˜‰

toxic wigeon
# chilly patio ๐Ÿ˜‰

Will be a container. Not gonna make full width as default - will lose responsiveness (if we ever have options menu it will be there)