Raised This Month: $89 Target: $400
 22% 

Show a HTTPS page in MOTD


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hembi
Member
Join Date: Mar 2013
Location: Hungary
Old 07-14-2019 , 11:37   Show a HTTPS page in MOTD
Reply With Quote #1

Hello!

I would like to display my webpage in a MOTD window, but insted of the webpage the window shows a -113 error.

Photo:


The motd.txt contains the following:
HTML Code:
<html>
<head>
<title>HUNGARYCS</title>
<meta http-equiv="refresh" content="0; url=https://hungarycs.hu" />
</head>
<body>
</body>
</html>
My webpage use CloudFlare DNS and redirect. With HTTP protocol the same page shows properly.
What causes the problem?

Last edited by Hembi; 07-14-2019 at 11:37.
Hembi is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-14-2019 , 15:00   Re: Show a HTTPS page in MOTD
Reply With Quote #2

Remember that the MOTD Is not a full-fledged web browser. To change that, Valve would have to implement a better web browser.
__________________
fysiks is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-14-2019 , 16:54   Re: Show a HTTPS page in MOTD
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
Remember that the MOTD Is not a full-fledged web browser. To change that, Valve would have to implement a better web browser.
Did you take the time to read it to the end?

Quote:
Originally Posted by Hembi View Post
With HTTP protocol the same page shows properly.
Well, you got the answer there, HTTPS. SSL certificate conflict, CloudFlare system assuming it's a threat, who knows, I'm not an expert.
__________________
edon1337 is offline
Send a message via Skype™ to edon1337
Hembi
Member
Join Date: Mar 2013
Location: Hungary
Old 07-15-2019 , 18:08   Re: Show a HTTPS page in MOTD
Reply With Quote #4

Quote:
Originally Posted by fysiks View Post
Remember that the MOTD Is not a full-fledged web browser. To change that, Valve would have to implement a better web browser.
Yes, I know this is a very basic browser, I am afraid about this answer. I wrote this problem in the CS 1.6 Steam forum, but two people answered that they could load a HTTPS page in MOTD, may they lied.
Hembi is offline
Hembi
Member
Join Date: Mar 2013
Location: Hungary
Old 07-15-2019 , 18:16   Re: Show a HTTPS page in MOTD
Reply With Quote #5

Quote:
Originally Posted by edon1337 View Post
Did you take the time to read it to the end?



Well, you got the answer there, HTTPS. SSL certificate conflict, CloudFlare system assuming it's a threat, who knows, I'm not an expert.
Ohh sorry, may I provided the information a bit weird, I known that the problem was caused by the HTTPS, protocol, but I hoped there is an avaiable trick to show the page under this security layer. Thank you for your answer.

I opened a new Issue ticket on GitHub, may they can give me more information about this or implement a new browser in the game.
Hembi is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-15-2019 , 21:03   Re: Show a HTTPS page in MOTD
Reply With Quote #6

Quote:
Originally Posted by edon1337 View Post
Did you take the time to read it to the end?
Yes and my answer is correct, unless you can prove otherwise.


Quote:
Originally Posted by Hembi View Post
Ohh sorry, may I provided the information a bit weird, I known that the problem was caused by the HTTPS, protocol, but I hoped there is an avaiable trick to show the page under this security layer. Thank you for your answer.

I opened a new Issue ticket on GitHub, may they can give me more information about this or implement a new browser in the game.
Well, I tested it with my test server with a webpage (direct URL in motd.txt) and it didn't work for me. As far as I know, the page wasn't protected by cloudflare and I didn't use a redirect so only the HTTPS was the change from the normal HTTP version of the page.
__________________

Last edited by fysiks; 07-15-2019 at 21:06.
fysiks is offline
Hembi
Member
Join Date: Mar 2013
Location: Hungary
Old 07-16-2019 , 04:49   Re: Show a HTTPS page in MOTD
Reply With Quote #7

Well, I now got the answer, very interesting bytheway:
https://github.com/ValveSoftware/halflife/issues/2587

So CS 1.6 use Chromium Embedded Framework 1 and it does not support the HTTPS protocol.
Hembi is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-16-2019 , 17:47   Re: Show a HTTPS page in MOTD
Reply With Quote #8

Quote:
Originally Posted by fysiks View Post
Yes and my answer is correct, unless you can prove otherwise.
I wasn't denying the correctness of your reply, I was just reminding you to read it to the end since it looked like you missed the part where he mentioned that it works with HTTP.
__________________
edon1337 is offline
Send a message via Skype™ to edon1337
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:20.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode