Pages: [1]
gawul00
BAM!ID: 17439
Joined: 2007-01-19
Posts: 3
Credits: 39,232
World-rank: 1,010,143

2011-01-26 05:54:03

BOINC is failing to use Mac's resolver libraries and fails to properly implement IPv6 resolver internally.

My Setup:
Mac OSX 10.6.6
BOINC 6.12.11 or 6.10.58
DNS resolvers: IPv6 2001:470:882a::1 and 2001:470:20::2

BOINC reports unable to connect to internet:
Code:

Tue Jan 25 22:55:28 2011 [http_debug] HTTP_OP::init_get(): http://bam.boincstats.com/get_project_config.php
Tue Jan 25 22:55:33 2011 [http_debug] [ID#2] Info: Expire cleared
Tue Jan 25 22:55:53 2011 [http_debug] [ID#2] Info: Expire cleared
Tue Jan 25 22:55:53 2011 [http_debug] [ID#2] Info: Could not resolve host: bam.boincstats.com (Timeout while contacting DNS servers)
Tue Jan 25 22:55:53 2011 [http_debug] [ID#2] Info: Closing connection #0
Tue Jan 25 22:55:53 2011 [http_debug] HTTP error: Couldn't resolve host name
Tue Jan 25 22:55:54 2011 Project communication failed: attempting access to reference site
Tue Jan 25 22:55:54 2011 [http_debug] HTTP_OP::init_get(): http://www.google.com/
Tue Jan 25 22:56:00 2011 [http_debug] [ID#0] Info: Expire cleared
Tue Jan 25 22:56:20 2011 [http_debug] [ID#0] Info: Expire cleared
Tue Jan 25 22:56:20 2011 [http_debug] [ID#0] Info: Could not resolve host: www.google.com (Timeout while contacting DNS servers)
Tue Jan 25 22:56:20 2011 [http_debug] [ID#0] Info: Closing connection #0
Tue Jan 25 22:56:20 2011 [http_debug] HTTP error: Couldn't resolve host name
Tue Jan 25 22:56:21 2011 BOINC can't access Internet - check network connection or proxy configuration.



Adding an IPv4 resolver 8.8.8.8, now connect works:
Code:

Tue Jan 25 22:59:39 2011 Fetching configuration file from http://bam.boincstats.com/get_project_config.php
Tue Jan 25 22:59:39 2011 [http_debug] HTTP_OP::init_get(): http://bam.boincstats.com/get_project_config.php
Tue Jan 25 22:59:44 2011 [http_debug] [ID#2] Info: Expire cleared
Tue Jan 25 22:59:45 2011 [http_debug] [ID#2] Info: About to connect() to bam.boincstats.com port 80 (#0)
Tue Jan 25 22:59:45 2011 [http_debug] [ID#2] Info: Trying 217.67.244.101...
Tue Jan 25 22:59:45 2011 [http_debug] [ID#2] Info: Connected to bam.boincstats.com (217.67.244.101) port 80 (#0)
Tue Jan 25 22:59:45 2011 [http_debug] [ID#2] Sent header to server: GET /get_project_config.php HTTP/1.1
Tue Jan 25 22:59:45 2011 [http_debug] [ID#2] Sent header to server: User-Agent: BOINC client (x86_64-apple-darwin 6.10.58)
Tue Jan 25 22:59:45 2011 [http_debug] [ID#2] Sent header to server: Host: bam.boincstats.com
Tue Jan 25 22:59:45 2011 [http_debug] [ID#2] Sent header to server: Accept: */*
Tue Jan 25 22:59:45 2011 [http_debug] [ID#2] Sent header to server: Accept-Encoding: deflate, gzip
Tue Jan 25 22:59:45 2011 [http_debug] [ID#2] Sent header to server: Content-Type: application/x-www-form-urlencoded
Tue Jan 25 22:59:45 2011 [http_debug] [ID#2] Sent header to server:
Tue Jan 25 22:59:45 2011 [http_debug] [ID#2] Received header from server: HTTP/1.1 200 OK
Tue Jan 25 22:59:45 2011 [http_debug] [ID#2] Received header from server: Date: Wed, 26 Jan 2011 04:59:45 GMT
Tue Jan 25 22:59:45 2011 [http_debug] [ID#2] Received header from server: Server: Apache
Tue Jan 25 22:59:45 2011 [http_debug] [ID#2] Received header from server: X-Powered-By: PHP/5.2.6-1+lenny9
Tue Jan 25 22:59:45 2011 [http_debug] [ID#2] Received header from server: Content-Encoding: gzip
Tue Jan 25 22:59:45 2011 [http_debug] [ID#2] Received header from server: Vary: Accept-Encoding
Tue Jan 25 22:59:45 2011 [http_debug] [ID#2] Received header from server: Content-Length: 189
Tue Jan 25 22:59:45 2011 [http_debug] [ID#2] Received header from server: Content-Type: application/xml; charset=ISO-8859-1
Tue Jan 25 22:59:45 2011 [http_debug] [ID#2] Received header from server:
Tue Jan 25 22:59:45 2011 [http_xfer_debug] [ID#2] HTTP: wrote 227 bytes
Tue Jan 25 22:59:45 2011 [http_debug] [ID#2] Info: Expire cleared
Tue Jan 25 22:59:45 2011 [http_debug] [ID#2] Info: Connection #0 to host bam.boincstats.com left intact
Tue Jan 25 23:01:00 2011 [http_debug] HTTP_OP::init_post(): http://bam.boincstats.com/rpc.php
Tue Jan 25 23:01:00 2011 Contacting account manager at http://bam.boincstats.com/
Tue Jan 25 23:01:00 2011 [http_debug] [ID#0] Info: Connection #0 seems to be dead!
Tue Jan 25 23:01:00 2011 [http_debug] [ID#0] Info: Expire cleared
Tue Jan 25 23:01:00 2011 [http_debug] [ID#0] Info: Closing connection #0
Tue Jan 25 23:01:05 2011 [http_debug] [ID#0] Info: Expire cleared
Tue Jan 25 23:01:05 2011 [http_debug] [ID#0] Info: About to connect() to bam.boincstats.com port 80 (#0)
Tue Jan 25 23:01:05 2011 [http_debug] [ID#0] Info: Trying 217.67.244.101...
Tue Jan 25 23:01:05 2011 [http_debug] [ID#0] Info: Connected to bam.boincstats.com (217.67.244.101) port 80 (#0)
Tue Jan 25 23:01:05 2011 [http_debug] [ID#0] Sent header to server: POST /rpc.php HTTP/1.1
Tue Jan 25 23:01:05 2011 [http_debug] [ID#0] Sent header to server: User-Agent: BOINC client (x86_64-apple-darwin 6.10.58)
Tue Jan 25 23:01:05 2011 [http_debug] [ID#0] Sent header to server: Host: bam.boincstats.com
Tue Jan 25 23:01:05 2011 [http_debug] [ID#0] Sent header to server: Accept: */*
Tue Jan 25 23:01:05 2011 [http_debug] [ID#0] Sent header to server: Accept-Encoding: deflate, gzip
Tue Jan 25 23:01:05 2011 [http_debug] [ID#0] Sent header to server: Content-Type: application/x-www-form-urlencoded
Tue Jan 25 23:01:05 2011 [http_debug] [ID#0] Sent header to server: Content-Length: 305
Tue Jan 25 23:01:05 2011 [http_debug] [ID#0] Sent header to server:
Tue Jan 25 23:01:06 2011 [http_debug] [ID#0] Received header from server: HTTP/1.1 200 OK
Tue Jan 25 23:01:06 2011 [http_debug] [ID#0] Received header from server: Date: Wed, 26 Jan 2011 05:01:05 GMT
Tue Jan 25 23:01:06 2011 [http_debug] [ID#0] Received header from server: Server: Apache
Tue Jan 25 23:01:06 2011 [http_debug] [ID#0] Received header from server: X-Powered-By: PHP/5.2.6-1+lenny9
Tue Jan 25 23:01:06 2011 [http_debug] [ID#0] Received header from server: Content-Encoding: gzip
Tue Jan 25 23:01:06 2011 [http_debug] [ID#0] Received header from server: Vary: Accept-Encoding
Tue Jan 25 23:01:06 2011 [http_debug] [ID#0] Received header from server: Content-Length: 483
Tue Jan 25 23:01:06 2011 [http_debug] [ID#0] Received header from server: Content-Type: application/xml; charset=UTF-8
Tue Jan 25 23:01:06 2011 [http_debug] [ID#0] Received header from server:
Tue Jan 25 23:01:06 2011 [http_xfer_debug] [ID#0] HTTP: wrote 973 bytes
Tue Jan 25 23:01:06 2011 [http_debug] [ID#0] Info: Expire cleared
Tue Jan 25 23:01:06 2011 [http_debug] [ID#0] Info: Connection #0 to host bam.boincstats.com left intact
Tue Jan 25 23:01:06 2011 Account manager: BAM! User-ID: 17439
Tue Jan 25 23:01:06 2011 Account manager: BAM! Host-ID: 261537
Tue Jan 25 23:01:06 2011 Account manager: Number of BAM! connections for this host: 1
Tue Jan 25 23:01:06 2011 Account manager contact succeeded
[BOINCstats] Willy
 
Forum moderator - Administrator - Developer - Tester - Translator
BAM!ID: 1
Joined: 2006-01-09
Posts: 9455
Credits: 353,172,950
World-rank: 4,959

2011-01-26 06:06:28

Don't know about the BOINC code, but BOINCstats/BAM! does not yet have IPv6 support (the whole data center doesn't have it).
Please do not PM, IM or email me for support (they will go unread/ignored). Use the forum for support.
SciTechGrid*
BAM!ID: 58896
Joined: 2008-09-18
Posts: 45
Credits: 448,709,012
World-rank: 4,204

2011-01-26 08:22:18

http://news.bbc.co.uk/1/hi/technology/7220116.stm
gawul00
BAM!ID: 17439
Joined: 2007-01-19
Posts: 3
Credits: 39,232
World-rank: 1,010,143

2011-01-26 13:52:45

At this point, I am not overly concerned that the BOINC data center is not IPv6 enabled. The trouble is on the local computer. The only IPv6 communication I am attempting is between my computer and my DNS resolver. Applications should be using calls to the OS to look up DNS, and if done so, this would succeed. Instead, BOINC uses its own resolver and it does not understand the IPv6 resolvers I have installed in my /etc/resolv.conf file and thus, any DNS name look-ups fail.
gawul00
BAM!ID: 17439
Joined: 2007-01-19
Posts: 3
Credits: 39,232
World-rank: 1,010,143

2011-01-26 13:56:53

It has been so long that I have been using BAM and BOINCstats, that I failed to realize, until just now, that BOINC is a project out of Berkeley. Reporting over there.
Pages: [1]

Index :: BOINC :: BOINC fails to connect to project/manager with only IPv6 resolver
Reason: