Ulysses
General => Off-Topic => Topic started by: [GA] TheOverTaker on July 29, 2017, 10:39:45 AM
-
My ULX motd doesn't work at all. It only appears with a gray screen. This only occured after our website migrated to HTTPS. I've made a post on this earlier, but the only solution was to migrate back to HTTP, but at this point, it would be dumb for me not to switch to it.
Here is the url: neotekgaming.com/showthread.php?tid=4&pid=4#pid4
Splice of my server.cfg:
//MOTD
ulx showmotd 3
ulx_motdurl "neotekgaming.com/showthread.php?tid=4&pid=4#pid4"
I've tried putting https://, www, http:// to no avail. It only appears with a black screen.
My ULib/ULX versions (run "ulx version" in console):
ULib v2.61
ULX v3.71
Game mode(s) I am having this problem on: Sandbox.
-
If you don't specify https:// or http:// in front of your site in ULX settings, ULX automatically tries to make it http://
So, if your site won't load using http://neotekgaming.com/showthread.php?tid=4&pid=4#pid4 - then Gmod can't load it either.
If from server console, try
ulx_showmotdurl "https://neotekgaming.com/showthread.php?tid=4&pid=4#pid4"
Make sure you use quotes.
If in Xgui, just try that with quotes.
That being said, I can't guarantee that will work.
Your forum site loads some content in http mode. Aka Mixed Mode (https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content)
Gmod web loader may be choking on that. Most browsers ignore it with a little warning in the security status.
Gmod, who knows.
EDIT - fixed url, removed a = sign
-
Did that, still not working.
Updated ULX to latest version too.
-
Then it's likely due to your mixed mode site.
You could test just to make sure https is still working in Gmod/ulx by loading "https://www.google.com".
Gmod html has always been picky about web content you try to feed it.
If there is any fancy scripting or dynamic content, or quirks (like Mixed mode), it seems to want to give up.
Also, the last post you made in Nov 2016, when asked, you never did answer whether or not you had other addons that might break url.
-
Alright, I fixed the mixed content thing.
I tested google and it worked fine. no https:// or anything, just google.com
Neotekgaming.com - instant gray box.
-
Alright, I fixed the mixed content thing.
No, unfortunately, you didn't.
I tried your site in Firefox and still says some unsecure content was blocked.
So, I went out and found an online scanner for you.
This site found 200 (it's limit) pages with "HTTP" links to a Google font.
https://www.jitbit.com/sslcheck/#url=https://neotekgaming.com/
It seems your default theme links to an off site HTTP google font.
It's quite likely that you could find the URL in the theme code and change it to HTTPS. Google now hosts https content in it's entirety. (Most http requests get redirected to HTTPS in fact, which is why google.com worked for you without you typing https. As I stated earlier though, USE HTTPS:// when specifying links in ULX MOTD. ULX by default, when you don't specify, adds only http://, not https://)
Once you fix that mixed mode linking, there may be other challenges. Let's start with fixing that one though.
-
Thanks for pointing me to the font problem. I [think] I actually fixed it now, ran the scan and nothing came up.
Anyway, it's still presenting me with the same problem, and I do have https:// in the front of the URL.
-
I don't have a Dev install that I can test. I'd like to see if I do the same on a clean install if I get a grey screen.
One thing I remember about the last time I tried using external site loading was that Gmod didn't like dynamic pages. (That was years ago though)
For instance, you have some fancy CSS or something with that rotating logo at the top of your page.
Are you absolutely certain you had that before going HTTPS?
Also, I know it's not a direct to the rules page, but have you tried just setting your motd to "https://neotekgaming.com/" ?
I'd be curious if even that worked.
When I tried using the full url in the link to that SSL checker page, even the SSL check mangled the url to "http://neotekgaming.com/showthread.php?tid=4"
Either way, to anyone else monitoring this thread, does anyone else here on the forums have a test box they can test to see if they use "https://neotekgaming.com/showthread.php?tid=4&pid=4#pid4" as motd URL if they too get a grey screen?
(It can't be a listen server, you'd likely not see motd)
I'm reasonably sure this isn't going to be a ULX issue, but more of a Gmod doesn't like some html/https issue.
-
For instance, you have some fancy CSS or something with that rotating logo at the top of your page.
Are you absolutely certain you had that before going HTTPS?
Yes, nothing has changed except the google font stuff.
Also, I know it's not a direct to the rules page, but have you tried just setting your motd to "https://neotekgaming.com/" ?
I'd be curious if even that worked.
Did that, no change.
Probably gonna try a forum with the same theme to see what happens.
-
Alright, I made a simple HTML file with the word "test" in it.
That doesn't load. I'm beginning to think this has to do with the certificate. It's comodo issued so nothing really different about it..
EDIT: Tried site with Comodo certificate and it loads fine.. so confused
EDIT2: Used a different addon and it redirects to "chrome://chromewebdata/" everytime I type in neotekgaming.com. Looking this up comes up with a few things.. mostly from the awesomium site, which is down right now
-
Tested on a dedicated server with only ULib & ULX installed:
https://neotekgaming.com/showthread.php?tid=4&pid=4#pid4
-> Does not load, grey window.
Exact copy: https://timmy.ws/ulyssesmod/motd/neotekgaming.com/rules.html?ver=1501526546
-> Loads okay.
It doesn’t seem to be an issue with the loaded content. You’re not sending any special headers either. SSL/TLS configuration looks correct from here.
https://www.ssllabs.com/ssltest/analyze.html?d=neotekgaming.com&hideResults=on
I’m baffled! Very odd indeed.
Edit: Would you be able to test how Awesomium responds when you use a free Let’s Encrypt certificate? You can generate these over at https://www.sslforfree.com.
-
I'd like to, but I'm hosting from one.com (doesn't allow shell access or anything like that, they provide their own SSL) so not sure how I would do that.
(https://alaskan.smoked-weed-in.space/aa5f69.png)
About to literally make a copy of the page and host it on my personal site (which uses Let's Encrypt)
-
Bummer!
It looks like all HTTPS sites hosted by One.com suffer from the same problem. None of these load:
- https://one-tutorials.com
- https://0-0.nu
- https://0-1-2-3.net
- https://tap3edit.com
-
Hmm.. guess that pinpoints the issue.
Not sure why it would be like that either, I'll just use a personal site to host a small HTML file containing the rules I guess.
-
Contacted owner of another addon that had the same issue
Here's what he said:
(https://alaskanbutter.is-me.me/29029f.png)
-
When I load your page (https://neotekgaming.com/showthread.php?tid=4&pid=4#pid4) For a very brief second, I see a different page and then it's redirected to the server rules page. They must be using something like cloudflare DDoS protection.
-
Moved topic - though educational, not anything Team Ulysses can fix at this time, but instead, as I expected, it's a Gmod/redirect/Awesomium issue.
Gmod HTML never has liked cross-site/redirects/etc.
-
Understandable, for now I've moved it to my personal site with a small HTML file. Hope one day this will be fixed.
-
I fixed it.
What I did was I started using CloudFlare.
Yes, I don't know why but as soon as I activated CloudFlare it worked.
Thanks for the help everyone.