Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 105
Posts: 105   Pages: 11   [ Previous Page | 2 3 4 5 6 7 8 9 10 11 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 9955 times and has 104 replies Next Thread
nico4485
Cruncher
Joined: Jun 22, 2007
Post Count: 6
Status: Offline
Reply to this Post  Reply with Quote 
Re: Problem setting proxy

I have problems with WCG and corporate proxy
I post some ideas in this thread, compile boinc with a modification...
http://boinc.berkeley.edu/trac/ticket/343

and test it succesfully..

smile smile
----------------------------------------

[Feb 6, 2008 4:01:12 PM]   Link   Report threatening or abusive post: please login first  Go to top 
knreed
Former World Community Grid Tech
Joined: Nov 8, 2004
Post Count: 4504
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Problem setting proxy

Eviltoad,

Did you need to use the <force_ntlm> option or did it work without the option?

thanks,
Kevin
[Feb 6, 2008 4:40:10 PM]   Link   Report threatening or abusive post: please login first  Go to top 
knreed
Former World Community Grid Tech
Joined: Nov 8, 2004
Post Count: 4504
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Problem setting proxy

I have problems with WCG and corporate proxy
I post some ideas in this thread, compile boinc with a modification...
http://boinc.berkeley.edu/trac/ticket/343

and test it succesfully..

smile smile



They can't do the change you recommended because that would disable the use of any proxy authentication methods other then BASIC.

A couple of questions:

1) Using the 'standard' 5.10.40 client, can you add the cc_config.xml logging options as follows:

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


And post your messages log on an attempt to communicate with us through your proxy.

2) Using the following options:

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

Retry communications with us and let us know what happens.

3) If that doesn't work, can you try another project and let us know if it works with http (we are the only project using https).

thanks,
Kevin
[Feb 6, 2008 4:45:06 PM]   Link   Report threatening or abusive post: please login first  Go to top 
nico4485
Cruncher
Joined: Jun 22, 2007
Post Count: 6
Status: Offline
Reply to this Post  Reply with Quote 
Re: Problem setting proxy

All informations are store in :
http://boinc.berkeley.edu/trac/ticket/343

There is a new flag to force ntlm, dev can create a flag to force basic auth
and add

