Server host name over HTTPS

Recently we switched from using our VPS’s IP address to using our domain, however whenever users try to connect from the FiveM main screen it tried connecting them over HTTPS even though we do not have a secure protocol and therefore FiveM refuses the connection. How can we either A. get a secure HTTPS connection or B. tell FiveM to use HTTP like it does whenever connect IP/Host name is used? Not sure if it helps, but it is Windows VPS and we use it for multiple other game servers with no issue, seem only to be FiveM.
This is the error when clicking connect from the last connect server on the home page: https://media.wildfyr.net/WildFyr/PNZQmY.png
As stated before doing F8 connect play.lsdojrp.com works as intended

This sounds like a human error on YOUR end. If your using cloudflare, and if you have it proxied turn off the proxy and give it a 5-10 minutes to refresh. This only happens too if your forcing HTTPS in the cloudflare settings of your domain.

I’m not using Cloudflare, I belive my domain is though Google Domains for my servers, GoDaddy for my other websites but that i besides the point

You have something forcing your domain to HTTPS, its nothing to do with FiveM.

Ok then… How would I find out what is causing this? I have tried 2 seperate domains and both give the same error

After doing some digging I found out that it is Badger-Discord-API that causes this issue. I have reached out to the Dev for comment and going to do some digging in the code myself. As I am a customer of his I would hope he might be able to assist me.

The script would not force HTTPS. Totally unrelated issue

Double check that you have allowed the server in your Windows Defender with proper ports UDP and TCP.

Additionally, if you have to check scripts… open up the lua files you can and check for any http:// and try changing to https using Notepad++ for ease.

After trying a few more things it seems to be the spash screen that casues it. After dissabling the spash screen everything works fine. So for anyone in the future looking for assistance with this set your spash screen to false. I am going to mark this as the solution however will keep looking into this and if I find a way to keep the spash screen up and not have this issue will update this post again.

Root Issue - Something in Badger-Discord-API’s Splash Screen is attempting to force a https connection to the server. Investigating.

Look at your F8 logs and also server sided logs. It will tell you if its a transfer issue and what line its on usually.

Alright thank you, I will look into that

If you are wanting to get HTTPS, you will need to contact your domain hosting provider and purchase one, for free using cloudflare free DDoS & HTTPS options.