From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 13 Feb 2015 09:50:30 +0100 Message-ID: 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 Subject: Re: [9fans] telnet to port (and webfs debug) Topicbox-Message-UUID: 445bb53c-ead9-11e9-9d60-3106f5b1d025 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 >