Send netdisco-users mailing list submissions to
        netdisco-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
        netdisco-users-requ...@lists.sourceforge.net

You can reach the person managing the list at
        netdisco-users-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. ERR_EMPTY_RESPONSE (Basti S.)
   2. Re: ERR_EMPTY_RESPONSE (Christian Ramseyer)
   3. Re: ERR_EMPTY_RESPONSE (Basti S.)
   4. Re: ERR_EMPTY_RESPONSE (Basti S.)
--- Begin Message ---
Hello,

We installed 3 Netdisco instances on 3 separated locations. All was running
well, since last week I got "ERR_EMPTY_RESPONSE" on 2 of them when I enter
the web address.

Today I played a little bit with tcpdump to see if packets are coming in at
the netdisco machine and yes, this is the case on all machines.
Accidentally it started working again on one of the 2 instances where it
was no more working. I don't know why.

On the third I still get ERR_EMPTY_RESPONSE and it doesn't matter which
browser I use.
I also restarted all machines etc.

Do you have any idea?

Thanks in advance!

--- End Message ---
--- Begin Message ---
Hi

I've never seen that error, but I'd try first to see if this also happens locally on the server or maybe in transit somewhere (WAF/Proxy/shitty DLP, Antimalware etc.).

The first bit of a reply directly on your Netdisco server should look like this:

 $ curl -v http://localhost:5000 2>&1 | head -30

 0*   Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 5000 (#0)
> GET / HTTP/1.1
> Host: localhost:5000
> User-Agent: curl/7.60.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: Perl Dancer 1.3512
< Content-Length: 7586
< Content-Type: text/html; charset=utf-8
< Set-Cookie: dancer.session=MSOep-bOuPrs0P9plHrG6iJM4V1h0Ffhm2KwlIiaU6U~~gOwfkIDvT9G3dy8cuFdqZhL8tPKu0IA9xbv09vjgSQwrTezShOMRO2YikJinUTtoJs6HTgbfyX5HWtUPWqSNhw~ouDtAkqq7DrRkuFeG7sL55e_p4mKEXqd1yi-GrRyax8~2; path=/; HttpOnly
< X-Powered-By: Perl Dancer 1.3512
< Content-Security-Policy: frame-ancestors none;
< X-Frame-Options: DENY
< Date: Tue, 21 Dec 2021 13:50:28 GMT
< Connection: close
<
{ [7586 bytes data]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="/netdisco/images/favicon.ico" type="image/x-icon">
  <link rel="icon" href="/netdisco/images/favicon.ico" type="image/x-icon">

Given the error, check if Content-Length: is not 0 and there is actually html code appearing after the [7586 bytes data].

If you already get the error with curl, https://github.com/netdisco/netdisco/wiki/Developing shows how to start the webserver in the foreground with some debugging enabled, maybe you can see there what's going wrong.

Cheers
Christian



On 21.12.21 14:26, Basti S. wrote:
Hello,

We installed 3 Netdisco instances on 3 separated locations. All was running well, since last week I got "ERR_EMPTY_RESPONSE" on 2 of them when I enter the web address.

Today I played a little bit with tcpdump to see if packets are coming in at the netdisco machine and yes, this is the case on all machines. Accidentally it started working again on one of the 2 instances where it was no more working. I don't know why.

On the third I still get ERR_EMPTY_RESPONSE and it doesn't matter which browser I use.
I also restarted all machines etc.

Do you have any idea?

Thanks in advance!



--- End Message ---
--- Begin Message ---
When I stop the netdisco web service and restart it and directly enter the
website, I can see in Fiddler that a few requests are successful, but the
most are not and the server returned 0 bytes.
I got the login screen without any css formatting etc because all the
needed files could not be downloaded.
Malware web scanner and firewall is disabled for testing on my client.

Am Di., 21. Dez. 2021 um 15:14 Uhr schrieb Basti S. <derbas...@gmail.com>:

> Hi Christian,
>
> Yes, that worked without any problems. My output looks very similar to
> yours.
>
> Anything else I can check? Why my other problematic instance started
> working again is still a mystery to me.
>
> Regards,
> Bastian
>
> Am Di., 21. Dez. 2021 um 14:57 Uhr schrieb Christian Ramseyer <
> ramse...@netnea.com>:
>
>> Hi
>>
>> I've never seen that error, but I'd try first to see if this also
>> happens locally on the server or maybe in transit somewhere
>> (WAF/Proxy/shitty DLP, Antimalware etc.).
>>
>> The first bit of a reply directly on your Netdisco server should look
>> like this:
>>
>>   $ curl -v http://localhost:5000 2>&1 | head -30
>>
>>   0*   Trying 127.0.0.1...
>> * TCP_NODELAY set
>> * Connected to localhost (127.0.0.1) port 5000 (#0)
>>  > GET / HTTP/1.1
>>  > Host: localhost:5000
>>  > User-Agent: curl/7.60.0
>>  > Accept: */*
>>  >
>> < HTTP/1.1 200 OK
>> < Server: Perl Dancer 1.3512
>> < Content-Length: 7586
>> < Content-Type: text/html; charset=utf-8
>> < Set-Cookie:
>> dancer.session=MSOep-bOuPrs0P9plHrG6iJM4V1h0Ffhm2KwlIiaU6U~~gOwfkIDvT9G3dy8cuFdqZhL8tPKu0IA9xbv09vjgSQwrTezShOMRO2YikJinUTtoJs6HTgbfyX5HWtUPWqSNhw~ouDtAkqq7DrRkuFeG7sL55e_p4mKEXqd1yi-GrRyax8~2;
>>
>> path=/; HttpOnly
>> < X-Powered-By: Perl Dancer 1.3512
>> < Content-Security-Policy: frame-ancestors none;
>> < X-Frame-Options: DENY
>> < Date: Tue, 21 Dec 2021 13:50:28 GMT
>> < Connection: close
>> <
>> { [7586 bytes data]
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>>          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>> <html xmlns="http://www.w3.org/1999/xhtml";>
>> <head>
>>    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
>>    <link rel="shortcut icon" href="/netdisco/images/favicon.ico"
>> type="image/x-icon">
>>    <link rel="icon" href="/netdisco/images/favicon.ico"
>> type="image/x-icon">
>>
>> Given the error, check if Content-Length: is not 0 and there is actually
>> html code appearing after the [7586 bytes data].
>>
>> If you already get the error with curl,
>> https://github.com/netdisco/netdisco/wiki/Developing shows how to start
>> the webserver in the foreground with some debugging enabled, maybe you
>> can see there what's going wrong.
>>
>> Cheers
>> Christian
>>
>>
>>
>> On 21.12.21 14:26, Basti S. wrote:
>> > Hello,
>> >
>> > We installed 3 Netdisco instances on 3 separated locations. All was
>> > running well, since last week I got "ERR_EMPTY_RESPONSE" on 2 of them
>> > when I enter the web address.
>> >
>> > Today I played a little bit with tcpdump to see if packets are coming
>> in
>> > at the netdisco machine and yes, this is the case on all machines.
>> > Accidentally it started working again on one of the 2 instances where
>> it
>> > was no more working. I don't know why.
>> >
>> > On the third I still get ERR_EMPTY_RESPONSE and it doesn't matter which
>> > browser I use.
>> > I also restarted all machines etc.
>> >
>> > Do you have any idea?
>> >
>> > Thanks in advance!
>>
>

--- End Message ---
--- Begin Message ---
One difference between the machines where it is working and where not is
that the working one is listening on port 5000 ipv4 and the other one where
it is not working is listening on port 5000 ipv6.


Am Di., 21. Dez. 2021 um 15:45 Uhr schrieb Basti S. <derbas...@gmail.com>:

> When I stop the netdisco web service and restart it and directly enter the
> website, I can see in Fiddler that a few requests are successful, but the
> most are not and the server returned 0 bytes.
> I got the login screen without any css formatting etc because all the
> needed files could not be downloaded.
> Malware web scanner and firewall is disabled for testing on my client.
>
> Am Di., 21. Dez. 2021 um 15:14 Uhr schrieb Basti S. <derbas...@gmail.com>:
>
>> Hi Christian,
>>
>> Yes, that worked without any problems. My output looks very similar to
>> yours.
>>
>> Anything else I can check? Why my other problematic instance started
>> working again is still a mystery to me.
>>
>> Regards,
>> Bastian
>>
>> Am Di., 21. Dez. 2021 um 14:57 Uhr schrieb Christian Ramseyer <
>> ramse...@netnea.com>:
>>
>>> Hi
>>>
>>> I've never seen that error, but I'd try first to see if this also
>>> happens locally on the server or maybe in transit somewhere
>>> (WAF/Proxy/shitty DLP, Antimalware etc.).
>>>
>>> The first bit of a reply directly on your Netdisco server should look
>>> like this:
>>>
>>>   $ curl -v http://localhost:5000 2>&1 | head -30
>>>
>>>   0*   Trying 127.0.0.1...
>>> * TCP_NODELAY set
>>> * Connected to localhost (127.0.0.1) port 5000 (#0)
>>>  > GET / HTTP/1.1
>>>  > Host: localhost:5000
>>>  > User-Agent: curl/7.60.0
>>>  > Accept: */*
>>>  >
>>> < HTTP/1.1 200 OK
>>> < Server: Perl Dancer 1.3512
>>> < Content-Length: 7586
>>> < Content-Type: text/html; charset=utf-8
>>> < Set-Cookie:
>>> dancer.session=MSOep-bOuPrs0P9plHrG6iJM4V1h0Ffhm2KwlIiaU6U~~gOwfkIDvT9G3dy8cuFdqZhL8tPKu0IA9xbv09vjgSQwrTezShOMRO2YikJinUTtoJs6HTgbfyX5HWtUPWqSNhw~ouDtAkqq7DrRkuFeG7sL55e_p4mKEXqd1yi-GrRyax8~2;
>>>
>>> path=/; HttpOnly
>>> < X-Powered-By: Perl Dancer 1.3512
>>> < Content-Security-Policy: frame-ancestors none;
>>> < X-Frame-Options: DENY
>>> < Date: Tue, 21 Dec 2021 13:50:28 GMT
>>> < Connection: close
>>> <
>>> { [7586 bytes data]
>>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>>>          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>>> <html xmlns="http://www.w3.org/1999/xhtml";>
>>> <head>
>>>    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
>>>    <link rel="shortcut icon" href="/netdisco/images/favicon.ico"
>>> type="image/x-icon">
>>>    <link rel="icon" href="/netdisco/images/favicon.ico"
>>> type="image/x-icon">
>>>
>>> Given the error, check if Content-Length: is not 0 and there is actually
>>> html code appearing after the [7586 bytes data].
>>>
>>> If you already get the error with curl,
>>> https://github.com/netdisco/netdisco/wiki/Developing shows how to start
>>> the webserver in the foreground with some debugging enabled, maybe you
>>> can see there what's going wrong.
>>>
>>> Cheers
>>> Christian
>>>
>>>
>>>
>>> On 21.12.21 14:26, Basti S. wrote:
>>> > Hello,
>>> >
>>> > We installed 3 Netdisco instances on 3 separated locations. All was
>>> > running well, since last week I got "ERR_EMPTY_RESPONSE" on 2 of them
>>> > when I enter the web address.
>>> >
>>> > Today I played a little bit with tcpdump to see if packets are coming
>>> in
>>> > at the netdisco machine and yes, this is the case on all machines.
>>> > Accidentally it started working again on one of the 2 instances where
>>> it
>>> > was no more working. I don't know why.
>>> >
>>> > On the third I still get ERR_EMPTY_RESPONSE and it doesn't matter
>>> which
>>> > browser I use.
>>> > I also restarted all machines etc.
>>> >
>>> > Do you have any idea?
>>> >
>>> > Thanks in advance!
>>>
>>

--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to