"Couldn't resolve proxy name" after every reboot

Message boards : BOINC client : "Couldn't resolve proxy name" after every reboot
Message board moderation

To post messages, you must log in.

AuthorMessage
Pavel Hanak

Send message
Joined: 17 Apr 13
Posts: 10
Czech Republic
Message 71022 - Posted: 26 Jul 2016, 12:25:43 UTC
Last modified: 26 Jul 2016, 13:17:53 UTC

Hi all, I have had this BOINC communication problem for about 3 years, but I can't put it off anymore (new project executables need new clients). It started when I upgraded from version 7.4.27 to 7.4.42 and it persists in all later versions. After every reboot, the client is unable to communicate with project servers and produces "BOINC can't access Internet - check network connection or proxy configuration" error message. Over time, I found a temporary fix: if I go to GUI, enable some (fake) proxy and then disable it, the communication works... until the next reboot.

I've enabled file_xfer_debug, http_debug, http_xfer_debug and proxy_debug options to better assess the problem. I'm posting the resulting log below, with some identification information redacted. I did these steps:

  • 12:18:12 Computer boots.
  • 12:21:30 "BOINC can't access Internet - check network connection or proxy configuration."
  • 12:23:18 I mannually set (fake) proxy in the GUI.
  • 12:23:26 I manually disable the proxy.
  • 12:23:30 I manually request update for SETI@home.
  • 12:23:37 Communication magically works again.


As the log shows, the client is trying to set up automatic proxy after reboot, but I don't know why - I have true public IP address, with no NAT, router or anything else in the path. I never had to set up any proxy in Windows settings or other programs. I asked my ISP about the <PROXY ADDRESS> that the client tries to use - according to them, it is reserved for VPN access for legacy IPv4 devices. Basically, I have no idea if this is a BOINC bug or misconfigured network. I tried switching to HTTP 1.0 - didn't help. I tried flushing DNS cache - didn't help. I tried clean install - didn't help. I tested it on another computer (different IP, same ISP) running Windows 7 64-bit - exactly the same problem. Reverting back to 7.4.27 is the only permanent "solution" I was able to find so far.

BTW, I tried automating the enable-disable proxy trick with boinccmd.exe after every reboot, but it is impossible to disable the proxy via command line. You can change it, but not truly disable it like in GUI. This is a long-standing bug, too:

http://boinc.berkeley.edu/dev/forum_thread.php?id=7797

