From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-la0-f42.google.com ([209.85.215.42]) by pp; Fri Feb 13 03:50:35 EST 2015 Received: by lams18 with SMTP id s18so15019069lam.13 for <9front@9front.org>; Fri, 13 Feb 2015 00:50:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=lkcQqpUn/pL6gikHKQwL3qy3jDiTnxpRh6K1QbOFric=; b=BG89CSUb2dmxg3BuXd6iDnT4zy275e8ggIfP+jXnOPGb4zQUR4GvL0Eqt4LlL/O94V FHWeHgaokfPd/gnth+0zAkH7x6rxA32isJp3NiseqsYJaCTBcajU3tPfte62qH3E+U8E 261MgH0bOEGOYe7TEIDhSXXeHjiLAdrXqvBHXqYJWxPMuM07mJBohqK6uJQWf2tsM0wS bALgeD/EGmmuyHULrcBoRCyRIhMiEAbdGsSm4P87pnMpBZsxIrAhXi92Mwlz4uAaNcIc vPmhHlqBMf15Iu9qZmVohS4B2QTyjiLhYbshViS2lyztXomq5D2m5CX6jHJoB+4O5xzx M71Q== X-Gm-Message-State: ALoCoQlzJWQhroevdfSgFZs+5KPVUmW0emQsVnHD6RnlynL8gINlS3Py1bxfG0tqiIDaGOggay4t MIME-Version: 1.0 X-Received: by 10.112.61.228 with SMTP id t4mr7219411lbr.0.1423817430529; Fri, 13 Feb 2015 00:50:30 -0800 (PST) Received: by 10.114.12.37 with HTTP; Fri, 13 Feb 2015 00:50:30 -0800 (PST) In-Reply-To: References: Date: Fri, 13 Feb 2015 09:50:30 +0100 Message-ID: List-ID: <9front.9front.org> X-Glyph: ➈ X-Bullshit: pipelining-aware rails CMS just-in-time framework Subject: Re: [9fans] telnet to port (and webfs debug) From: Giacomo Tesio To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>, 9front@9front.org Content-Type: text/plain; charset=UTF-8 I did already tried this, but without success, but I tried it again just to be sure, still without success. I tried to telnet the proxy with telnet tcp!host!port and it worked as expected ("GET http://www.google.com" printed its bloated html). This limit the issue boundaries to webfs (since, as far as I can see, hget is "just" a wrapper of it), since both squid and the tcp stack proved to work properly. The problem is, I can't figure out how to debug webfs. Any tip? Note that it worked once, a few days ago, when I managed to sysupdate (setting http_proxy.host in /usr/glenda/.hgrc). Giacomo 2015-02-12 17:27 GMT+01:00 : > the httpproxy variable is read by webfs on startup only. webfs is usually > started in your $home/lib/profile to provide http client service. > > just setting httpproxy before running hget or mothra has no > effect on the proxy setting unless you start a new webfs instance. > > so try: > > httpproxy=http://proxy:port > webfs > hget http://www.google.com/ > > when that works, set the httpproxy variable at the top of your > $home/lib/profile before webfs is started to make it permanent. > > -- > cinap >