9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Giacomo Tesio <giacomo@tesio.it>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>,
	9front@9front.org
Subject: Re: [9fans] telnet to port (and webfs debug)
Date: Fri, 13 Feb 2015 09:50:30 +0100	[thread overview]
Message-ID: <CAHL7psHJPmeDAKx3ctToAsLSOCV1u+j50kp5gtXHxsaZJBDq=A@mail.gmail.com> (raw)
In-Reply-To: <aac0a09f031f8116539031cf2d9a179a@felloff.net>

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  <cinap_lenrek@felloff.net>:
> 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
>



  reply	other threads:[~2015-02-13  8:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-12 11:02 Giacomo Tesio
2015-02-12 11:57 ` lucio
2015-02-12 12:07 ` Quintile
2015-02-12 12:46   ` Giacomo Tesio
2015-02-12 16:27 ` cinap_lenrek
2015-02-13  8:50   ` Giacomo Tesio [this message]
2015-02-13  9:11     ` cinap_lenrek
2015-02-13  9:59       ` Giacomo Tesio
2015-02-13 14:13       ` erik quanstrom
2015-02-13 15:23         ` Charles Forsyth
2015-02-13 11:30 [9fans] telnet to port (and webfs debug)) Giacomo Tesio
2015-02-13 11:54 ` cinap_lenrek
2015-02-13 11:59 ` cinap_lenrek
2015-02-13 17:21   ` Steven Stallion
2015-02-13 17:33     ` erik quanstrom
2015-02-13 17:29 ` Steven Stallion

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHL7psHJPmeDAKx3ctToAsLSOCV1u+j50kp5gtXHxsaZJBDq=A@mail.gmail.com' \
    --to=giacomo@tesio.it \
    --cc=9fans@9fans.net \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).