Menu

#5078 Random Error - Bad Header

1.870
closed-fixed
None
5
2018-05-18
2018-01-24
IMT
No

Operating system CentOS Linux 7.4.1708
Webmin version 1.872

Continuously i get a "Bad Header" with webmin. Already switched theme from Authenic theme to gray-framed theme. problem stays. Some times there it's possible to work a few minutes without problems.
Server restart/ webmin restart doesn't help. This server was running ok for a year now and this error pops-up every time. Also the error log is full with bad header error messages.

Related

Bugs: #5078

Discussion

1 2 > >> (Page 1 of 2)
  • IMT

    IMT - 2018-01-24

    this seems to be the same issue:

    https://www.virtualmin.com/node/54935

     
  • Jamie Cameron

    Jamie Cameron - 2018-01-26

    Yes - please subscribe to that bug.

     
  • klaipedaville

    klaipedaville - 2018-03-30

    The bug is still there in Webmin 1.881... Although I have never had it in any other versions...

    Not sure if there is a simple typo somewhere in pl scripts (no space or \r\n) where the header is not separated from the body because this header was not terminated correctly and the body comes straight after it... but then again... that may not be the case because sometimes it works and sometimes it doesn't...

     
  • Jamie Cameron

    Jamie Cameron - 2018-03-31

    Can you check if in your /etc/webmin/miniserv.conf file, you have the logheaders=1 line? If so, remove it, and run /etc/webmin/restart

     
  • klaipedaville

    klaipedaville - 2018-04-01

    Nope, I do not havy any logheaders=1 lines in my /etc/webmin/miniserv.conf at all but instead I have a lot of entries like this in miniserv.error:

    [30/Mar/2018:04:25:34 +0200] /postgresql/ : Bad Header
    [30/Mar/2018:04:23:25 +0200] /ldap-server/ : Bad Header
    and so on and so forth...

     
  • Jamie Cameron

    Jamie Cameron - 2018-04-01

    This is really unusual, as I haven't seen this error on any of my test systems.

    Any chance I could login to your system to see what's going wrong?

     
  • klaipedaville

    klaipedaville - 2018-04-01

    Do you need root access?

     
  • Jamie Cameron

    Jamie Cameron - 2018-04-02

    Yes, that would be useful.

     
  • klaipedaville

    klaipedaville - 2018-04-02

    I will email you for access and all

     
  • Vojtěch Zeisek

    Vojtěch Zeisek - 2018-04-06

    I have exactly same problem. All the time I get Error - Bad Header and I have no logheaders=1 in /etc/webmin/miniserv.conf. I run Webmin 1.881 RPM on openSUSE 42.3, I have been observing this problem for several versions. Interestingly, Usermin 1.740 works well.

     
  • mediaf

    mediaf - 2018-04-25

    I also have the same problem on one of my servers.
    The only one which shows this problem is running webmin 1.881 on a debian 9
    I don't have any problem on 3 others running the same webmin, 2 on debian 8 and one on ubuntu 14.04.2

     
    • klaipedaville

      klaipedaville - 2018-04-26

      Interesting. Do you think it’s only Debian’s specific versions related, mediaf? Mine is Debian 7 that has this issue.

      From: mediaf
      Sent: Wednesday, April 25, 2018 13:08
      To: [webadmin:bugs]
      Subject: [webadmin:bugs] #5078 Random Error - Bad Header

      I also have the same problem on one of my servers.
      The only one which shows this problem is running webmin 1.881 on a debian 9
      I don't have any problem on 3 others running the same webmin, 2 on debian 8 and one on ubuntu 14.04.2


      [bugs:#5078] Random Error - Bad Header

      Status: open
      Group: 1.870
      Created: Wed Jan 24, 2018 06:50 PM UTC by IMT
      Last Updated: Fri Apr 06, 2018 10:02 AM UTC
      Owner: Jamie Cameron

      Operating system CentOS Linux 7.4.1708
      Webmin version 1.872

      Continuously i get a "Bad Header" with webmin. Already switched theme from Authenic theme to gray-framed theme. problem stays. Some times there it's possible to work a few minutes without problems.
      Server restart/ webmin restart doesn't help. This server was running ok for a year now and this error pops-up every time. Also the error log is full with bad header error messages.


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/webadmin/bugs/5078/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #5078

    • reinstaller

      reinstaller - 2018-04-28

      Same here,

      Webmin 1.881 debian9 and two factor login.

      if I restart webmin I can enter, but in logs there are same errors

      [28/Apr/2018:22:01:40 +0200] [xxx.aaa.xxxMYIP] / : Bad Header
      [28/Apr/2018:22:01:41 +0200] [xxx.aaa.xxxMYIP] / : Bad Header
      [28/Apr/2018:22:01:54 +0200] [xxx.aaa.xxxMYIP] / : Bad Header
      [28/Apr/2018:22:10:25 +0200] miniserv.pl started
      [28/Apr/2018:22:10:25 +0200] IPv6 support enabled
      [28/Apr/2018:22:10:25 +0200] Using MD5 module Digest::MD5
      [28/Apr/2018:22:10:25 +0200] Using SHA512 module Crypt::SHA
      [28/Apr/2018:22:10:25 +0200] PAM authentication enabled
      [28/Apr/2018:22:10:40 +0200] [xxx.aaa.xxxMYIP] /index.cgi/ : Bad Header
      [28/Apr/2018:22:10:40 +0200] [xxx.aaa.xxxMYIP] /index.cgi/ : Bad Header
      [28/Apr/2018:22:10:40 +0200] [xxx.aaa.xxxMYIP] /index.cgi/ : Bad Header
      
       
  • Vojtěch Zeisek

    Vojtěch Zeisek - 2018-05-01

    It's not Debian-specific. I observe it on openSUSE...

     
  • PRLCS

    PRLCS - 2018-05-04

    Same issue on Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-143-generic x86_64)
    It started around september and still present in the current version.
    Very painful :/

     
  • Jamie Cameron

    Jamie Cameron - 2018-05-05

    For anyone who's seeing this - can you try upgrading to the 1.882 development version of Webmin, from http://www.webmin.com/devel.html

     
  • Adam Reece

    Adam Reece - 2018-05-15

    You've probably heard enough of this, but can confirm this happens for me on Debian 9, Ubuntu 16.04, Ubuntu 18.04, and CentOS 7.5.

    However updating to 1.882 seems to have made Webmin significantly more reliable. Thank you. :)

     
  • Jamie Cameron

    Jamie Cameron - 2018-05-16

    Did 1.882 completely fix the issue for you?

     
  • mediaf

    mediaf - 2018-05-17

    I try with 1.883 which is the one in http://www.webmin.com/devel.html and now all is ok !
    Thanks a lot Jamie !

     
  • Adam Reece

    Adam Reece - 2018-05-17

    Hi Jamie,

    Yes thank you, I can confirm that updating to 1.882 resolved this issue perfectly. (1.883 too.) I've deployed this on:

    • 10x Debian 9 VPSes running on VMWare ESXi
    • 3x Debian 8 VPSes running on VMWare ESXi
    • 1x CentOS 7.5 VPS running on VMWare ESXi
    • 2x Debian 9 VPSes running on Oracle VirtualBox
    • 2x Ubuntu 18.04 VM running on Oracle VirtualBox
    • 1x Ubuntu 16.04 VM running on Oracle VirtualBox
    • 4x Debian 9 VPSes running on KVM
    • 1x Ubuntu 16.04 VPS running on KVM

    Webmin is working much more smoothly on all of those. Thanks again good sir. :)

     

    Last edit: Adam Reece 2018-05-17
  • Jamie Cameron

    Jamie Cameron - 2018-05-18
    • status: open --> closed-fixed
     
  • Jamie Cameron

    Jamie Cameron - 2018-05-18

    Great!

     
  • klaipedaville

    klaipedaville - 2018-05-18

    Where was the problem? I am getting lost in numbers here. Do you have two versions in development? 1.882 and 1.883? I've been running 1.881 and the problem is still there.

     
  • Adam Reece

    Adam Reece - 2018-05-18

    This issue was fixed in 1.882, so of course you'll still experience this issue in 1.881.

     
    • klaipedaville

      klaipedaville - 2018-05-18

      right. the latest version is 1.881, the development version is 1.883. where is the version number 1.882? I cannot seem to find it anywhere.... could you send the exact link for 1.882, please?

       

      Last edit: klaipedaville 2018-05-18
1 2 > >> (Page 1 of 2)

Log in to post a comment.

Monday.com Logo