No comms through Proxy Sever

Message boards : BOINC client : No comms through Proxy Sever
Message board moderation

To post messages, you must log in.

AuthorMessage
peterdorey

Send message
Joined: 9 Apr 08
Posts: 1
United Kingdom
Message 16542 - Posted: 9 Apr 2008, 10:53:09 UTC

I've been a member since 14 Aug 1999, but have not done any work since losing internet availability at home. Prompted by SETI that I've not done any WUs since lat year, I'm now trying to attach to any project e.g. SET@Home at work with BOINC 5.10.45, but no luck and just get 'The Project is temporarily Unavailable, please try again later'. Have entered Proxy values from companies connection okay but still no go and suspect the format is not compatible. Any suggestions? Or example of the correct formats?
ID: 16542 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 14952
Netherlands
Message 16544 - Posted: 9 Apr 2008, 12:42:20 UTC

setup a cc_config.xml in your BOINC directory.
Make sure you add the option <force_auth>x</force_auth> where 'x' is any of the available flags: basic, digest, gss-negotiate or ntlm

Set it to what the proxy you're behind uses for its authentication method.
ID: 16544 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 14952
Netherlands
Message 16549 - Posted: 9 Apr 2008, 17:32:39 UTC

Peterdorey wrote:
I've now made the cc_config.xml in your BOINC directory.
and added in the text<force_auth>x</force_auth>

so it looks like this:

<cc_config>
<log_flags>
[ flags ]
</log_flags>
<options>
[ <save_stats_days>N</save_stats_days> ]
[ <dont_check_file_sizes>0|1</dont_check_file_sizes> ]
[ <http_1_0>0|1</http_1_0> ]
[ <ncpus>N</ncpus> ]
[ <max_file_xfers>N</max_file_xfers> ]
[ <max_file_xfers_per_project>N</max_file_xfers_per_project> ]
[ <suppress_net_info>0|1</suppress_net_info> ]
[ <disallow_attach>0|1</disallow_attach> ]
[ <os_random_only>0|1</os_random_only> ]
[ <no_alt_platform>0|1</no_alt_platform> ]
[ <simple_gui_only>0|1</simple_gui_only> ]
[ <data_dir>/path/to/dir</data_dir> ]
[ <max_stdout_file_size>N</max_stdout_file_size> ]
[ <max_stderr_file_size>N</max_stderr_file_size> ]
[ <alt_platform>platform_name</alt_platform> ]
[ ... ]
[ <report_results_immediately>0|1</report_results_immediately> ]
[ <start_apps_manually>0|1</start_apps_manually> ]
[<force_auth>basic, digest, gss-negotiate or ntlm</force_auth> ]
</options>
</cc_config>


What should N & x be set to?

Not sure what you mean by:
Set it to what the proxy you're behind uses for its authentication method.

Cheers,

Pete
ID: 16549 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 14952
Netherlands
Message 16550 - Posted: 9 Apr 2008, 17:36:36 UTC - in response to Message 16549.  

Sorry for copying your PM to me to the forums, Peter, but it's best handled here.

You don't need all the info in cc_config.xml in there.
All you need is:

<cc_config>
<options>
<force_auth>basic</force_auth>
</options>
</cc_config>


I put in basic there as I don't know what form of authentication the proxy server uses that you are behind. If you have permission from the network people to use BOINC, you best ask them that. The options to use are basic, digest, gss-negotiate or ntlm.
ID: 16550 · Report as offensive
Nunu

Send message
Joined: 10 Apr 07
Posts: 38
Message 16825 - Posted: 24 Apr 2008, 14:45:41 UTC

I'm having problems getting information from the various project serves TO my server.

I'm getting the following response:

