No new jobs

Ats Miller
Ats Miller
Joined: 24 Nov 05
Posts: 7
Credit: 5526871
RAC: 0
Topic 195702

I got error message: Scheduler request failed: Couldn't resolve host name.
Any ideas?
Btw -- It started after I changed my Mac24 (10.5) HD and restored all from Time Machine backup. Everything but Boinc works fine...

mikey
mikey
Joined: 22 Jan 05
Posts: 12692
Credit: 1839096286
RAC: 3676

No new jobs

Quote:
I got error message: Scheduler request failed: Couldn't resolve host name.
Any ideas?
Btw -- It started after I changed my Mac24 (10.5) HD and restored all from Time Machine backup. Everything but Boinc works fine...

Try detaching from the project and then reattaching.

Gundolf Jahn
Gundolf Jahn
Joined: 1 Mar 05
Posts: 1079
Credit: 341280
RAC: 0

How would an attach be

How would an attach be possible, if the host name can't be resolved?

I'd check firewall(s) proxy settings and DNS service.

Gruß,
Gundolf

Computer sind nicht alles im Leben. (Kleiner Scherz)

Ats Miller
Ats Miller
Joined: 24 Nov 05
Posts: 7
Credit: 5526871
RAC: 0

OK, I've looked around in net

OK, I've looked around in net and tried several recommended things:
1. I completely reinstalled Boinc (also remove files from "/Library/Application Support/BOINC Data" and "/Users/[username]/Library/Preferences/BOINC Manager Preferences)". No help.
2. Went back to HTTP 1.0 (wrote cc_config.xml file to "/Library/Application Support/BOINC Data":


1


). No help.
3. Downgraded Boinc to 6.10.21. No help.

4. I also reconfigured log (file cc_config.xml is like that:


1
1
1


1

It gives me such messages:
Sun Mar 13 14:03:54 2011 Fetching configuration file from http://einstein.phys.uwm.edu/get_project_config.php
Sun Mar 13 14:03:54 2011 [http_debug] HTTP_OP::init_get(): http://einstein.phys.uwm.edu/get_project_config.php
Sun Mar 13 14:03:54 2011 Resuming network activity
Sun Mar 13 14:03:59 2011 [http_debug] [ID#2] Info: Expire cleared
Sun Mar 13 14:04:19 2011 [http_debug] [ID#2] Info: Expire cleared
Sun Mar 13 14:04:19 2011 [http_debug] [ID#2] Info: Could not resolve host: einstein.phys.uwm.edu (Timeout while contacting DNS servers)
Sun Mar 13 14:04:19 2011 [http_debug] [ID#2] Info: Closing connection #0
Sun Mar 13 14:04:19 2011 [http_debug] HTTP error: Couldn't resolve host name

I is NOT my network connection problem, because it works fine with other applications (browsers, torrents, ftp etc) and I also can ping einstein.phys.uwm.edu (both name and IP 129.89.61.70).

BTW interesting thing happens, when I try to connect to project via IP -- it even asks my username and pw, but still fails after that:

Sun Mar 13 14:09:31 2011 Fetching configuration file from http://129.89.61.70/get_project_config.php
Sun Mar 13 14:09:31 2011 [http_debug] HTTP_OP::init_get(): http://129.89.61.70/get_project_config.php
Sun Mar 13 14:09:31 2011 [http_debug] [ID#2] Info: About to connect() to 129.89.61.70 port 80 (#0)
Sun Mar 13 14:09:31 2011 [http_debug] [ID#2] Info: Trying 129.89.61.70...
Sun Mar 13 14:09:31 2011 [http_debug] [ID#2] Info: Connected to 129.89.61.70 (129.89.61.70) port 80 (#0)
Sun Mar 13 14:09:31 2011 [http_debug] [ID#2] Sent header to server: GET /get_project_config.php HTTP/1.0
Sun Mar 13 14:09:31 2011 [http_debug] [ID#2] Sent header to server: User-Agent: BOINC client (x86_64-apple-darwin 6.10.21)
Sun Mar 13 14:09:31 2011 [http_debug] [ID#2] Sent header to server: Host: 129.89.61.70
Sun Mar 13 14:09:31 2011 [http_debug] [ID#2] Sent header to server: Accept: */*
Sun Mar 13 14:09:31 2011 [http_debug] [ID#2] Sent header to server: Accept-Encoding: deflate, gzip
Sun Mar 13 14:09:31 2011 [http_debug] [ID#2] Sent header to server: Content-Type: application/x-www-form-urlencoded
Sun Mar 13 14:09:31 2011 [http_debug] [ID#2] Sent header to server:
Sun Mar 13 14:09:31 2011 Resuming network activity
Sun Mar 13 14:09:31 2011 [http_debug] [ID#2] Received header from server: HTTP/1.1 200 OK
Sun Mar 13 14:09:31 2011 [http_debug] [ID#2] Received header from server: Date: Sun, 13 Mar 2011 12:09:31 GMT
Sun Mar 13 14:09:31 2011 [http_debug] [ID#2] Received header from server: Server: Apache/2.2.3 (CentOS)
Sun Mar 13 14:09:31 2011 [http_debug] [ID#2] Received header from server: X-Powered-By: PHP/5.1.6
Sun Mar 13 14:09:31 2011 [http_debug] [ID#2] Received header from server: Content-Length: 4766
Sun Mar 13 14:09:31 2011 [http_debug] [ID#2] Received header from server: Connection: close
Sun Mar 13 14:09:31 2011 [http_debug] [ID#2] Received header from server: Content-Type: text/xml
Sun Mar 13 14:09:31 2011 [http_debug] [ID#2] Received header from server:
Sun Mar 13 14:09:31 2011 [http_xfer_debug] [ID#2] HTTP: wrote 1271 bytes
Sun Mar 13 14:09:31 2011 [http_xfer_debug] [ID#2] HTTP: wrote 1448 bytes
Sun Mar 13 14:09:31 2011 [http_xfer_debug] [ID#2] HTTP: wrote 1448 bytes
Sun Mar 13 14:09:31 2011 [http_xfer_debug] [ID#2] HTTP: wrote 599 bytes
Sun Mar 13 14:09:31 2011 [http_debug] [ID#2] Info: Expire cleared
Sun Mar 13 14:09:31 2011 [http_debug] [ID#2] Info: Closing connection #0
Sun Mar 13 14:09:46 2011 [http_debug] HTTP_OP::init_get(): http://einstein.phys.uwm.edu/lookup_account.php?email_addr=atsmiller%40gmail%2Ecom&passwd_hash=501858ba1d58f7685047036762a730fd
Sun Mar 13 14:09:51 2011 [http_debug] [ID#2] Info: Expire cleared
Sun Mar 13 14:10:11 2011 [http_debug] [ID#2] Info: Expire cleared
Sun Mar 13 14:10:11 2011 [http_debug] [ID#2] Info: Could not resolve host: einstein.phys.uwm.edu (Timeout while contacting DNS servers)
Sun Mar 13 14:10:11 2011 [http_debug] [ID#2] Info: Closing connection #0
Sun Mar 13 14:10:11 2011 [http_debug] HTTP error: Couldn't resolve host name
Sun Mar 13 14:10:12 2011 Project communication failed: attempting access to reference site
Sun Mar 13 14:10:12 2011 [http_debug] HTTP_OP::init_get(): http://www.google.com/
Sun Mar 13 14:10:18 2011 [http_debug] [ID#0] Info: Expire cleared
Sun Mar 13 14:10:38 2011 [http_debug] [ID#0] Info: Expire cleared
Sun Mar 13 14:10:38 2011 [http_debug] [ID#0] Info: Could not resolve host: www.google.com (Timeout while contacting DNS servers)
Sun Mar 13 14:10:38 2011 [http_debug] [ID#0] Info: Closing connection #0
Sun Mar 13 14:10:38 2011 [http_debug] HTTP error: Couldn't resolve host name
Sun Mar 13 14:10:39 2011 BOINC can't access Internet - check network connection or proxy configuration.

So it seems to be some DNS problem and I even found some (not very useful) hint about curl versions.

Anyway, I have wasted half of my Sunday for that idiotic problem and thats enough. I will go back to flying toasters, until better men will have something to say :-P

Claggy
Claggy
Joined: 29 Dec 06
Posts: 560
Credit: 2699403
RAC: 0

Reboot your Router, Claggy

Reboot your Router,

Claggy

Ats Miller
Ats Miller
Joined: 24 Nov 05
Posts: 7
Credit: 5526871
RAC: 0

I've tried that too. No

I've tried that too. No help.
(And I have checked firewall setting, router port settings etc etc and I am out of options.)

Jord
Joined: 26 Jan 05
Posts: 2952
Credit: 5893653
RAC: 62

You said you restored

You said you restored everything from backup. Have you tried reinstalling BOINC, so your permissions are all correct, and made absolutely sure you allowed it through your firewall (again) (BOINC binary needs to be allowed on TCP and UDP ports 80 and 443)?

By the way, you never said which version of BOINC you're using, but if it's still that 6.10.17, consider upgrading to the latest more stable version of 6.10.58, available from the download page. It won't fix this problem, but it will have lots of bug-fixes over the version you're using. (edit: remembering that the BOINC developer for the Mac has made lots of changes for permission between these versions. So do upgrade in the least.)

See also http://boinc.berkeley.edu/wiki/Tools_for_Mac_OS_X, in the least for the AddRemoveUser tool. In case that what you have is a permissions problem.

Ats Miller
Ats Miller
Joined: 24 Nov 05
Posts: 7
Credit: 5526871
RAC: 0

well... please, how can I

well... please, how can I check, that boinc is allowed to use 80 and 443? As far as I know, 80 is HTTP and 443 is HTTPS default port, so if traffic would not be allowed, I could not use internet at all... (?)
Yes, I put 1TB HD to my MAC (instead of 240gB), and restored everything, and everything else works fine. System preferences ->Security ->Firewall says Allow all incoming connections. I also check router port allocation table (btw, before it worked fine without that). Now I reinstalled boinc 6.10.58. The same.
What can I do more?

Jord
Joined: 26 Jan 05
Posts: 2952
Credit: 5893653
RAC: 62

I asked the BOINC developer

I asked the BOINC developer for the Mac and he told me that you're at least now fixed for the "couldn't resolve host name" bug that has plagued BOINC for some time. A definitive fix went in at 6.10.45, so with 6.10.58 you're 'protected' as well.

I don't know how you check whether or not programs are going out through the firewall on a Mac, other than to check in Network System preferences. It's here you can also try to use different DNS servers, just to check that it isn't that. Set to use, for example, the Google DNS servers at 8.8.8.8 and 8.8.4.4

Ats Miller
Ats Miller
Joined: 24 Nov 05
Posts: 7
Credit: 5526871
RAC: 0

Well, I tried Google DNS - no

Well, I tried Google DNS - no success. Bwt, I'm using my service provider DNS (194.126.115.18, 194.126.101.34) and those works fine.

BUT -- I added to /etc/hosts line "129.89.61.70 einstein.phys.uwm.edu" and at first it seemed to work. Anyway, in some moment (boinc said "running benchmark" I believe) it tried to connect to boinc.berkeley.edu and :-(
So I added to /etc/hosts line "128.32.18.189 boinc.berkeley.edu"... and boinc tried to connect to einstein-dl4.phys.uwm.edu ("/download" etc). Pathetic... hosts file isn't DNS, I can't add every needed line there.

So it seems that it's not a port problem, in some reason boinc can't connect with DNS. (Actually, I must read little more to understand, what it really means...)

Ats Miller
Ats Miller
Joined: 24 Nov 05
Posts: 7
Credit: 5526871
RAC: 0

Back in the beginning -- It's

Back in the beginning -- It's simply and clearly Boinc's fault, more specifically cURL (c-ares) bug. (http://www.mail-archive.com/c-ares@cool.haxx.se/msg00527.html) Some year ago many people had that problem and I'm unfortunately recreated that in some way (I of course tried recommendation in that article -- DNS Server: 68.94.156.1, Search Domains: sbcglobal.net -- no help). I completely disabled IP6.
Summary -- 1) all other network protocols work, I can use 3 different browsers, FTP, torrent, Skype & windows RDP.
2) I completely reinstalled Boinc (6.10.58).
3) I have checked every possible settings & I have tried every approach found in internet.
4) Seems, that I would make Boinc work, when I could write every needed DNS address resolve to /etc/hosts...

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.