6.x version Boinc dont work through my local proxy

Message boards : Questions and problems : 6.x version Boinc dont work through my local proxy
Message board moderation

To post messages, you must log in.

AuthorMessage
Fake

Send message
Joined: 2 Mar 09
Posts: 6
Czech Republic
Message 27909 - Posted: 12 Oct 2009, 11:46:07 UTC

Hello, Iam running my client in wide WAN site. There is central proxy and also local proxy in my area (it is squid and it have setup central proxy as parent proxy). I have no local access to DNS in internet only via local proxy - > central proxy. When I set up central proxy everything working fine, but when I set up local proxy, there is this message for seti project Internet access OK - project servers may be temporarily down. But squid log have no error messages. 5.x version of boinc client working fine with local proxy. So could you please help what should I do to run my 6.x boinc clint via local proxy? Thank you in advance.
ID: 27909 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15490
Netherlands
Message 27914 - Posted: 12 Oct 2009, 13:49:09 UTC - in response to Message 27909.  

Which BOINC 6 version is this with?
Can you test with BOINC 6.10.13 (the beta release candidate) if you can reproduce this problem?

And please, make a file called cc_config.xml in your BOINC Data directory (the directory in which you find the client_state.xml file).

Add into it these lines:
<cc_config>
<log_flags>
<proxy_debug>1</proxy_debug>
</log_flags>
</cc_config>


Save the file, then restart BOINC.
Make contact with any project and then post the message log of that contact in this thread, please.
ID: 27914 · Report as offensive
Fake

Send message
Joined: 2 Mar 09
Posts: 6
Czech Republic
Message 27953 - Posted: 13 Oct 2009, 8:22:54 UTC - in response to Message 27914.  

Iam working on 6.4.5. or 6.6.31 version

and there is log in case setting up local proxy (ip proxy is changed on xxx.xx.xx.x)

13.10.2009 10:18:50 [proxy_debug] HTTP_OP::no_proxy_for_url(): http://setiboinc.ssl.berkeley.edu/sah_cgi/cgi
13.10.2009 10:18:50 [proxy_debug] returning false
13.10.2009 10:18:50 [proxy_debug]: setting up proxy xxx.xx.xx.x:3128
13.10.2009 10:18:51 [proxy_debug] automatic proxy check in progress
13.10.2009 10:18:55 [proxy_debug] no automatic proxy detected
13.10.2009 10:18:55 [proxy_debug] automatic proxy check finished
13.10.2009 10:19:52 Project communication failed: attempting access to reference site
13.10.2009 10:19:52 [proxy_debug] HTTP_OP::no_proxy_for_url(): http://www.google.com/
13.10.2009 10:19:52 [proxy_debug] returning false
13.10.2009 10:19:52 [proxy_debug]: setting up proxy xxx.xx.xx.x:3128
13.10.2009 10:19:53 Internet access OK - project servers may be temporarily down.
ID: 27953 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15490
Netherlands
Message 27957 - Posted: 13 Oct 2009, 10:03:27 UTC - in response to Message 27914.  

Ok, BOINC 6.10 has a better proxy check. So I will ask again: Can you test with BOINC 6.10.13 (the beta release candidate) if you can reproduce this problem?

ID: 27957 · Report as offensive
Fake

Send message
Joined: 2 Mar 09
Posts: 6
Czech Republic
Message 27959 - Posted: 13 Oct 2009, 10:30:08 UTC - in response to Message 27957.  

this was log from 6.10.13 beta version
ID: 27959 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15490
Netherlands
Message 27960 - Posted: 13 Oct 2009, 10:34:40 UTC - in response to Message 27959.  

OK, you didn't say that...

I'll forward it to the developers, ask them for help on this.
ID: 27960 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15490
Netherlands
Message 27968 - Posted: 13 Oct 2009, 14:12:38 UTC

Request from the developers: Can you turn on the <http_debug> flag in cc_config.xml as well?

Your cc_config.xml will then look like this:

<cc_config>
<log_flags>
<proxy_debug>1</proxy_debug>
<http_debug>1</http_debug>
</log_flags>
</cc_config>


Can you then restart BOINC, make another contact and post a new log, please?
The log will then show a couple of IP addresses of the project you are trying to reach. Just leave them in.
ID: 27968 · Report as offensive
Fake

Send message
Joined: 2 Mar 09
Posts: 6
Czech Republic
Message 27971 - Posted: 13 Oct 2009, 16:13:11 UTC - in response to Message 27968.  

of course no problem here it is

