Comment 21 for bug 89160

Revision history for this message
nltnjnns (nltnjnns) wrote : Re: [Bug 89160] Re: Cannot connect to router/server/proxy with bad TCP Wscale implementation
  • unnamed Edit (5.9 KiB, text/html; charset=ISO-8859-1)

My problem was solved when I

edited /etc/sysctl.conf

and added the following two lines

net.ipv4.tcp_wmem = 4096 16384 131072
net.ipv4.tcp_rmem = 4096 87380 174760

This seems a little geeky, and I would hope that the Ubuntu developers
somehow address this issue in future releases. (It wasn't a problem in
7.04; appeared in 7.10 and continued in the 8.04 (beta).)

On Tue, Apr 22, 2008 at 5:49 PM, linovski <email address hidden> wrote:

> Well, my problem was solved with a "reset".
> What I can say...
>
> Follow in attachment the last email I sent.
>
>
> ** Attachment added: "email-to-buffalo.txt"
> http://launchpadlibrarian.net/13831413/email-to-buffalo.txt
>
> --
> Cannot connect to router/server/proxy with bad TCP Wscale implementation
> https://bugs.launchpad.net/bugs/89160
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in Source Package "linux" in Ubuntu: Confirmed
> Status in Source Package "linux-source-2.6.20" in Ubuntu: Triaged
> Status in Source Package "linux-source-2.6.22" in Ubuntu: Confirmed
>
> Bug description:
> >From some particular web servers, a machine running feisty cannot get an
> HTTP response. However, machines running most other OSs can get an HTTP
> response. (However, the problem appears to affect Debian etch also.)
>
> How to reproduce the problem:
>
> Use wget or any web browser to try to retrieve the file from this URL:
> http://www.ureg.ohio-state.edu/ourweb/online.html
>
> The client resolves the host, establishes a connection, and sends an HTTP
> request. However, it receives no response. However, a client on other OSs
> besides feisty will receive a response. In fact, a machine running dapper
> can get an HTTP response just fine.
>
> Here is the output from wget:
>
> *****begin transcript*****
> ubuntu@ubuntu:~$ wget -d http://www.ureg.ohio-state.edu/ourweb/online.html
> DEBUG output created by Wget 1.10.2 on linux-gnu.
>
> --08:32:45-- http://www.ureg.ohio-state.edu/ourweb/online.html
> => `online.html'
> Resolving www.ureg.ohio-state.edu... 128.146.64.104
> Caching www.ureg.ohio-state.edu => 128.146.64.104
> Connecting to www.ureg.ohio-state.edu|128.146.64.104|:80... connected.
> Created socket 3.
> Releasing 0x08093848 (new refcount 1).
>
> ---request begin---
> GET /ourweb/online.html HTTP/1.0
> User-Agent: Wget/1.10.2
> Accept: */*
> Host: www.ureg.ohio-state.edu
> Connection: Keep-Alive
>
> ---request end---
> HTTP request sent, awaiting response... Read error (Connection reset by
> peer) in headers.
> Closed fd 3
> *****end transcript*****
>
>
> Now here is the output from a machine running Debian sarge:
>
> ******begin transcript*****
> [sarge machine]$ wget -d http://www.ureg.ohio-state.edu/ourweb/online.html
> DEBUG output created by Wget 1.9.1 on linux-gnu.
>
> --21:41:41-- http://www.ureg.ohio-state.edu/ourweb/online.html
> => `online.html'
> Resolving www.ureg.ohio-state.edu... 128.146.64.104
> Caching www.ureg.ohio-state.edu => 128.146.64.104
> Connecting to www.ureg.ohio-state.edu[128.146.64.104]:80... connected.
> Created socket 3.
> Releasing 0x80a60d0 (new refcount 1).
> ---request begin---
> GET /ourweb/online.html HTTP/1.0
> User-Agent: Wget/1.9.1
> Host: www.ureg.ohio-state.edu
> Accept: */*
> Connection: Keep-Alive
>
> ---request end---
> HTTP request sent, awaiting response... HTTP/1.1 200 OK
> Content-Length: 17686
> Content-Type: text/html
> Last-Modified: Fri, 15 Sep 2006 12:22:14 GMT
> Accept-Ranges: bytes
> ETag: "3938fd93c1d8c61:91210"
> Server: Microsoft-IIS/6.0
> X-Powered-By: ASP.NET
> Date: Thu, 01 Mar 2007 02:41:40 GMT
> Connection: keep-alive
>
>
> Length: 17,686 [text/html]
>
> 100%[====================================>] 17,686 105.31K/s
>
> 21:41:41 (105.28 KB/s) - `online.html' saved [17686/17686]
> *****end transcript*****
>
> (Incidentally, the site in question is of some importance since it is used
> by tens of thousands of students at a major public university.)
>
> ProblemType: Bug
> Date: Fri Mar 2 08:25:43 2007
> DistroRelease: Ubuntu 7.04
> Uname: Linux ubuntu 2.6.20-8-generic #2 SMP Tue Feb 13 05:18:42 UTC 2007
> i686 GNU/Linux
>