General > Off-Topic
MOTD not loading
[GA] TheOverTaker:
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.
JamminR:
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
--- Code: ---ulx_showmotdurl "https://neotekgaming.com/showthread.php?tid=4&pid=4#pid4"
--- End code ---
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
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
[GA] TheOverTaker:
Did that, still not working.
Updated ULX to latest version too.
JamminR:
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.
[GA] TheOverTaker:
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.
Navigation
[0] Message Index
[#] Next page
Go to full version