Menu

#4834 Document follows : This web server is running in SSL mode

1.820
open
nobody
None
5
2016-10-29
2016-10-05
M.T.R
No

hi jamie,

this bug is still there:
"Document follows : This web server is running in SSL mode. Try the URL <a href='https:" etc ...

sure i connect via ssl with no problems all the time.

this was also reported by other user.

cheers mike

Discussion

  • Jamie Cameron

    Jamie Cameron - 2016-10-06

    So you were using an https:// URL when you got the original error message?

     
  • M.T.R

    M.T.R - 2016-10-06

    exactly,
    i'm always using the same saved connection ssl.

    sometimes the message appears, sometimes not.

    cheers mike

     
  • Jamie Cameron

    Jamie Cameron - 2016-10-07

    Which browser are you using?

     
  • M.T.R

    M.T.R - 2016-10-07

    ie11

    cheers

     
  • Jamie Cameron

    Jamie Cameron - 2016-10-07

    Does the same thing happen in other browsers?

     
  • M.T.R

    M.T.R - 2016-10-07

    this happened also with ie10.

    also this was reported by other user.

    cheers

     
  • M.T.R

    M.T.R - 2016-10-07

    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
  • Jamie Cameron

    Jamie Cameron - 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.

     
  • M.T.R

    M.T.R - 2016-10-26

    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
  • Jamie Cameron

    Jamie Cameron - 2016-10-27

    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?

     
  • M.T.R

    M.T.R - 2016-10-27

    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

    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
  • M.T.R

    M.T.R - 2016-10-28

    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

     
  • Jamie Cameron

    Jamie Cameron - 2016-10-28

    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.

     
  • M.T.R

    M.T.R - 2016-10-28

    i don't know,
    i will check this out and keep you informed.
    have to check if it also appears with my script.

    cheers

     
  • M.T.R

    M.T.R - 2016-10-28

    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

     
  • Jamie Cameron

    Jamie Cameron - 2016-10-28

    I'm mystified ... however, unless you're seeing errors in your browser, I'd recommend ignoring these messages in the logs.

     
  • M.T.R

    M.T.R - 2016-10-29

    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

     

Log in to post a comment.