New log message: "Bad header encountered from..."

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

New log message: "Bad header encountered from..."

Ralf Hildebrandt
This may just be coincidence, but in the last one or two days I'm
seeing those log entries:

2020/09/01 07:56:36| WARNING: HTTP: Invalid Response: Bad header encountered from http://dev-ci.id-berlin.de:9090/builds/iknow/iknow.jar.md5 AKA http://dev-ci.id-berlin.de:9090/builds/iknow/iknow.jar.md5
    current master transaction: master46663356

quite often. What is the bad header here:

HTTP/1.0 200 OK
Server: ID DIACOS App-Server
Date: Tue Sep 01 09:50:41 CEST 2020
Content-Length: 74
Last Modified: Thu Feb 13 13:06:30 CET 2020


Ralf Hildebrandt
Charité - Universitätsmedizin Berlin
Geschäftsbereich IT | Abteilung Netzwerk

Campus Benjamin Franklin (CBF)
Haus I | 1. OG | Raum 105
Hindenburgdamm 30 | D-12203 Berlin

Tel. +49 30 450 570 155
[hidden email]
https://www.charite.de
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: New log message: "Bad header encountered from..."

Amos Jeffries
Administrator
On 1/09/20 7:51 pm, Ralf Hildebrandt wrote:

> This may just be coincidence, but in the last one or two days I'm
> seeing those log entries:
>
> 2020/09/01 07:56:36| WARNING: HTTP: Invalid Response: Bad header encountered from http://dev-ci.id-berlin.de:9090/builds/iknow/iknow.jar.md5 AKA http://dev-ci.id-berlin.de:9090/builds/iknow/iknow.jar.md5
>     current master transaction: master46663356
>
> quite often. What is the bad header here:
>
> HTTP/1.0 200 OK
> Server: ID DIACOS App-Server
> Date: Tue Sep 01 09:50:41 CEST 2020
> Content-Length: 74
> Last Modified: Thu Feb 13 13:06:30 CET 2020
>
>

"Last Modified" is not a valid header name (whitespace is forbidden).

Also both headers containing timestamps have invalid formats. They
should look like below, including the "GMT" timezone:
  Date: Mon, 31 Aug 2020 17:37:40 GMT

Amos
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users