Proxy Help!!!

Message boards : BOINC client : Proxy Help!!!
Message board moderation

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
Nunu

Send message
Joined: 10 Apr 07
Posts: 38
Message 16854 - Posted: 25 Apr 2008, 13:29:16 UTC

Hey guys, I'm running BOINC 5.10.45 i686-pc-linux-gnu on x86_64 x86_64 x86_64 GNU/Linux.

My cc_config.xml file is as follows:

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

My client_state.xml file under proxy info looks like:

<proxy_info>
<use_http_proxy/>
<socks_version>5</socks_version>
<socks_server_name>proxy.company.com</socks_server_name>
<socks_server_port>8080</socks_server_port>
<http_server_name>proxy.company.com</http_server_name>
<http_server_port>8080</http_server_port>
<socks5_user_name>user</socks5_user_name>
<socks5_user_passwd>password</socks5_user_passwd>
<http_user_name>user</http_user_name>
<http_user_passwd>password</http_user_passwd>
</proxy_info>

I continue to get 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 do notice:
24-Apr-2008 10:03:38 [---] [http_debug] [ID#7] Received header from server: X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0

But have not been able to resolve this problem, and I am unsure if in fact is the problem.

Any help would be much appreciated.
ID: 16854 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15477
Netherlands
Message 16855 - Posted: 25 Apr 2008, 13:46:08 UTC - in response to Message 16854.  

<force_auth>basic</force_auth>

Are you sure you need Basic, not NTLM?
ID: 16855 · Report as offensive
Nunu

Send message
Joined: 10 Apr 07
Posts: 38
Message 16857 - Posted: 25 Apr 2008, 15:03:03 UTC - in response to Message 16855.  

<force_auth>basic</force_auth>

Are you sure you need Basic, not NTLM?


I have tried basic, digest, gss-negotiate, and ntlm. You know if it's case sensitive?
ID: 16857 · Report as offensive
Nunu

Send message
Joined: 10 Apr 07
Posts: 38
Message 16858 - Posted: 25 Apr 2008, 15:09:27 UTC - in response to Message 16857.  
Last modified: 25 Apr 2008, 15:10:50 UTC

[quote]<force_auth>basic</force_auth>

Are you sure you need Basic, not NTLM?


I updated the CC_config file, and re-ran the boinc process with NTLM, and got the following response (which is the same for all force_auth flags):

25-Apr-2008 11:04:05 [---] Starting BOINC client version 5.10.45 for i686-pc-linux-gnu
25-Apr-2008 11:04:05 [---] log flags: task, file_xfer, sched_ops, cpu_sched, work_fetch_debug, file_xfer_debug
25-Apr-2008 11:04:05 [---] log flags: http_debug, proxy_debug, http_xfer_debug, network_status_debug
25-Apr-2008 11:04:05 [---] log flags: checkpoint_debug
25-Apr-2008 11:04:05 [---] Libraries: libcurl/7.18.0 OpenSSL/0.9.8g zlib/1.2.3 c-ares/1.5.1
25-Apr-2008 11:04:05 [---] Data directory: /n/struct/user/temp/BOINC
25-Apr-2008 11:04:05 [---] Processor: 8 GenuineIntel Intel(R) Xeon(R) CPU X5355 @ 2.66GHz [Family 6 Model 15 Stepping 7]
25-Apr-2008 11:04:05 [---] 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 ht tm syscall nx lm pni monitor ds_cpl tm2 est cmpxchg16b lahf_lm
25-Apr-2008 11:04:05 [---] OS: Linux: 2.6.5-7.244-smp
25-Apr-2008 11:04:05 [---] Memory: 23.54 GB physical, 45.79 GB virtual
25-Apr-2008 11:04:05 [---] Disk: 29.74 GB total, 6.23 GB free
25-Apr-2008 11:04:05 [---] Local time is UTC -4 hours
25-Apr-2008 11:04:05 [http://setiathome.berkeley.edu/] URL: http://setiathome.berkeley.edu/; Computer ID: not assigned yet; location: (none); project prefs: default
25-Apr-2008 11:04:05 [http://milkyway.cs.rpi.edu/milkyway/] URL: http://milkyway.cs.rpi.edu/milkyway/; Computer ID: not assigned yet; location: (none); project prefs: default
25-Apr-2008 11:04:05 [---] No general preferences found - using BOINC defaults
25-Apr-2008 11:04:05 [---] Preferences limit memory usage when active to 12050.99MB
25-Apr-2008 11:04:05 [---] Preferences limit memory usage when idle to 21691.78MB
25-Apr-2008 11:04:05 [---] Preferences limit disk usage to 6.13GB
25-Apr-2008 11:04:05 [---] [work_fetch_debug] Request work fetch: Prefs update
25-Apr-2008 11:04:05 [---] [work_fetch_debug] Request work fetch: Startup
25-Apr-2008 11:04:05 [---] [http_debug] HTTP_OP::init_get(): http://boinc.berkeley.edu/project_list.php
25-Apr-2008 11:04:05 [---] [work_fetch_debug] Request work fetch: timer
25-Apr-2008 11:04:05 [---] [work_fetch_debug] compute_work_requests(): start
25-Apr-2008 11:04:05 [---] [work_fetch_debug] compute_work_requests(): cpu_shortfall 241920.000000, overall urgency Need immediately
25-Apr-2008 11:04:05 [http://setiathome.berkeley.edu/] [work_fetch_debug] work fetch: project not contactable; skipping
25-Apr-2008 11:04:05 [http://milkyway.cs.rpi.edu/milkyway/] [work_fetch_debug] work fetch: project not contactable; skipping
25-Apr-2008 11:04:07 [---] [http_debug] [ID#0] info: About to connect() to proxy proxy.company.com port 8080 (#0)
25-Apr-2008 11:04:07 [---] [http_debug] [ID#0] info: Trying [IP address]...
25-Apr-2008 11:04:07 [---] [http_debug] [ID#0] info: Connected to proxy.company.com (IP address) port 8080 (#0)
25-Apr-2008 11:04:07 [---] [http_debug] [ID#0] Sent header to server: GET http://boinc.berkeley.edu/project_list.php HTTP/1.0
User-Agent: BOINC client (i686-pc-linux-gnu 5.10.45)
Host: boinc.berkeley.edu
Pragma: no-cache
Accept: */*
Accept-Encoding: deflate, gzip
Proxy-Connection: Keep-Alive
Content-Type: application/x-www-form-urlencoded

25-Apr-2008 11:04:08 [---] [http_debug] [ID#0] info: HTTP 1.0, assume close after body
25-Apr-2008 11:04:08 [---] [http_debug] [ID#0] Received header from server: HTTP/1.0 407 Proxy Authentication Required
25-Apr-2008 11:04:08 [---] [http_debug] [ID#0] Received header from server: Server: squid/2.5.STABLE14
25-Apr-2008 11:04:08 [---] [http_debug] [ID#0] Received header from server: Mime-Version: 1.0
25-Apr-2008 11:04:08 [---] [http_debug] [ID#0] Received header from server: Date: Fri, 25 Apr 2008 15:04:08 GMT
25-Apr-2008 11:04:08 [---] [http_debug] [ID#0] Received header from server: Content-Type: text/html
25-Apr-2008 11:04:08 [---] [http_debug] [ID#0] Received header from server: Content-Length: 1371
25-Apr-2008 11:04:08 [---] [http_debug] [ID#0] Received header from server: Expires: Fri, 25 Apr 2008 15:04:08 GMT
25-Apr-2008 11:04:08 [---] [http_debug] [ID#0] Received header from server: X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0
25-Apr-2008 11:04:08 [---] [http_debug] [ID#0] Received header from server: Proxy-Authenticate: Basic realm="Company Squid Proxy"
25-Apr-2008 11:04:08 [---] [http_debug] [ID#0] Received header from server: X-Cache: MISS from pmsqd6
25-Apr-2008 11:04:08 [---] [http_debug] [ID#0] Received header from server: X-Cache-Lookup: NONE from pmsqd6:8080
25-Apr-2008 11:04:08 [---] [http_debug] [ID#0] Received header from server: Proxy-Connection: close
25-Apr-2008 11:04:08 [---] [http_debug] [ID#0] Received header from server:
25-Apr-2008 11:04:08 [---] [http_xfer_debug] HTTP: wrote 1371 bytes
25-Apr-2008 11:04:08 [---] [http_debug] [ID#0] info: Closing connection #0
25-Apr-2008 11:05:05 [---] [work_fetch_debug] Request work fetch: timer
25-Apr-2008 11:05:05 [---] [work_fetch_debug] compute_work_requests(): start
25-Apr-2008 11:05:05 [---] [work_fetch_debug] compute_work_requests(): cpu_shortfall 241920.000000, overall urgency Need immediately
25-Apr-2008 11:05:05 [http://setiathome.berkeley.edu/] [work_fetch_debug] work fetch: project not contactable; skipping
25-Apr-2008 11:05:05 [http://milkyway.cs.rpi.edu/milkyway/] [work_fetch_debug] work fetch: project not contactable; skipping
25-Apr-2008 11:06:06 [---] [work_fetch_debug] Request work fetch: timer
25-Apr-2008 11:06:06 [---] [work_fetch_debug] compute_work_requests(): start
25-Apr-2008 11:06:06 [---] [work_fetch_debug] compute_work_requests(): cpu_shortfall 241920.000000, overall urgency Need immediately
25-Apr-2008 11:06:06 [http://setiathome.berkeley.edu/] [work_fetch_debug] work fetch: project not contactable; skipping
25-Apr-2008 11:06:06 [http://milkyway.cs.rpi.edu/milkyway/] [work_fetch_debug] work fetch: project not contactable; skipping


And it just repeats the skipping part, as if it continues to try and download new work.
ID: 16858 · Report as offensive
Nunu

Send message
Joined: 10 Apr 07
Posts: 38
Message 16864 - Posted: 25 Apr 2008, 18:11:40 UTC - in response to Message 16862.  

the <force_auth> was created for a reason so did you try without the flag and just the standard proxy settings.... honestly, I thought you only needed the flag if it was not working out of the box.


I had. I originally didn't have any cc_config file, and slowly built it to debug my problem.
ID: 16864 · Report as offensive
Nunu

Send message
Joined: 10 Apr 07
Posts: 38
Message 16951 - Posted: 29 Apr 2008, 16:46:43 UTC

Still looking for help here. Anyone?
ID: 16951 · Report as offensive
Chris Sutton

Send message
Joined: 29 Aug 05
Posts: 117
Message 16960 - Posted: 30 Apr 2008, 6:33:26 UTC - in response to Message 16951.  

Still looking for help here. Anyone?

This may be a stretch, but how certain are you that the failure is due to failing the proxy auth?
Could it be failing due to some other squid authorisation parameter failing?

Does a web browser on the same box get through?
ID: 16960 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 20 Dec 07
Posts: 1069
Germany
Message 16961 - Posted: 30 Apr 2008, 7:39:43 UTC - in response to Message 16854.  

...
I continue to get 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
...

I'm not sure if the messages about http 1.0 mean that it is used or that it is required. Perhaps you should try
<http_1_0>1</http_1_0>
in your cc_config.xml file (<options> section).

Gruß,
Gundolf
Computer sind nicht alles im Leben. (Kleiner Scherz)
ID: 16961 · Report as offensive
Chris Sutton

Send message
Joined: 29 Aug 05
Posts: 117
Message 16965 - Posted: 30 Apr 2008, 12:14:27 UTC
Last modified: 30 Apr 2008, 12:28:52 UTC

Seems something in the network code broke in BOINC 5.10.45 and it doesn't work with squid anymore.

I just installed it on a fresh box and can't do project communication, although 'access to reference site succeeed'.


30-Apr-2008 13:33:42 [malariacontrol.net] Sending scheduler request: Project initialization. Requesting 1 seconds of work, reporting 0 completed tasks
30-Apr-2008 13:36:45 [---] Project communication failed: attempting access to reference site
30-Apr-2008 13:36:47 [malariacontrol.net] Scheduler request failed: Server returned nothing (no headers, no data)
30-Apr-2008 13:36:48 [---] Access to reference site succeeded - project servers may be temporarily down.

Needless to say, the project servers are up and running fine, checked on another box.

Box is set up as per others.
Removing 5.10.45 and replacing it with 5.10.28 with no further changes works perfectly.

Perhaps the same solution will work for you?

[edit]
Seems communications did get through with 5.10.45, just didn't get back, as workunits were assigned as follows:
25514303 8065864 30 Apr 2008 11:41:55 UTC 30 Apr 2008 12:02:34 UTC Over Client detached New 0.00 --- ---
25514084 8065794 30 Apr 2008 11:37:49 UTC 30 Apr 2008 11:41:55 UTC Over Client detached New 0.00 --- ---
25514033 8065777 30 Apr 2008 11:33:44 UTC 30 Apr 2008 11:37:49 UTC Over Client detached New 0.00 --- ---

The interesting thing is the outcome: Client detached

It seemed to work well enough to verify my email address and attach the box to the project. Just failed with the work request. Puzzling.
[/edit]
ID: 16965 · Report as offensive
Nunu

Send message
Joined: 10 Apr 07
Posts: 38
Message 16967 - Posted: 30 Apr 2008, 14:14:55 UTC - in response to Message 16960.  

Still looking for help here. Anyone?

This may be a stretch, but how certain are you that the failure is due to failing the proxy auth?
Could it be failing due to some other squid authorisation parameter failing?

Does a web browser on the same box get through?



Yep, Web browser on the same box does get through.
ID: 16967 · Report as offensive
Nunu

Send message
Joined: 10 Apr 07
Posts: 38
Message 16968 - Posted: 30 Apr 2008, 14:19:43 UTC - in response to Message 16965.  


Removing 5.10.45 and replacing it with 5.10.28 with no further changes works perfectly.

Perhaps the same solution will work for you?


Where did you download 5.10.28 ?

http://boinc.berkeley.edu/download_all.php

has 5.10.45, 6.1.17, and 5.8.16 (which 5.8.16 dowsn't work well with proxies either).
ID: 16968 · Report as offensive
Chris Sutton

Send message
Joined: 29 Aug 05
Posts: 117
Message 16970 - Posted: 30 Apr 2008, 16:29:02 UTC - in response to Message 16968.  
Last modified: 30 Apr 2008, 16:37:58 UTC

Where did you download 5.10.28 ?

I had it from a while back, but you can still download it from http://boinc.berkeley.edu/dl/ which has pretty much every version ever compiled.

[edit]
Don't want to raise your hopes too much... while it works for me and I'm using squid, I'm not doing proxy auth. I use IP addresses for basic access control.
[/edit]
ID: 16970 · Report as offensive
Nunu

Send message
Joined: 10 Apr 07
Posts: 38
Message 16971 - Posted: 30 Apr 2008, 17:53:22 UTC - in response to Message 16970.  

Where did you download 5.10.28 ?

I had it from a while back, but you can still download it from http://boinc.berkeley.edu/dl/ which has pretty much every version ever compiled.

[edit]
Don't want to raise your hopes too much... while it works for me and I'm using squid, I'm not doing proxy auth. I use IP addresses for basic access control.
[/edit]



I downloaded it, but it doesn't install. Seems like BOINC needs some more work around the proxy server authentication.
ID: 16971 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15477
Netherlands
Message 16973 - Posted: 30 Apr 2008, 18:10:53 UTC - in response to Message 16971.  
Last modified: 30 Apr 2008, 18:12:31 UTC

I downloaded it, but it doesn't install.

Did you uninstall the previous version of BOINC through add/remove programs?
What error message do you get on the install?
ID: 16973 · Report as offensive
Chris Sutton

Send message
Joined: 29 Aug 05
Posts: 117
Message 16982 - Posted: 30 Apr 2008, 19:17:51 UTC - in response to Message 16973.  

I downloaded it, but it doesn't install.

Did you uninstall the previous version of BOINC through add/remove programs?
What error message do you get on the install?

I could understand if you said it didn't work, but it should at least install ok.
Did you chmod u+x boinc_5.10.28_i686-pc-linux-gnu.sh ?
ID: 16982 · Report as offensive
Nicolas

Send message
Joined: 19 Jan 07
Posts: 1179
Argentina
Message 16986 - Posted: 30 Apr 2008, 19:35:45 UTC - in response to Message 16973.  

Did you uninstall the previous version of BOINC through add/remove programs?

I thought we were talking Linux here? :)
ID: 16986 · Report as offensive
Chris Sutton

Send message
Joined: 29 Aug 05
Posts: 117
Message 16988 - Posted: 30 Apr 2008, 20:06:27 UTC - in response to Message 16986.  
Last modified: 30 Apr 2008, 20:07:55 UTC

Did you uninstall the previous version of BOINC through add/remove programs?

I thought we were talking Linux here? :)

ok. add/remove programs for linux:
alias addprograms='sudo aptitude install'
alias removeprograms='sudo aptitude remove'

usage: addprograms/removeprograms [packagename]
:)
ID: 16988 · Report as offensive
Nunu

Send message
Joined: 10 Apr 07
Posts: 38
Message 16989 - Posted: 30 Apr 2008, 20:07:15 UTC - in response to Message 16986.  

Did you uninstall the previous version of BOINC through add/remove programs?

I thought we were talking Linux here? :)


I did completly deleted everything, and tried to reinstall the older version.

I did did do chmod +x, and we are talking Linux here. There was a broken pipe to TAR.
ID: 16989 · Report as offensive
Nicolas

Send message
Joined: 19 Jan 07
Posts: 1179
Argentina
Message 16990 - Posted: 30 Apr 2008, 20:08:52 UTC - in response to Message 16989.  

There was a broken pipe to TAR.

That looks like an incomplete download.
ID: 16990 · Report as offensive
Chris Sutton

Send message
Joined: 29 Aug 05
Posts: 117
Message 16992 - Posted: 30 Apr 2008, 20:12:38 UTC - in response to Message 16989.  
Last modified: 30 Apr 2008, 20:17:57 UTC

I did did do chmod +x, and we are talking Linux here. There was a broken pipe to TAR.

Odd. I downloaded it about an hour ago and it unpacked fine.
I suggest to check your download.
chriss@Anopheles01:~$ md5sum boinc_5.10.28_i686-pc-linux-gnu.sh
1ee85a54e02e135f809f7e0a4f5fbe37 boinc_5.10.28_i686-pc-linux-gnu.sh

[edit]
There's no manager in that version, so if you need one, you may wish to install the 5.10.45 and then just copy the 5.10.28 binaries into your install location after making backup copies.
[/edit]
ID: 16992 · Report as offensive
1 · 2 · Next

Message boards : BOINC client : Proxy Help!!!

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.