Thanks for your comments.

WHen you need urllib, and web2py.python makes outbound connections you
should not need a proxy server or any proxy configuration as far as I
can tell (and I am not sure about your setup). This looks more of a
firewall issue.

On Feb 11, 5:19 am, whowhywhat <[email protected]> wrote:
> web2py is the first framework i actually enjoy using. :) .. been
> advocating it to everyone i meet these days. I sincerely thank the
> entire web2py community for everything.
>
> I have been developing a small web2py application for intranet use at
> the place where i work. During development i used windows (i carry
> web2py on a thumb drive). At work we use a proxy for net access and in
> windows i have no problems with web2py accessing the net using the
> proxy.
> I can use urllib to fetch webpages etc.
>
> To deploy the app i am using Ubuntu. I have deployed web2py using both
> apache as well as Cherokee using WSGI. The application runs fine.
> however the web2py environment is not able to fetch anything from the
> internet. urllib does not fetch any webpages. I have explicitly set
> the http_proxy environment variable (in /etc/environment, in the
> Cherokee startup script). I need to fetch data from the web, mostly
> for openID authentication. I am not sure what's wrong.
>
> how can i make web2py/python use the proxy server (http_proxy)?

Reply via email to