26/07/2016 12:18:12 |  | Starting BOINC client version 7.6.22 for windows_x86_64
26/07/2016 12:18:12 |  | log flags: file_xfer, sched_ops, task, file_xfer_debug, http_debug, http_xfer_debug
26/07/2016 12:18:12 |  | log flags: proxy_debug
26/07/2016 12:18:12 |  | Libraries: libcurl/7.45.0 OpenSSL/1.0.2d zlib/1.2.8
26/07/2016 12:18:12 |  | Data directory: C:\ProgramData\BOINC
26/07/2016 12:18:12 |  | Running under account <USERNAME>
26/07/2016 12:18:12 |  | No usable GPUs found
26/07/2016 12:18:12 |  | Host name: <HOSTNAME>
26/07/2016 12:18:12 |  | Processor: 4 GenuineIntel Intel(R) Core(TM) i5 CPU         680  @ 3.60GHz [Family 6 Model 37 Stepping 5]
26/07/2016 12:18:12 |  | Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss htt tm pni ssse3 cx16 sse4_1 sse4_2 popcnt aes syscall nx lm vmx smx tm2 pbe
26/07/2016 12:18:12 |  | OS: Microsoft Windows 8.1: Professional x64 Edition, (06.03.9600.00)
26/07/2016 12:18:12 |  | Memory: 3.74 GB physical, 4.37 GB virtual
26/07/2016 12:18:12 |  | Disk: 117.38 GB total, 67.54 GB free
26/07/2016 12:18:12 |  | Local time is UTC +2 hours
26/07/2016 12:18:12 |  | VirtualBox version: 5.0.12
26/07/2016 12:18:12 | Einstein@Home | URL http://einstein.phys.uwm.edu/; Computer ID 9848683; resource share 100
26/07/2016 12:18:12 | LHC@home 1.0 | URL http://lhcathomeclassic.cern.ch/sixtrack/; Computer ID 10310945; resource share 200
26/07/2016 12:18:12 | SETI@home | URL http://setiathome.berkeley.edu/; Computer ID 7170567; resource share 100
26/07/2016 12:18:12 | VirtualLHC@home | URL http://lhcathome2.cern.ch/test4theory/; Computer ID 67287; resource share 200
26/07/2016 12:18:17 |  | General prefs: from http://milkyway.cs.rpi.edu/milkyway/ (last modified 28-Aug-2013 22:33:04)
26/07/2016 12:18:17 |  | Host location: none
26/07/2016 12:18:17 |  | General prefs: using your defaults
26/07/2016 12:18:17 |  | Preferences:
26/07/2016 12:18:17 |  | max memory usage when active: 2873.61MB
26/07/2016 12:18:17 |  | max memory usage when idle: 3448.33MB
26/07/2016 12:18:17 |  | max disk usage: 50.00GB
26/07/2016 12:18:17 |  | don't use GPU while active
26/07/2016 12:18:17 |  | (to change preferences, visit a project web site or select Preferences in the Manager)
26/07/2016 12:18:17 |  | Using proxy info from GUI
26/07/2016 12:18:17 |  | [http] HTTP_OP::init_get(): https://einsteinathome.org/notices.php?userid=205640&auth=205640_0baead7fe19e415eba7a445d989e713b
26/07/2016 12:18:17 |  | [http] HTTP_OP::libcurl_exec(): ca-bundle 'C:\Program Files\BOINC\ca-bundle.crt'
26/07/2016 12:18:17 |  | [http] HTTP_OP::libcurl_exec(): ca-bundle set
26/07/2016 12:18:17 |  | [proxy] HTTP_OP::no_proxy_for_url(): https://einsteinathome.org/notices.php?userid=205640&auth=205640_0baead7fe19e415eba7a445d989e713b
26/07/2016 12:18:17 |  | [proxy] returning false
26/07/2016 12:18:18 |  | [proxy] automatic proxy check in progress
26/07/2016 12:18:18 |  | [http] [ID#0] Info:    Trying 129.89.61.70...
26/07/2016 12:18:18 |  | [http] [ID#0] Info:  Connected to einsteinathome.org (129.89.61.70) port 443 (#0)
26/07/2016 12:18:19 |  | [http] [ID#0] Info:  ALPN, offering http/1.1
26/07/2016 12:18:19 |  | [http] [ID#0] Info:  Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
26/07/2016 12:18:19 |  | [http] [ID#0] Info:  successfully set certificate verify locations:
26/07/2016 12:18:19 |  | [http] [ID#0] Info:    CAfile: C:\Program Files\BOINC\ca-bundle.crt
26/07/2016 12:18:19 |  | [http] [ID#0] Info:    CApath: none
26/07/2016 12:18:19 |  | [http] [ID#0] Info:  TLSv1.2 (OUT), TLS header, Certificate Status (22):
26/07/2016 12:18:19 |  | [http] [ID#0] Info:  TLSv1.2 (OUT), TLS handshake, Client hello (1):
26/07/2016 12:18:19 |  | [http] [ID#0] Info:  TLSv1.2 (IN), TLS handshake, Server hello (2):
26/07/2016 12:18:19 |  | [http] [ID#0] Info:  TLSv1.2 (IN), TLS handshake, Certificate (11):
26/07/2016 12:18:19 |  | [http] [ID#0] Info:  TLSv1.2 (IN), TLS handshake, Server key exchange (12):
26/07/2016 12:18:19 |  | [http] [ID#0] Info:  TLSv1.2 (IN), TLS handshake, Server finished (14):
26/07/2016 12:18:19 |  | [http] [ID#0] Info:  TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
26/07/2016 12:18:19 |  | [http] [ID#0] Info:  TLSv1.2 (OUT), TLS change cipher, Client hello (1):
26/07/2016 12:18:19 |  | [http] [ID#0] Info:  TLSv1.2 (OUT), TLS handshake, Finished (20):
26/07/2016 12:18:19 |  | [http] [ID#0] Info:  TLSv1.2 (IN), TLS change cipher, Client hello (1):
26/07/2016 12:18:19 |  | [http] [ID#0] Info:  TLSv1.2 (IN), TLS handshake, Finished (20):
26/07/2016 12:18:19 |  | [http] [ID#0] Info:  SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
26/07/2016 12:18:19 |  | [http] [ID#0] Info:  ALPN, server did not agree to a protocol
26/07/2016 12:18:19 |  | [http] [ID#0] Info:  Server certificate:
26/07/2016 12:18:19 |  | [http] [ID#0] Info:  	 subject: C=US; ST=Wisconsin; L=Milwaukee; O=University of Wisconsin-Milwaukee; OU=Physics; CN=www.einsteinathome.org
26/07/2016 12:18:19 |  | [http] [ID#0] Info:  	 start date: Dec 11 00:00:00 2015 GMT
26/07/2016 12:18:19 |  | [http] [ID#0] Info:  	 expire date: Dec 10 23:59:59 2018 GMT
26/07/2016 12:18:19 |  | [http] [ID#0] Info:  	 subjectAltName: einsteinathome.org matched
26/07/2016 12:18:19 |  | [http] [ID#0] Info:  	 issuer: C=US; O=thawte, Inc.; CN=thawte SSL CA - G2
26/07/2016 12:18:19 |  | [http] [ID#0] Info:  	 SSL certificate verify ok.
26/07/2016 12:18:19 |  | [http] [ID#0] Sent header to server: GET /notices.php?userid=205640&auth=205640_0baead7fe19e415eba7a445d989e713b HTTP/1.1
26/07/2016 12:18:19 |  | [http] [ID#0] Sent header to server: Host: einsteinathome.org
26/07/2016 12:18:19 |  | [http] [ID#0] Sent header to server: User-Agent: BOINC client (windows_x86_64 7.6.22)
26/07/2016 12:18:19 |  | [http] [ID#0] Sent header to server: Accept: */*
26/07/2016 12:18:19 |  | [http] [ID#0] Sent header to server: Accept-Encoding: deflate, gzip
26/07/2016 12:18:19 |  | [http] [ID#0] Sent header to server: Content-Type: application/x-www-form-urlencoded
26/07/2016 12:18:19 |  | [http] [ID#0] Sent header to server: Accept-Language: en_GB
26/07/2016 12:18:19 |  | [http] [ID#0] Sent header to server:
26/07/2016 12:18:20 |  | [http] [ID#0] Received header from server: HTTP/1.1 200 OK
26/07/2016 12:18:20 |  | [http] [ID#0] Received header from server: Date: Tue, 26 Jul 2016 10:18:20 GMT
26/07/2016 12:18:20 |  | [http] [ID#0] Received header from server: Server: Apache
26/07/2016 12:18:20 |  | [http] [ID#0] Received header from server: Expires: Tue, 26 Jul 2016 10:18:20 GMT
26/07/2016 12:18:20 |  | [http] [ID#0] Received header from server: Last-Modified: Tue, 26 Jul 2016 10:18:20 GMT
26/07/2016 12:18:20 |  | [http] [ID#0] Received header from server: Vary: Accept-Encoding
26/07/2016 12:18:20 |  | [http] [ID#0] Received header from server: X-Content-Type-Options: nosniff
26/07/2016 12:18:20 |  | [http] [ID#0] Received header from server: X-Frame-Options: sameorigin
26/07/2016 12:18:20 |  | [http] [ID#0] Received header from server: Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
26/07/2016 12:18:20 |  | [http] [ID#0] Received header from server: Content-Type: application/xml;charset=utf-8
26/07/2016 12:18:20 |  | [http] [ID#0] Received header from server: Content-Encoding: gzip
26/07/2016 12:18:20 |  | [http] [ID#0] Received header from server: Content-Length: 2646
26/07/2016 12:18:20 |  | [http] [ID#0] Received header from server:
26/07/2016 12:18:20 |  | [http_xfer] [ID#0] HTTP: wrote 6486 bytes
26/07/2016 12:18:20 |  | [http] [ID#0] Info:  Connection #0 to host einsteinathome.org left intact
26/07/2016 12:18:20 |  | [http] HTTP_OP::init_get(): http://setiathome.berkeley.edu/notices.php?userid=145036&auth=145036_d6088e75220b5534431dfdc64fc18555
26/07/2016 12:18:20 |  | [http] HTTP_OP::libcurl_exec(): ca-bundle set
26/07/2016 12:18:20 |  | [proxy] HTTP_OP::no_proxy_for_url(): http://setiathome.berkeley.edu/notices.php?userid=145036&auth=145036_d6088e75220b5534431dfdc64fc18555
26/07/2016 12:18:20 |  | [proxy] returning false
26/07/2016 12:18:20 |  | [proxy] HTTP_OP::setup_proxy_session(): setting up automatic proxy <PROXY ADDRESS>
26/07/2016 12:18:21 |  | [http] [ID#0] Info:  Could not resolve proxy: <PROXY ADDRESS>
26/07/2016 12:18:21 |  | [http] [ID#0] Info:  Closing connection 1
26/07/2016 12:18:21 |  | [http] HTTP error: Couldn't resolve proxy name
26/07/2016 12:18:21 |  | [http] HTTP_OP::init_get(): http://lhcathome2.cern.ch/vLHCathome/notices.php?userid=9819&auth=9819_7c318fe31ac194fbae9cc4ff910c9ddb
26/07/2016 12:18:21 |  | [http] HTTP_OP::libcurl_exec(): ca-bundle set
26/07/2016 12:18:21 |  | [proxy] HTTP_OP::no_proxy_for_url(): http://lhcathome2.cern.ch/vLHCathome/notices.php?userid=9819&auth=9819_7c318fe31ac194fbae9cc4ff910c9ddb
26/07/2016 12:18:21 |  | [proxy] returning false
26/07/2016 12:18:21 |  | [proxy] HTTP_OP::setup_proxy_session(): setting up automatic proxy <PROXY ADDRESS>
26/07/2016 12:18:22 |  | [http] [ID#0] Info:  Could not resolve proxy: <PROXY ADDRESS>
26/07/2016 12:18:22 |  | [http] [ID#0] Info:  Closing connection 2
26/07/2016 12:18:22 |  | [http] HTTP error: Couldn't resolve proxy name
26/07/2016 12:21:24 | SETI@home | update requested by user
26/07/2016 12:21:24 |  | [http] HTTP_OP::init_get(): http://setiathome.berkeley.edu/notices.php?userid=145036&auth=145036_d6088e75220b5534431dfdc64fc18555
26/07/2016 12:21:24 |  | [http] HTTP_OP::libcurl_exec(): ca-bundle set
26/07/2016 12:21:24 |  | [proxy] HTTP_OP::no_proxy_for_url(): http://setiathome.berkeley.edu/notices.php?userid=145036&auth=145036_d6088e75220b5534431dfdc64fc18555
26/07/2016 12:21:24 |  | [proxy] returning false
26/07/2016 12:21:24 |  | [proxy] HTTP_OP::setup_proxy_session(): setting up automatic proxy <PROXY ADDRESS>
26/07/2016 12:21:24 |  | [http] [ID#0] Info:  Connection 0 seems to be dead!
26/07/2016 12:21:24 |  | [http] [ID#0] Info:  Closing connection 0
26/07/2016 12:21:24 |  | [http] [ID#0] Info:  TLSv1.2 (OUT), TLS alert, Client hello (1):
26/07/2016 12:21:25 |  | [http] [ID#0] Info:  Could not resolve proxy: <PROXY ADDRESS>
26/07/2016 12:21:25 |  | [http] [ID#0] Info:  Closing connection 3
26/07/2016 12:21:25 |  | [http] HTTP error: Couldn't resolve proxy name
26/07/2016 12:21:28 | SETI@home | Sending scheduler request: Requested by user.
26/07/2016 12:21:28 | SETI@home | Not requesting tasks: don't need (not highest priority project)
26/07/2016 12:21:28 | SETI@home | [http] HTTP_OP::init_post(): http://setiboinc.ssl.berkeley.edu/sah_cgi/cgi
26/07/2016 12:21:28 | SETI@home | [http] HTTP_OP::libcurl_exec(): ca-bundle 'C:\Program Files\BOINC\ca-bundle.crt'
26/07/2016 12:21:28 | SETI@home | [http] HTTP_OP::libcurl_exec(): ca-bundle set
26/07/2016 12:21:28 |  | [proxy] HTTP_OP::no_proxy_for_url(): http://setiboinc.ssl.berkeley.edu/sah_cgi/cgi
26/07/2016 12:21:28 |  | [proxy] returning false
26/07/2016 12:21:28 |  | [proxy] HTTP_OP::setup_proxy_session(): setting up automatic proxy <PROXY ADDRESS>
26/07/2016 12:21:28 | SETI@home | [http] [ID#1] Info:  Could not resolve proxy: <PROXY ADDRESS>
26/07/2016 12:21:28 | SETI@home | [http] [ID#1] Info:  Closing connection 4
26/07/2016 12:21:28 | SETI@home | [http] HTTP error: Couldn't resolve proxy name
26/07/2016 12:21:29 |  | Project communication failed: attempting access to reference site
26/07/2016 12:21:29 |  | [http] HTTP_OP::init_get(): http://www.google.com/
26/07/2016 12:21:29 |  | [http] HTTP_OP::libcurl_exec(): ca-bundle set
26/07/2016 12:21:29 |  | [proxy] HTTP_OP::no_proxy_for_url(): http://www.google.com/
26/07/2016 12:21:29 |  | [proxy] returning false
26/07/2016 12:21:29 |  | [proxy] HTTP_OP::setup_proxy_session(): setting up automatic proxy <PROXY ADDRESS>
26/07/2016 12:21:29 | SETI@home | Scheduler request failed: Couldn't resolve proxy name
26/07/2016 12:21:29 |  | [http] [ID#0] Info:  Could not resolve proxy: <PROXY ADDRESS>
26/07/2016 12:21:29 |  | [http] [ID#0] Info:  Closing connection 5
26/07/2016 12:21:29 |  | [http] HTTP error: Couldn't resolve proxy name
26/07/2016 12:21:30 |  | BOINC can't access Internet - check network connection or proxy configuration.
26/07/2016 12:23:18 |  | Using proxy info from GUI
26/07/2016 12:23:18 |  | Using HTTP proxy 78.56.4.12:80
26/07/2016 12:23:26 |  | Using proxy info from GUI
26/07/2016 12:23:30 | SETI@home | update requested by user
26/07/2016 12:23:31 |  | [http] HTTP_OP::init_get(): http://setiathome.berkeley.edu/notices.php?userid=145036&auth=145036_d6088e75220b5534431dfdc64fc18555
26/07/2016 12:23:31 |  | [http] HTTP_OP::libcurl_exec(): ca-bundle set
26/07/2016 12:23:31 |  | [proxy] HTTP_OP::no_proxy_for_url(): http://setiathome.berkeley.edu/notices.php?userid=145036&auth=145036_d6088e75220b5534431dfdc64fc18555
26/07/2016 12:23:31 |  | [proxy] returning false
26/07/2016 12:23:32 |  | [http] [ID#0] Info:    Trying 208.68.240.110...
26/07/2016 12:23:32 |  | [http] [ID#0] Info:  Connected to setiathome.berkeley.edu (208.68.240.110) port 80 (#6)
26/07/2016 12:23:32 |  | [http] [ID#0] Sent header to server: GET /notices.php?userid=145036&auth=145036_d6088e75220b5534431dfdc64fc18555 HTTP/1.1
26/07/2016 12:23:32 |  | [http] [ID#0] Sent header to server: Host: setiathome.berkeley.edu
26/07/2016 12:23:32 |  | [http] [ID#0] Sent header to server: User-Agent: BOINC client (windows_x86_64 7.6.22)
26/07/2016 12:23:32 |  | [http] [ID#0] Sent header to server: Accept: */*
26/07/2016 12:23:32 |  | [http] [ID#0] Sent header to server: Accept-Encoding: deflate, gzip
26/07/2016 12:23:32 |  | [http] [ID#0] Sent header to server: Content-Type: application/x-www-form-urlencoded
26/07/2016 12:23:32 |  | [http] [ID#0] Sent header to server: Accept-Language: en_GB
26/07/2016 12:23:32 |  | [http] [ID#0] Sent header to server:
26/07/2016 12:23:32 |  | [http] [ID#0] Received header from server: HTTP/1.1 200 OK
26/07/2016 12:23:32 |  | [http] [ID#0] Received header from server: Date: Tue, 26 Jul 2016 10:23:32 GMT
26/07/2016 12:23:32 |  | [http] [ID#0] Received header from server: Server: Apache/2.2.15 (Scientific Linux)
26/07/2016 12:23:32 |  | [http] [ID#0] Received header from server: X-Powered-By: PHP/5.3.3
26/07/2016 12:23:32 |  | [http] [ID#0] Received header from server: Expires: Tue, 26 Jul 2016 10:23:33 GMT
26/07/2016 12:23:32 |  | [http] [ID#0] Received header from server: Last-Modified: Tue, 26 Jul 2016 10:23:33 GMT
26/07/2016 12:23:32 |  | [http] [ID#0] Received header from server: Content-Length: 1868
26/07/2016 12:23:32 |  | [http] [ID#0] Received header from server: Connection: close
26/07/2016 12:23:32 |  | [http] [ID#0] Received header from server: Content-Type: application/xml
26/07/2016 12:23:32 |  | [http] [ID#0] Received header from server:
26/07/2016 12:23:32 |  | [http_xfer] [ID#0] HTTP: wrote 1868 bytes
26/07/2016 12:23:32 |  | [http] [ID#0] Info:  Closing connection 6
26/07/2016 12:23:35 | SETI@home | Sending scheduler request: Requested by user.
26/07/2016 12:23:35 | SETI@home | Not requesting tasks: don't need (not highest priority project)
26/07/2016 12:23:35 | SETI@home | [http] HTTP_OP::init_post(): http://setiboinc.ssl.berkeley.edu/sah_cgi/cgi
26/07/2016 12:23:35 | SETI@home | [http] HTTP_OP::libcurl_exec(): ca-bundle set
26/07/2016 12:23:35 |  | [proxy] HTTP_OP::no_proxy_for_url(): http://setiboinc.ssl.berkeley.edu/sah_cgi/cgi
26/07/2016 12:23:35 |  | [proxy] returning false
26/07/2016 12:23:36 | SETI@home | [http] [ID#1] Info:    Trying 208.68.240.126...
26/07/2016 12:23:36 | SETI@home | [http] [ID#1] Info:  Connected to setiboinc.ssl.berkeley.edu (208.68.240.126) port 80 (#7)
26/07/2016 12:23:36 | SETI@home | [http] [ID#1] Sent header to server: POST /sah_cgi/cgi HTTP/1.1
26/07/2016 12:23:36 | SETI@home | [http] [ID#1] Sent header to server: Host: setiboinc.ssl.berkeley.edu
26/07/2016 12:23:36 | SETI@home | [http] [ID#1] Sent header to server: User-Agent: BOINC client (windows_x86_64 7.6.22)
26/07/2016 12:23:36 | SETI@home | [http] [ID#1] Sent header to server: Accept: */*
26/07/2016 12:23:36 | SETI@home | [http] [ID#1] Sent header to server: Accept-Encoding: deflate, gzip
26/07/2016 12:23:36 | SETI@home | [http] [ID#1] Sent header to server: Content-Type: application/x-www-form-urlencoded
26/07/2016 12:23:36 | SETI@home | [http] [ID#1] Sent header to server: Accept-Language: en_GB
26/07/2016 12:23:36 | SETI@home | [http] [ID#1] Sent header to server: Content-Length: 20590
26/07/2016 12:23:36 | SETI@home | [http] [ID#1] Sent header to server: Expect: 100-continue
26/07/2016 12:23:36 | SETI@home | [http] [ID#1] Sent header to server:
26/07/2016 12:23:36 | SETI@home | [http] [ID#1] Received header from server: HTTP/1.1 100 Continue
26/07/2016 12:23:36 | SETI@home | [http] [ID#1] Info:  We are completely uploaded and fine
26/07/2016 12:23:37 | SETI@home | [http] [ID#1] Received header from server: HTTP/1.1 200 OK
26/07/2016 12:23:37 | SETI@home | [http] [ID#1] Received header from server: Date: Tue, 26 Jul 2016 10:23:36 GMT
26/07/2016 12:23:37 | SETI@home | [http] [ID#1] Received header from server: Server: Apache/2.2.15 (Scientific Linux)
26/07/2016 12:23:37 | SETI@home | [http] [ID#1] Received header from server: Connection: close
26/07/2016 12:23:37 | SETI@home | [http] [ID#1] Received header from server: Transfer-Encoding: chunked
26/07/2016 12:23:37 | SETI@home | [http] [ID#1] Received header from server: Content-Type: text/xml
26/07/2016 12:23:37 | SETI@home | [http] [ID#1] Received header from server:
26/07/2016 12:23:37 |  | [http_xfer] [ID#1] HTTP: wrote 1285 bytes
26/07/2016 12:23:37 |  | [http_xfer] [ID#1] HTTP: wrote 3875 bytes
26/07/2016 12:23:37 | SETI@home | [http] [ID#1] Info:  Closing connection 7
26/07/2016 12:23:37 | SETI@home | Scheduler request completed
ID: 71022 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5080
United Kingdom
Message 71025 - Posted: 26 Jul 2016, 13:33:01 UTC

David Anderson committed new code overnight:

client (Win): add config option to not do proxy autodetect

There hasn't been a new test build since early June, but I found it easy (and successful) to follow the 'build your own' instructions for VS2012.

Out of curiosity, why would a new project executable need new clients?
ID: 71025 · Report as offensive
SekeRob2

Send message
Joined: 6 Jul 10
Posts: 585
Italy
Message 71026 - Posted: 26 Jul 2016, 13:53:27 UTC - in response to Message 71025.  

On initiative of Juha http://boinc.berkeley.edu/dev/forum_thread.php?id=11117 that code will have been the reason of the overnighter.
Coelum Non Animum Mutant, Qui Trans Mare Currunt
ID: 71026 · Report as offensive
Pavel Hanak

Send message
Joined: 17 Apr 13
Posts: 10
Czech Republic
Message 71029 - Posted: 26 Jul 2016, 14:15:47 UTC - in response to Message 71025.  

Out of curiosity, why would a new project executable need new clients?

Some newer LHC executables hang on 7.4.27, but run fine on 7.6.x. Updating VirtualBox only didn't help, I had to install newer client, too. :-/
ID: 71029 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 71041 - Posted: 26 Jul 2016, 19:24:52 UTC - in response to Message 71025.  

There hasn't been a new test build since early June, but I found it easy (and successful) to follow the 'build your own' instructions for VS2012.


In this case might need a bit fixing first; I think David left a bug in it.

I never had to set up any proxy in Windows settings


BOINC asks WinHTTP to do the proxy detection which uses Web Proxy Autodiscovery Protocol to do it. I suppose you could follow the steps to find the source of the proxy settings.
ID: 71041 · Report as offensive
Pavel Hanak

Send message
Joined: 17 Apr 13
Posts: 10
Czech Republic
Message 71055 - Posted: 28 Jul 2016, 11:31:01 UTC - in response to Message 71041.  
Last modified: 28 Jul 2016, 11:35:32 UTC

BOINC asks WinHTTP to do the proxy detection which uses Web Proxy Autodiscovery Protocol to do it. I suppose you could follow the steps to find the source of the proxy settings.


Just out of curiosity, I looked it up at https://technet.microsoft.com/cs-cz/library/cc731131(v=ws.10).aspx. But when I run

netsh winhttp show proxy


I get "Direct access (no proxy server)". However, I was able to determine that my ISP is employing several HTTP cache servers and <PROXY ADDRESS> from my log seems to be one of them. I have no idea why BOINC always chooses that particular one, nor why it causes the "Couldn't resolve proxy name" error. I also found out that when I set one of the other cache servers as BOINC client proxy, the communication suddenly works. Is there something I could do to better diagnose the problem? Like I said, BOINC is the only program that has had this problem, so there still may be some obscure bug in it.
ID: 71055 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5080
United Kingdom
Message 71056 - Posted: 28 Jul 2016, 13:53:41 UTC - in response to Message 71055.  

I also got "Direct access (no proxy server)".

I've compiled a new client and manager from head sources (as of about 40 minutes ago): my startup log now includes

28/07/2016 14:40:51 |  | (to change preferences, visit a project web site or select Preferences in the Manager)
28/07/2016 14:40:52 |  | [proxy] HTTP_OP::no_proxy_for_url(): https://albertathome.org/rss_main.php
28/07/2016 14:40:52 |  | [proxy] returning false
28/07/2016 14:40:52 | Einstein@Home | [cpu_sched] Restarting task PM0147_032C1_318_0 using einsteinbinary_BRP6 version 152 (BRP6-Beta-opencl-intel_gpu) in slot 4
28/07/2016 14:40:52 | NumberFields@home | [cpu_sched] Restarting task wu_sf3_DS-11x271_Grp289150of614400_0 using GetDecics version 211 in slot 1
28/07/2016 14:40:52 | NumberFields@home | [cpu_sched] Restarting task wu_sf3_DS-11x271_Grp291583of614400_0 using GetDecics version 211 in slot 5
28/07/2016 14:40:52 | NumberFields@home | [cpu_sched] Restarting task wu_sf3_DS-11x271_Grp289074of614400_1 using GetDecics version 211 in slot 0
28/07/2016 14:40:52 | GPUGRID | [cpu_sched] Restarting task e25s19_e1s35p0f677-GERARD_FXCXCL12RX_1497613_1-0-1-RND4377_0 using acemdlong version 848 (cuda65) in slot 3
28/07/2016 14:40:52 | NumberFields@home | [cpu_sched] Restarting task wu_sf3_DS-11x271_Grp296499of614400_0 using GetDecics version 211 in slot 2
28/07/2016 14:40:52 | SETI@home | [cpu_sched] Restarting task 26my10aa.32159.14402.3.30.130_0 using setiathome_v8 version 800 (cuda50) in slot 7
28/07/2016 14:40:52 | SETI@home | [cpu_sched] Restarting task 26my10aa.32159.18492.3.30.97_1 using setiathome_v8 version 800 (cuda50) in slot 6
28/07/2016 14:40:53 |  | [proxy] automatic proxy check in progress
28/07/2016 14:40:54 |  | [proxy] HTTP_OP::no_proxy_for_url(): https://einsteinathome.org/notices.php?userid=144054&auth=144054_96d85d30adf19fcc83a280d8c1575568
28/07/2016 14:40:54 |  | [proxy] returning false
28/07/2016 14:40:57 |  | [proxy] HTTP_OP::no_proxy_for_url(): http://findah.ucd.ie/notices.php?userid=124464&auth=124464_e433d367c744d5a3863b477f373ea576
28/07/2016 14:40:57 |  | [proxy] returning false
28/07/2016 14:40:59 |  | [proxy] HTTP_OP::no_proxy_for_url(): http://www.gpugrid.net/notices.php?userid=30277&auth=30277_35c13b5a51da7043408976de34dc6a07
28/07/2016 14:40:59 |  | [proxy] returning false
28/07/2016 14:41:01 |  | [proxy] HTTP_OP::no_proxy_for_url(): http://numberfields.asu.edu/NumberFields/notices.php?userid=1969&auth=1969_a51674229132bb81e005ca901c1109a5
28/07/2016 14:41:01 |  | [proxy] returning false
28/07/2016 14:41:03 |  | [proxy] no automatic proxy detected
28/07/2016 14:41:03 |  | [proxy] HTTP_OP::no_proxy_for_url(): http://setiathome.berkeley.edu/notices.php?userid=5509&auth=5509_474dbc6bd79c0c382cf0504aa7fc08f2
28/07/2016 14:41:03 |  | [proxy] returning false
28/07/2016 14:41:05 |  | [proxy] HTTP_OP::no_proxy_for_url(): http://setiweb.ssl.berkeley.edu/beta/notices.php?userid=5135&auth=5135_6d4a11988395ee187d6e4bce89a2d411
28/07/2016 14:41:05 |  | [proxy] returning false
28/07/2016 14:46:45 | SETI@home | Computation for task 26my10aa.32159.14402.3.30.130_0 finished
28/07/2016 14:46:45 | SETI@home | Starting task 26my10aa.32159.19719.3.30.229_0
28/07/2016 14:46:45 | SETI@home | [cpu_sched] Starting task 26my10aa.32159.19719.3.30.229_0 using setiathome_v8 version 800 (cuda50) in slot 7
28/07/2016 14:46:48 |  | [proxy] HTTP_OP::no_proxy_for_url(): http://setiboincdata.ssl.berkeley.edu/sah_cgi/file_upload_handler
28/07/2016 14:46:48 |  | [proxy] returning false
28/07/2016 14:46:48 | SETI@home | Started upload of 26my10aa.32159.14402.3.30.130_0_0
28/07/2016 14:46:50 |  | [proxy] HTTP_OP::no_proxy_for_url(): http://setiboincdata.ssl.berkeley.edu/sah_cgi/file_upload_handler
28/07/2016 14:46:50 |  | [proxy] returning false
28/07/2016 14:46:52 | SETI@home | Finished upload of 26my10aa.32159.14402.3.30.130_0_0

Strange that the first proxy report appears for a notice check before the 'restart task' messages, and the 'automatic proxy check in progress' after them - but it doesn't appear to affect the outcome.

(I'm on wired ethernet behind a NAT router, and from there DSL to a standard domestic ISP)
ID: 71056 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 71057 - Posted: 28 Jul 2016, 13:59:39 UTC - in response to Message 71055.  

obscure bug in it.


Only an obscure feature. The release version offer two choices for proxy:

- Automatic detection
- Manual settings

There is no GUI or config option for the automatic detection so it's easy to be mistaken and believe that not having manual settings equals no proxy.

As Richard said there is now config option for no automatic detection in source code. If you want it you'll need to build the client yourself or if you ask nicely maybe Richard could compile it for you.
ID: 71057 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 71058 - Posted: 28 Jul 2016, 14:21:11 UTC - in response to Message 71056.  

Strange that the first proxy report appears for a notice check before the 'restart task' messages, and the 'automatic proxy check in progress' after them - but it doesn't appear to affect the outcome.


The function that does the detection is blocking and may take several seconds to complete. Because of that the detection is run on a helper thread. It takes a while before the thread is ready.

The client tries to do HTTP operations with the proxy settings it has (in your case no proxy) until the automatic detection has provided the client with some better information.
ID: 71058 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5080
United Kingdom
Message 71059 - Posted: 28 Jul 2016, 14:28:59 UTC - in response to Message 71057.  

As Richard said there is now config option for no automatic detection in source code. If you want it you'll need to build the client yourself or if you ask nicely maybe Richard could compile it for you.

Ah. I knew I was supposed to be testing something...

I can confirm that the proxy section in cc_config.xml now reads

<proxy_info>
    <socks_server_name></socks_server_name>
    <socks_server_port>80</socks_server_port>
    <http_server_name></http_server_name>
    <http_server_port>80</http_server_port>
    <socks5_user_name></socks5_user_name>
    <socks5_user_passwd></socks5_user_passwd>
    <http_user_name></http_user_name>
    <http_user_passwd></http_user_passwd>
    <no_proxy></no_proxy>
    <no_autodetect>1</no_autodetect>
</proxy_info>

With the final line ("<no_autodetect>") set to 1 (as I have done manually in this case), the log entry "automatic proxy check in progress" fails to appear - no other visible sign.

I wonder what "<no_proxy>1</no_proxy>" would do? I'll check the Wiki...

I have a 64-bit Windows client running now, which you're welcome to test - it would only take a couple of minutes to compile a 32-bit version to match it.
ID: 71059 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5080
United Kingdom
Message 71061 - Posted: 28 Jul 2016, 14:39:20 UTC - in response to Message 71059.  

I wonder what "<no_proxy>1</no_proxy>" would do? I'll check the Wiki...

which says

<no_proxy>list of hostnames for which proxy not used</no_proxy>

Might be useful in this case - although the list format isn't specified.
ID: 71061 · Report as offensive
Pavel Hanak

Send message
Joined: 17 Apr 13
Posts: 10
Czech Republic
Message 71062 - Posted: 28 Jul 2016, 14:49:27 UTC - in response to Message 71057.  

As Richard said there is now config option for no automatic detection in source code. If you want it you'll need to build the client yourself or if you ask nicely maybe Richard could compile it for you.

That won't be necessary. As I said, I manually set the proxy setting to ISP's another HTTP cache server and it seems to work so far. So I can wait for the next nightly build (or even proper release). But hopefully, the planned option will spare other users trouble I had to go through.
ID: 71062 · Report as offensive

Message boards : BOINC client : "Couldn't resolve proxy name" after every reboot

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.