13.10.2009 18:07:29 [http_debug] HTTP_OP::init_post(): http://setiboinc.ssl.berkeley.edu/sah_cgi/cgi
13.10.2009 18:07:29 [http_debug] HTTP_OP::libcurl_exec(): ca-bundle 'C:\Program Files\BOINC\ca-bundle.crt'
13.10.2009 18:07:29 [http_debug] HTTP_OP::libcurl_exec(): ca-bundle set
13.10.2009 18:07:29 [proxy_debug] HTTP_OP::no_proxy_for_url(): http://setiboinc.ssl.berkeley.edu/sah_cgi/cgi
13.10.2009 18:07:29 [proxy_debug] returning false
13.10.2009 18:07:29 [proxy_debug]: setting up proxy xxx.xx.xx.x:3128
13.10.2009 18:07:30 [http_debug] [ID#0] info: timeout on name lookup is not supported
13.10.2009 18:07:30 [http_debug] [ID#0] info: About to connect() to proxy xxx.xx.xx.x port 3128 (#0)
13.10.2009 18:07:30 [http_debug] [ID#0] info: Trying xxx.xx.xx.x...
13.10.2009 18:07:30 [http_debug] [ID#0] info: Connected to xxx.xx.xx.x (xxx.xx.xx.x) port 3128 (#0)
13.10.2009 18:07:30 [http_debug] [ID#0] Sent header to server: POST http://setiboinc.ssl.berkeley.edu/sah_cgi/cgi HTTP/1.1User-Agent: BOINC client (windows_intelx86 6.10.13)Host: setiboinc.ssl.berkeley.eduAccept: */*Accept-Encoding: deflate, gzipProxy-Connection: Keep-AliveContent-Type: application/x-www-form-urlencodedContent-Length: 11781Expect: 100-continue
13.10.2009 18:07:30 [http_debug] [ID#0] info: Expire cleared
13.10.2009 18:07:31 [http_debug] [ID#0] info: Done waiting for 100-continue
13.10.2009 18:07:31 [http_debug] [ID#0] info: HTTP 1.0, assume close after body
13.10.2009 18:07:31 [http_debug] [ID#0] Received header from server: HTTP/1.0 100 Continue
13.10.2009 18:07:31 [http_debug] [ID#0] Received header from server: X-Cache: MISS from proxy
13.10.2009 18:07:31 [http_debug] [ID#0] info: HTTP/1.0 proxy connection set to keep alive!
13.10.2009 18:07:31 [http_debug] [ID#0] Received header from server: Proxy-Connection: keep-alive
13.10.2009 18:08:32 [http_debug] [ID#0] info: Expire cleared
13.10.2009 18:08:32 [http_debug] [ID#0] info: Empty reply from server
13.10.2009 18:08:32 [http_debug] [ID#0] info: Connection #0 to host xxx.xx.xx.x left intact
13.10.2009 18:08:32 [http_debug] HTTP error: Server returned nothing (no headers, no data)
13.10.2009 18:08:32 Project communication failed: attempting access to reference site
13.10.2009 18:08:32 [http_debug] HTTP_OP::init_get(): http://www.google.com/
13.10.2009 18:08:32 [http_debug] HTTP_OP::libcurl_exec(): ca-bundle 'C:\Program Files\BOINC\ca-bundle.crt'
13.10.2009 18:08:32 [http_debug] HTTP_OP::libcurl_exec(): ca-bundle set
13.10.2009 18:08:32 [proxy_debug] HTTP_OP::no_proxy_for_url(): http://www.google.com/
13.10.2009 18:08:32 [proxy_debug] returning false
13.10.2009 18:08:32 [proxy_debug]: setting up proxy xxx.xx.xx.x:3128
13.10.2009 18:08:33 [http_debug] [ID#1] info: Connection #0 seems to be dead!
13.10.2009 18:08:33 [http_debug] [ID#1] info: Closing connection #0
13.10.2009 18:08:33 [http_debug] [ID#1] info: timeout on name lookup is not supported
13.10.2009 18:08:33 [http_debug] [ID#1] info: About to connect() to proxy xxx.xx.xx.x port 3128 (#0)
13.10.2009 18:08:33 [http_debug] [ID#1] info: Trying xxx.xx.xx.x...
13.10.2009 18:08:33 [http_debug] [ID#1] info: Connected to xxx.xx.xx.x (xxx.xx.xx.x) port 3128 (#0)
13.10.2009 18:08:33 [http_debug] [ID#1] Sent header to server: GET http://www.google.com/ HTTP/1.1User-Agent: BOINC client (windows_intelx86 6.10.13)Host: www.google.comAccept: */*Accept-Encoding: deflate, gzipProxy-Connection: Keep-AliveContent-Type: application/x-www-form-urlencoded
13.10.2009 18:08:33 [http_debug] [ID#1] info: Expire cleared
13.10.2009 18:08:33 [http_debug] [ID#1] info: HTTP 1.0, assume close after body
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server: HTTP/1.0 302 Moved Temporarily
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server: Location: http://www.google.cz/
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server: Cache-Control: private
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server: Content-Type: text/html; charset=UTF-8
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server: Date: Tue, 13 Oct 2009 16:08:32 GMT
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server: Server: gws
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server: X-XSS-Protection: 0
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server: Content-Length: 218
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server: Set-Cookie: PREF=ID=22b91fe1ea87287e:TM=1255450112:LM=1255450112:S=nut9gpmQN2iiKQMT; expires=Thu, 13-Oct-2011 16:08:32 GMT; path=/; domain=.google.com
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server: Set-Cookie: NID=27=Biiyh-X_7-J4bOA5VHv7jkOGeAysHDUFkCuViBGR1P2aND5QynKI2X0-9BEhsjCkgH_KiBVr1Vh2GY1KgEQ_lXqdllh2RvpvdR9dyXqKv5iYy4l1RmaelqiZpBgo4xce; expires=Wed, 14-Apr-2010 16:08:32 GMT; path=/; domain=.go
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server: X-Cache: MISS from proxy
13.10.2009 18:08:33 [http_debug] [ID#1] info: HTTP/1.0 proxy connection set to keep alive!
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server: Proxy-Connection: keep-alive
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server:
13.10.2009 18:08:33 [http_debug] [ID#1] info: Ignoring the response-body
13.10.2009 18:08:33 [http_debug] [ID#1] info: Expire cleared
13.10.2009 18:08:33 [http_debug] [ID#1] info: Connection #0 to host xxx.xx.xx.x left intact
13.10.2009 18:08:33 [http_debug] [ID#1] info: Issue another request to this URL: 'http://www.google.cz/'
13.10.2009 18:08:33 [http_debug] [ID#1] info: Re-using existing connection! (#0) with host xxx.xx.xx.x
13.10.2009 18:08:33 [http_debug] [ID#1] info: Connected to xxx.xx.xx.x (xxx.xx.xx.x) port 3128 (#0)
13.10.2009 18:08:33 [http_debug] [ID#1] Sent header to server: GET http://www.google.cz/ HTTP/1.0User-Agent: BOINC client (windows_intelx86 6.10.13)Host: www.google.czAccept: */*Accept-Encoding: deflate, gzipReferer: http://www.google.com/Proxy-Connection: Keep-AliveContent-Type: application/x-www-form-urlencoded
13.10.2009 18:08:33 [http_debug] [ID#1] info: HTTP 1.0, assume close after body
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server: HTTP/1.0 200 OK
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server: Date: Tue, 13 Oct 2009 16:08:32 GMT
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server: Expires: -1
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server: Cache-Control: private, max-age=0
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server: Content-Type: text/html; charset=ISO-8859-2
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server: Server: gws
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server: X-XSS-Protection: 0
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server: Set-Cookie: PREF=ID=4d5f63b7de926f3d:TM=1255450112:LM=1255450112:S=tWHYtJrZw7ougMq5; expires=Thu, 13-Oct-2011 16:08:32 GMT; path=/; domain=.google.cz
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server: Set-Cookie: NID=27=tXnEpeqbnl3HfJ-fMQcXlv0D8u7dLBkEQplZVCwPV1gqsNRyAIJJUeFagQ4UIwuBWE8cANyjsOhOc3XU9I2WqMRqzu7hYqb8A3cS_O3wAApGmZyN4xpG61O1zvdG5NTm; expires=Wed, 14-Apr-2010 16:08:32 GMT; path=/; domain=.go
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server: X-Cache: MISS from proxy
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server: Proxy-Connection: close
13.10.2009 18:08:33 [http_debug] [ID#1] Received header from server:
13.10.2009 18:08:33 [http_debug] [ID#1] info: Expire cleared
13.10.2009 18:08:33 [http_debug] [ID#1] info: Closing connection #0
13.10.2009 18:08:33 Internet access OK - project servers may be temporarily down.
ID: 27971 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15490
Netherlands
Message 27972 - Posted: 13 Oct 2009, 16:21:25 UTC - in response to Message 27971.  

Thank you. Forwarded to the developers.
ID: 27972 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15490
Netherlands
Message 27973 - Posted: 13 Oct 2009, 16:41:46 UTC
Last modified: 13 Oct 2009, 16:46:35 UTC

New request from the developers. Add the <http_1_0> option.

Your cc_config.xml file should then look like this:

<cc_config>
<log_flags>
<proxy_debug>1</proxy_debug>
<http_debug>1</http_debug>
</log_flags>
<options>
<http_1_0>1</http_1_0>
</options>
</cc_config>


Save the file, restart BOINC, make contact and please post the resulting log. :-)

P.S: Seti is having their weekly Tuesday outage at this moment, so their servers are down. I hope you can use a different project to check on.
ID: 27973 · Report as offensive
Fake

Send message
Joined: 2 Mar 09
Posts: 6
Czech Republic
Message 27976 - Posted: 13 Oct 2009, 17:26:07 UTC - in response to Message 27973.  

wow! it seems that working now!

13.10.2009 19:20:51 [http_debug] HTTP_OP::init_post(): http://climateapps2.oucs.ox.ac.uk/cpdnboinc_cgi/cgi
13.10.2009 19:20:51 [http_debug] HTTP_OP::libcurl_exec(): ca-bundle 'C:\Program Files\BOINC\ca-bundle.crt'
13.10.2009 19:20:51 [http_debug] HTTP_OP::libcurl_exec(): ca-bundle set
13.10.2009 19:20:51 [proxy_debug] HTTP_OP::no_proxy_for_url(): http://climateapps2.oucs.ox.ac.uk/cpdnboinc_cgi/cgi
13.10.2009 19:20:51 [proxy_debug] returning false
13.10.2009 19:20:51 [proxy_debug]: setting up proxy xxx.xx.xx.x:3128
13.10.2009 19:20:51 [http_debug] [ID#0] info: timeout on name lookup is not supported
13.10.2009 19:20:51 [http_debug] [ID#0] info: About to connect() to proxy xxx.xx.xx.x port 3128 (#0)
13.10.2009 19:20:51 [http_debug] [ID#0] info: Trying xxx.xx.xx.x...
13.10.2009 19:20:51 [http_debug] [ID#0] info: Connected to xxx.xx.xx.x (xxx.xx.xx.x) port 3128 (#0)
13.10.2009 19:20:51 [http_debug] [ID#0] Sent header to server: POST http://climateapps2.oucs.ox.ac.uk/cpdnboinc_cgi/cgi HTTP/1.0User-Agent: BOINC client (windows_intelx86 6.10.13)Host: climateapps2.oucs.ox.ac.ukAccept: */*Accept-Encoding: deflate, gzipProxy-Connection: Keep-AliveContent-Type: application/x-www-form-urlencodedContent-Length: 7920
13.10.2009 19:20:51 [http_debug] [ID#0] info: HTTP 1.0, assume close after body
13.10.2009 19:20:51 [http_debug] [ID#0] Received header from server: HTTP/1.0 200 OK
13.10.2009 19:20:51 [http_debug] [ID#0] Received header from server: Date: Tue, 13 Oct 2009 17:20:50 GMT
13.10.2009 19:20:51 [http_debug] [ID#0] Received header from server: Server: Apache/2.2.13 (Unix) PHP/5.1.6 mod_fastcgi/2.4.6
13.10.2009 19:20:51 [http_debug] [ID#0] Received header from server: Content-Type: text/xml
13.10.2009 19:20:51 [http_debug] [ID#0] Received header from server: X-Cache: MISS from proxy
13.10.2009 19:20:51 [http_debug] [ID#0] Received header from server: Proxy-Connection: close
13.10.2009 19:20:51 [http_debug] [ID#0] Received header from server:
13.10.2009 19:20:51 [http_debug] [ID#0] info: Expire cleared
13.10.2009 19:20:51 [http_debug] [ID#0] info: Closing connection #0
13.10.2009 19:20:56 climateprediction.net Scheduler request completed
ID: 27976 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15490
Netherlands
Message 27978 - Posted: 13 Oct 2009, 17:55:27 UTC - in response to Message 27976.  

OK. :-)

Now, to keep that working like that, but without the extra debug messages filling up your log, change the cc_config.xml file to look like this:

<cc_config>
<options>
<http_1_0>1</http_1_0>
</options>
</cc_config>


Save file, open BOINC Manager->Advanced view->Advanced->Read config file.
Nothing more needed.

As to why this works, here's what Rom said about it:
Rom Walton wrote:
The line that caught my interest is:
> 13.10.2009 18:08:32 [http_debug] HTTP error: Server returned nothing
> (no headers, no data)

This implies something happened between the first proxy server and the second. IIRC BOINC 5.x defaulted to HTTP 1.0 connections and the 6.x defaults to HTTP 1.1. By enabling that flag curl will avoid some of the advanced features 1.1 offers and use a more basic connection type.

ID: 27978 · Report as offensive

Message boards : Questions and problems : 6.x version Boinc dont work through my local proxy

Copyright © 2024 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.