quote
I was having the same problem. I'm on Debian 8.5 and have configured a Class 2 SSL certificate (from StartCom) with all elements (key, cert, ca-cert) in one .pem file. The actual access to Webmin via SSL in the browser works fine. I also got both messages noted above - initially the "Document follows" message, but I think that was before I got Webmin configured properly. Then regularly "Failed to initialize SSL connection" appeared in the log, a new line every few of minutes. So I looked for a cron job which might cause that, but found none. Then I remembered: Ha, I'm monitoring the Webmin port with Monit!
That was it, I commented out the port test in the Monit config file, and the error message disappeared. It may even be possible to do a working test with Monit, I had not added "protocol https" to the Monit config line. But have not checked that out.
Hope this helps!
quote
Last edit: M.T.R 2016-10-07
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So if you connect in non-SSL mode, that "This web server is running in SSL mode" message is expected. What's confusing is that you're also getting it when presumably making an HTTPS connection from IE?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Set objHTTP = CreateObject( "WinHttp.WinHttpRequest.5.1" )
objHTTP.Open "GET", URL, False
objHTTP.SetRequestHeader "User-Agent", "Mozilla/4.0 (compatible; MyApp 1.0; Windows NT 5.1)"
On Error Resume Next
objHTTP.Send
GetPingSite = objHTTP.Status & " " & objHTTP.StatusText
If Err.Number <> 0 Then
Err.Clear
End If
On Error GoTo 0
Set objHTTP = Nothing
End Function
if the webmin server is live i get wscript.echo: "200 Document follows"
and in webmin error log is the error message :
[xxx.xxx.xxx.xxx] Document follows : This web server is running in SSL mode. Try the URL https://my.host:10000/ instead.
if i use the browser to connect to webmin i get the same error message in webminerror log,
but not everytime.
this is the difference.
hope i could make things clear.
<bg>
cheers
Last edit: M.T.R 2016-10-27
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Does it appear only when you're accessing the site with your browser, or at other times? It's possible that some other client is also making connections to Webmin.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
last one appeared exactly at the same time like this message in miniserv access log:
"GET /session_login.cgi?logout=1 HTTP/1.1" 401 2930
(browser access)
cheers
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
as long as i can see, this comes only when using browser to connect to webmin site.
is it possible, that this is a ssl settings issue in webmin perhaps?
cheers
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So you were using an https:// URL when you got the original error message?
exactly,
i'm always using the same saved connection ssl.
sometimes the message appears, sometimes not.
cheers mike
Which browser are you using?
ie11
cheers
Does the same thing happen in other browsers?
this happened also with ie10.
also this was reported by other user.
cheers
this was reported by Tim Reeves:
https://sourceforge.net/p/webadmin/bugs/4767/
quote
I was having the same problem. I'm on Debian 8.5 and have configured a Class 2 SSL certificate (from StartCom) with all elements (key, cert, ca-cert) in one .pem file. The actual access to Webmin via SSL in the browser works fine. I also got both messages noted above - initially the "Document follows" message, but I think that was before I got Webmin configured properly. Then regularly "Failed to initialize SSL connection" appeared in the log, a new line every few of minutes. So I looked for a cron job which might cause that, but found none. Then I remembered: Ha, I'm monitoring the Webmin port with Monit!
That was it, I commented out the port test in the Monit config file, and the error message disappeared. It may even be possible to do a working test with Monit, I had not added "protocol https" to the Monit config line. But have not checked that out.
Hope this helps!
quote
Last edit: M.T.R 2016-10-07
I think that's a different issue.
What about non-IE browsers? That would be useful to track down what's triggering the problem.
hi,
excuse for the delay, i was ill.
i have no access to other browser.
the owner wants only internet explorer and connects to webmin with fixed and saved connection.
however, it is easy to very:
if i ping from a vbscript to verify if webmin is alive i get
in webmin error log:
[xxx.xxx.xxx.xxx] Document follows : This web server is running in SSL mode. Try the URL https://my.host:10000/ instead.
and the script gets the message:
"200 Document follows"
apache would return:
"200 OK"
so the issue is not browser related, cause no browser is involved calling from vbscript.
hope this helps
cheers
Last edit: M.T.R 2016-10-26
So if you connect in non-SSL mode, that "This web server is running in SSL mode" message is expected. What's confusing is that you're also getting it when presumably making an HTTPS connection from IE?
hi,
this is the script, which i use to verify if i'm connected and if webmin server is live:
wscript.echo GetPingSite("https://my.host:10000/")
Function GetPingSite(URL)
Dim objHTTP
End Function
if the webmin server is live i get wscript.echo: "200 Document follows"
and in webmin error log is the error message :
[xxx.xxx.xxx.xxx] Document follows : This web server is running in SSL mode. Try the URL https://my.host:10000/ instead.
if i use the browser to connect to webmin i get the same error message in webminerror log,
but not everytime.
this is the difference.
hope i could make things clear.
<bg>
cheers
Last edit: M.T.R 2016-10-27
just to give more details:
if i verify the webmin server state (say connect)
with my script or interet-explorer makes no difference.
in both cases the error message in webmin error log (miniserv error log) appears randomly.
cheers
Does it appear only when you're accessing the site with your browser, or at other times? It's possible that some other client is also making connections to Webmin.
i don't know,
i will check this out and keep you informed.
have to check if it also appears with my script.
cheers
last one appeared exactly at the same time like this message in miniserv access log:
"GET /session_login.cgi?logout=1 HTTP/1.1" 401 2930
(browser access)
cheers
I'm mystified ... however, unless you're seeing errors in your browser, I'd recommend ignoring these messages in the logs.
as long as i can see, this comes only when using browser to connect to webmin site.
is it possible, that this is a ssl settings issue in webmin perhaps?
cheers