Hello! I've been trying to use DHTML to display some images in-game from my website. It didn't work, so I tried debugging it by trying to open random websites. It seemed like it randomly worked with some websites but with some others it didn't.
For example, when trying to open https://github.com, it doesn't show anything:
local testPnl = vgui.Create("DFrame")
testPnl:SetSize(1000, 1000)
testPnl:Center()
local html = vgui.Create("DHTML", testPnl)
html:Dock(FILL)
html:OpenURL("https://github.com")
testPnl:MakePopup()
However, it works fine with other websites like google. Using Fiddler I ended up getting the error:
fiddler.network.https> HTTPS handshake to github.com (for #16) failed. System.Security.Authentication.AuthenticationException A call to SSPI failed, see inner exception. < The function requested is not supported
Win32 (SChannel) Native Error Code: 0x80090302
So it's an issue with TLS, maybe gmod is using an outdated version? I "fixed" it by disabling TLS on my web server but that's not ideal. This also affects the loading screen so I had to disable TLS on my loadingurl as well. Lua's http.Fetch and FastDL are not affected though.
Anyone had this issue before? Any known workaround or fix? Thanks
Unfortunately Garry's Mod uses Chromium 18, which is a very (very) old build.
Try to run the websites in Chromium 18 and see what happens, it likely uses tech that isn't supported (which is a lot)
Thanks for the reply, I didn't realize it was that outdated. I guess I'm gonna stay with TLS disabled.
Sorry, you need to Log In to post a reply to this thread.