24-Apr-2008 10:03:38 [---] [http_debug] [ID#7] info: HTTP 1.0, assume close after body
24-Apr-2008 10:03:38 [---] [http_debug] [ID#7] Received header from server: HTTP/1.0 407 Proxy Authentication Required
24-Apr-2008 10:03:38 [---] [http_debug] [ID#7] Received header from server: Server: squid/2.5.STABLE14
24-Apr-2008 10:03:38 [---] [http_debug] [ID#7] Received header from server: Mime-Version: 1.0
24-Apr-2008 10:03:38 [---] [http_debug] [ID#7] Received header from server: Date: Thu, 24 Apr 2008 14:03:38 GMT
24-Apr-2008 10:03:38 [---] [http_debug] [ID#7] Received header from server: Content-Type: text/html
24-Apr-2008 10:03:38 [---] [http_debug] [ID#7] Received header from server: Content-Length: 1326
24-Apr-2008 10:03:38 [---] [http_debug] [ID#7] Received header from server: Expires: Thu, 24 Apr 2008 14:03:38 GMT
24-Apr-2008 10:03:38 [---] [http_debug] [ID#7] Received header from server: X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0
24-Apr-2008 10:03:38 [---] [http_debug] [ID#7] Received header from server: Proxy-Authenticate: Basic realm="Company Squid Proxy"
24-Apr-2008 10:03:38 [---] [http_debug] [ID#7] Received header from server: X-Cache: MISS from pwsqd4
24-Apr-2008 10:03:38 [---] [http_debug] [ID#7] Received header from server: X-Cache-Lookup: NONE from pwsqd4:8080
24-Apr-2008 10:03:38 [---] [http_debug] [ID#7] Received header from server: Proxy-Connection: close
24-Apr-2008 10:03:38 [---] [http_debug] [ID#7] Received header from server:
24-Apr-2008 10:03:38 [---] [http_xfer_debug] HTTP: wrote 1326 bytes


24-Apr-2008 10:18:13 [http://setiathome.berkeley.edu/] URL: http://setiathome.berkeley.edu/; Computer ID: not assigned yet; location: (none); project prefs: default
24-Apr-2008 10:18:13 [---] No general preferences found - using BOINC defaults
24-Apr-2008 10:18:13 [---] Preferences limit memory usage when active to 12050.99MB
24-Apr-2008 10:18:13 [---] Preferences limit memory usage when idle to 21691.78MB
24-Apr-2008 10:18:13 [---] Preferences limit disk usage to 7.48GB
24-Apr-2008 10:18:13 [---] [work_fetch_debug] Request work fetch: Prefs update
24-Apr-2008 10:18:13 [---] [work_fetch_debug] Request work fetch: Startup
24-Apr-2008 10:18:13 [---] [work_fetch_debug] Request work fetch: timer
24-Apr-2008 10:18:13 [---] [work_fetch_debug] compute_work_requests(): start
24-Apr-2008 10:18:13 [---] [work_fetch_debug] compute_work_requests(): cpu_shortfall 241920.000000, overall urgency Need immediately
24-Apr-2008 10:18:13 [http://setiathome.berkeley.edu/] [work_fetch_debug] work fetch: project not contactable; skipping

I have my username and password defined in my client_state.xml as:
<proxy_info>
<use_http_proxy/>
<socks_version>5</socks_version>
<socks_server_name>[proxy.address.com]</socks_server_name>
<socks_server_port>8080</socks_server_port>
<http_server_name>[proxy.address.com]</http_server_name>
<http_server_port>8080</http_server_port>
<socks5_user_name>[username]</socks5_user_name>
<socks5_user_passwd>[password]</socks5_user_passwd>
<http_user_name>[username]</http_user_name>
<http_user_passwd>[password]</http_user_passwd>
</proxy_info>

Any suggestions?
Should I define my proxy info in the cc_config.xml? If so, can someone show me how? Currently, my cc_config.xml file reads as:

<cc_config>
<log_flags>
<cpu_sched>1</cpu_sched>
<http_debug>1</http_debug>
<http_xfer_debug>1</http_xfer_debug>
<proxy_debug>1</proxy_debug>
<file_xfer_debug>1</file_xfer_debug>
<work_fetch_debug>1</work_fetch_debug>
</log_flags>
</cc_config>

Kind Regards
ID: 16825 · Report as offensive
Pepo
Avatar

Send message
Joined: 3 Apr 06
Posts: 547
Slovakia
Message 16831 - Posted: 24 Apr 2008, 16:54:52 UTC - in response to Message 16825.  

I'm having problems getting information from the various project serves TO my server.

I'm getting the following response:

24-Apr-2008 10:03:38 [---] [http_debug] [ID#7] Received header from server: HTTP/1.0 407 Proxy Authentication Required
24-Apr-2008 10:03:38 [---] [http_debug] [ID#7] Received header from server: Proxy-Authenticate: Basic realm="Company Squid Proxy"

Any suggestions?
Should I define my proxy info in the cc_config.xml? If so, can someone show me how?

You can try:

<cc_config>
    <log_flags>
        <cpu_sched>1</cpu_sched>
        <http_debug>1</http_debug>
        <http_xfer_debug>1</http_xfer_debug>
        <proxy_debug>1</proxy_debug>
        <file_xfer_debug>1</file_xfer_debug>
        <work_fetch_debug>1</work_fetch_debug>
    </log_flags>
    <options>
        <force_auth>basic</force_auth>
    </options>
</cc_config>


Peter
ID: 16831 · Report as offensive
Nunu

Send message
Joined: 10 Apr 07
Posts: 38
Message 16832 - Posted: 24 Apr 2008, 17:02:40 UTC - in response to Message 16831.  
Last modified: 24 Apr 2008, 17:06:38 UTC

I'm having problems getting information from the various project serves TO my server.

I'm getting the following response:

24-Apr-2008 10:03:38 [---] [http_debug] [ID#7] Received header from server: HTTP/1.0 407 Proxy Authentication Required
24-Apr-2008 10:03:38 [---] [http_debug] [ID#7] Received header from server: Proxy-Authenticate: Basic realm="Company Squid Proxy"

Any suggestions?
Should I define my proxy info in the cc_config.xml? If so, can someone show me how?

You can try:

<cc_config>
    <log_flags>
        <cpu_sched>1</cpu_sched>
        <http_debug>1</http_debug>
        <http_xfer_debug>1</http_xfer_debug>
        <proxy_debug>1</proxy_debug>
        <file_xfer_debug>1</file_xfer_debug>
        <work_fetch_debug>1</work_fetch_debug>
    </log_flags>
    <options>
        <force_auth>basic</force_auth>
    </options>
</cc_config>


Peter


Stopped the proccess, and updated the cc_config.xml, and restarted. Still no luck.

I think this has to do with the line:
24-Apr-2008 10:03:38 [---] [http_debug] [ID#7] Received header from server: X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0
ID: 16832 · Report as offensive
MikeMarsUK

Send message
Joined: 16 Apr 06
Posts: 386
United Kingdom
Message 16891 - Posted: 26 Apr 2008, 19:29:29 UTC
Last modified: 26 Apr 2008, 19:30:42 UTC


I recall a SQUID-proxy thread over at CPDN a while back.

If I recall correctly the ultimate cause of the problem in that thread was that the SQUID box was faking ACKs in order to make the latency look better. However your problem may be different - it looks like some kind of authentication error.

The user in that case had an alternate proxy which could be used, and swapping the proxy resolved the problem.
ID: 16891 · Report as offensive

Message boards : BOINC client : No comms through Proxy Sever

Copyright © 2022 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.