if (config.force_basic) {
curlErr = curl_easy_setopt(curlEasy, CURLOPT_PROXYAUTH, CURLAUTH_BASIC);
if (
strlen(pi.http_user_passwd)>0 || strlen(pi.http_user_name)>0
){
sprintf(szCurlProxyUserPwd, "%s:%s", pi.http_user_name, pi.http_user_passwd);
curlErr = curl_easy_setopt(curlEasy, CURLOPT_PROXYUSERPWD, szCurlProxyUserPwd);
}


It's just an idea
----------------------------------------

[Feb 6, 2008 5:31:01 PM]   Link   Report threatening or abusive post: please login first  Go to top 
knreed
Former World Community Grid Tech
Joined: Nov 8, 2004
Post Count: 4504
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Problem setting proxy

nico4485,

Actually what we should have done was instead of the <force_ntlm> we should have done <force_auth> and allowed the user to enter a string that was mapped to the one of the libCurl constants. That would have been more flexible - we still might.

What I need though is information about the other conditions that I asked for above with the 5.10.40 build (libCurl did fix some other underlying issues that may help this). In particular, forcing your BOINC client to use http 1.0 instead of 1.1 and then also testing against a http project instead of a https project.

I do see your notes in the BOINC bug report db - but those were on older versions of libCurl.

thanks,
Kevin
[Feb 6, 2008 9:05:27 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Problem setting proxy

Hooray, NTLM is working with BOINC 5.10.40 here across all Windows platforms (2000, XP, Vista, and Server 2003). I did have to manually set the flag in cc_config.xml on all machines, it won't work for me on any of those platforms until I do that.
[Feb 7, 2008 1:18:04 AM]   Link   Report threatening or abusive post: please login first  Go to top 
eviltoad
Senior Cruncher
Australia
Joined: Nov 5, 2005
Post Count: 190
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Problem setting proxy

G'day Kevin


Did you need to use the <force_ntlm> option or did it work without the option?


Yes, I did have to use <force_ntlm>.
----------------------------------------

[Feb 7, 2008 4:19:13 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Problem setting proxy

Hi Guys,
I am also having problems with using the Boinc client at work. The UD client works ok but the new client downloads most of the files after install but won't get past the rest I think it's also to do with a proxy setting.

I've copied the CC_CONFIG file above as suggested I get the following errors in message tab.


7/02/2008 2:40:56 PM||Starting BOINC client version 5.10.40 for windows_intelx86
7/02/2008 2:40:56 PM||log flags: task, file_xfer, sched_ops, file_xfer_debug, http_debug, proxy_debug
7/02/2008 2:40:56 PM||log flags: http_xfer_debug
7/02/2008 2:40:56 PM||Libraries: libcurl/7.18.0 OpenSSL/0.9.8e zlib/1.2.3
7/02/2008 2:40:56 PM||Data directory: C:\Program Files\BOINC
7/02/2008 2:40:56 PM||Processor: 2 GenuineIntel Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz [x86 Family 6 Model 15 Stepping 11]
7/02/2008 2:40:56 PM||Processor features: fpu tsc pae nx sse sse2 mmx
7/02/2008 2:40:56 PM||OS: Microsoft Windows XP: Professional Edition, Service Pack 2, (05.01.2600.00)
7/02/2008 2:40:56 PM||Memory: 1.97 GB physical, 3.81 GB virtual
7/02/2008 2:40:56 PM||Disk: 15.01 GB total, 9.42 GB free
7/02/2008 2:40:56 PM||Local time is UTC +10 hours
7/02/2008 2:40:56 PM|World Community Grid|URL: http://www.worldcommunitygrid.org/; Computer ID: 485249; location: (none); project prefs: default
7/02/2008 2:40:56 PM||General prefs: from World Community Grid (last modified 25-Oct-2007 17:55:41)
7/02/2008 2:40:56 PM||Host location: none
7/02/2008 2:40:56 PM||General prefs: using your defaults
7/02/2008 2:40:56 PM||Preferences limit memory usage when active to 2013.54MB
7/02/2008 2:40:56 PM||Preferences limit memory usage when idle to 2013.54MB
7/02/2008 2:40:56 PM||Preferences limit disk usage to 0.93GB
7/02/2008 2:41:15 PM||[http_debug] HTTP_OP::init_get(): https://secure.worldcommunitygrid.org/boinc/d.../lm430-439_lm438.fasta.gz
7/02/2008 2:41:15 PM|World Community Grid|Started download of lm430-439_lm438.fasta.gz
7/02/2008 2:41:15 PM||[file_xfer_debug] URL: https://secure.worldcommunitygrid.org/boinc/d.../lm430-439_lm438.fasta.gz
7/02/2008 2:41:15 PM||[http_debug] [ID#0] info: About to connect() to proxy proxy1.health.qld.gov.au port 80 (#0)
7/02/2008 2:41:15 PM||[http_debug] [ID#0] info: Trying 10.30.128.237...
7/02/2008 2:41:15 PM||[http_debug] [ID#0] info: Connected to proxy1.health.qld.gov.au (10.30.128.237) port 80 (#0)
7/02/2008 2:41:15 PM||[http_debug] [ID#0] info: Establish HTTP proxy tunnel to secure.worldcommunitygrid.org:443
7/02/2008 2:41:15 PM||[http_debug] [ID#0] info: Proxy auth using NTLM with user 'victorre'
7/02/2008 2:41:15 PM||[http_debug] [ID#0] Sent header to server: CONNECT secure.worldcommunitygrid.org:443 HTTP/1.0
Host: secure.worldcommunitygrid.org:443
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
User-Agent: BOINC client (windows_intelx86 5.10.40)
Proxy-Connection: Keep-Alive
Content-Type: application/x-www-form-urlencoded


7/02/2008 2:41:15 PM||[http_debug] [ID#0] Received header from server: HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )

7/02/2008 2:41:15 PM||[http_debug] [ID#0] Received header from server: Via:1.1 GWD-RBH-PXY02

7/02/2008 2:41:15 PM||[http_debug] [ID#0] Received header from server: Proxy-Authenticate: Basic realm="gwd-rbh-pxy02.gateway.health.qld.gov.au"

7/02/2008 2:41:15 PM||[http_debug] [ID#0] Received header from server: Pragma: no-cache

7/02/2008 2:41:15 PM||[http_debug] [ID#0] Received header from server: Cache-Control: no-cache

7/02/2008 2:41:15 PM||[http_debug] [ID#0] Received header from server: Content-Type: text/html

7/02/2008 2:41:15 PM||[http_debug] [ID#0] Received header from server: Content-Length: 2389

7/02/2008 2:41:15 PM||[http_debug] [ID#0] Received header from server:

7/02/2008 2:41:15 PM||[http_debug] [ID#0] info: Ignore 2389 bytes of response-body
7/02/2008 2:41:15 PM||[http_debug] [ID#0] info: Received HTTP code 407 from proxy after CONNECT
7/02/2008 2:41:15 PM||[http_debug] HTTP error: Failure when receiving data from the peer
7/02/2008 2:41:15 PM||[http_debug] [ID#0] info: Expire cleared
7/02/2008 2:41:15 PM||[http_debug] [ID#0] info: Connection #0 to host proxy1.health.qld.gov.au left intact
7/02/2008 2:41:16 PM||[file_xfer_debug] FILE_XFER_SET::poll(): http op done; retval -184
7/02/2008 2:41:16 PM||[file_xfer_debug] file transfer status -184
7/02/2008 2:41:16 PM|World Community Grid|Temporarily failed download of lm430-439_lm438.fasta.gz: http error
7/02/2008 2:41:16 PM|World Community Grid|Backing off 17 min 57 sec on download of lm430-439_lm438.fasta.gz

I have downlaoded the boinc_5.10.40_windows_intelx86 client as well.

Any suggestions ?

Thanks
[Feb 7, 2008 4:48:39 AM]   Link   Report threatening or abusive post: please login first  Go to top 
nico4485
Cruncher
Joined: Jun 22, 2007
Post Count: 6
Status: Offline
Reply to this Post  Reply with Quote 
Re: Problem setting proxy


7/02/2008 2:41:15 PM||[http_debug] [ID#0] Received header from server: Proxy-Authenticate: Basic realm="gwd-rbh-pxy02.gateway.health.qld.gov.au"

Thanks


I am not sure but your proxy authenticate type is basic

force_ntlm flag don't resolve your problem.

It 's the same problem for me.
Could you test without force_ntlm flag and post log file. I would like to compare results to analyze....

I have two proxy :
A corporate (authenticate basic) and a freeproxy without authentication

Tomorrow, i post results for each proxy type with modification of boinc code :


// curlErr = curl_easy_setopt(curlEasy, CURLOPT_PROXYAUTH, CURLAUTH_ANY); with curlErr = curl_easy_setopt(curlEasy, CURLOPT_PROXYAUTH, CURLAUTH_BASIC);
curlErr = curl_easy_setopt(curlEasy, CURLOPT_PROXYAUTH, CURLAUTH_BASIC);
if (
strlen(pi.http_user_passwd)>0 || strlen(pi.http_user_name)>0
){
sprintf(szCurlProxyUserPwd, "%s:%s", pi.http_user_name, pi.http_user_passwd);
curlErr = curl_easy_setopt(curlEasy, CURLOPT_PROXYUSERPWD, szCurlProxyUserPwd);
}

----------------------------------------

[Feb 7, 2008 9:08:36 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Problem setting proxy

For me Boinc 5.10.40 does now get through authenticated NTLM proxy to various projects.
I did not need to set the <force_ntlm> flag. (Does it mean my proxy uses BASIC auth type?)
[Feb 7, 2008 11:38:08 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 105   Pages: 11   [ Previous Page | 2 3 4 5 6 7 8 9 10 11 | Next Page ]
[ Jump to Last Post ]
Post new Thread