Client dies uploading completed results

Questions and Answers : Windows : Client dies uploading completed results
Message board moderation

To post messages, you must log in.

AuthorMessage
Jeremy Hutchinson

Send message
Joined: 8 Dec 01
Posts: 3
Credit: 1,332,731
RAC: 0
United Kingdom
Message 745 - Posted: 23 Jun 2004, 18:59:32 UTC
Last modified: 23 Jun 2004, 20:23:27 UTC

Using Setiathome 3.08 and Boinc 3.19. Having just completed the first unit of work Boinc dies with an unhandled exception error being written to stderr.txt

Reason: Access Violation (0xc0000005 at address 0x00401D68 write attempt to address 0x73614220

This is being attempted via a http proxy which requires authentication, although it downloaded the work via the proxy fine.

Any ideas?

NT4 SP6a
ID: 745 · Report as offensive
Profile Greg

Send message
Joined: 21 Apr 99
Posts: 3
Credit: 4,208,912
RAC: 0
United Kingdom
Message 1535 - Posted: 25 Jun 2004, 0:03:28 UTC
Last modified: 25 Jun 2004, 0:06:12 UTC

Just for clarification, I have the same problem on two of my machines that are using Squid as an authenticated proxy. They crash every time they attempt to upload a result.
Just to confirm the locality of the crash, if I take out:

use_http_proxy
use_http_auth

From client_state.xml, it works fine.

Cheers
ID: 1535 · Report as offensive
Peter Wright

Send message
Joined: 17 Jul 00
Posts: 4
Credit: 37,454
RAC: 0
Canada
Message 1918 - Posted: 25 Jun 2004, 14:28:47 UTC - in response to Message 1535.  

> Just for clarification, I have the same problem on two of my machines that are
> using Squid as an authenticated proxy. They crash every time they attempt to
> upload a result.
> Just to confirm the locality of the crash, if I take out:
>
> use_http_proxy
> use_http_auth
>
> From client_state.xml, it works fine.
>
> Cheers
>

But won't this stop the software from working with the proxy server? If the network you're on requires the proxy server this makes it so that we can't use the computers behind the proxy.
ID: 1918 · Report as offensive
Profile Greg

Send message
Joined: 21 Apr 99
Posts: 3
Credit: 4,208,912
RAC: 0
United Kingdom
Message 1993 - Posted: 25 Jun 2004, 17:32:45 UTC - in response to Message 1918.  

>
> But won't this stop the software from working with the proxy server? If the
> network you're on requires the proxy server this makes it so that we can't use
> the computers behind the proxy.
>

Yep, I was only mentioning it as confirmation that I had the same problem and that it was limited to the HTTP proxy code.
I don't have to use the proxy where I am, I just turned it off to prove the error was most likely somewhere in that bit of code ;)

G.
ID: 1993 · Report as offensive
Hacker Harry

Send message
Joined: 13 Nov 00
Posts: 3
Credit: 254,991
RAC: 0
Germany
Message 2772 - Posted: 30 Jun 2004, 12:47:44 UTC - in response to Message 1535.  

> Just for clarification, I have the same problem on two of my machines that are
> using Squid as an authenticated proxy. They crash every time they attempt to
> upload a result.
> Just to confirm the locality of the crash, if I take out:
>
> use_http_proxy
> use_http_auth
>
> From client_state.xml, it works fine.
>
> Cheers
>

hi!

having the very same problem :(
using BOINC 3.19 and SAH 3.08

the proxy authentification itself seems to work because if
i enter false credentials i get a
[...]HTTP_OP_SET::poll(): Proxy Authentication Failed
however, if the credentials are correct i get the error mentioned
above (only the write-to address differs).

help/debug is appreciated!

Best Bytes®,
Harry
ID: 2772 · Report as offensive
Jeremy Hutchinson

Send message
Joined: 8 Dec 01
Posts: 3
Credit: 1,332,731
RAC: 0
United Kingdom
Message 2821 - Posted: 30 Jun 2004, 14:44:09 UTC

Mike's solution (here) to use Python and APS appears to work (can't quite tell as the server's not responding since I tried it out yesterday), although we're not using MS ISA. I tried FreeProxy but that also caused the same error.

Mike's instructions are easy to follow and implement taking only a matter of moments.
ID: 2821 · Report as offensive
Profile FFY

Send message
Joined: 16 Sep 99
Posts: 1
Credit: 42,714
RAC: 0
Netherlands
Message 3395 - Posted: 2 Jul 2004, 8:21:04 UTC - in response to Message 1535.  

At a linux bases proxy/firewall (HTTP and socks 5) I cannot upload, the BOINC client just quit. Any tips?


ID: 3395 · Report as offensive
Peter Wright

Send message
Joined: 17 Jul 00
Posts: 4
Credit: 37,454
RAC: 0
Canada
Message 3713 - Posted: 3 Jul 2004, 16:09:39 UTC - in response to Message 2821.  

> Mike's solution (<a> href="http://setiboinc.ssl.berkeley.edu/sah/forum_thread.php?id=25">here[/url])
> to use Python and APS appears to work (can't quite tell as the server's not
> responding since I tried it out yesterday), although we're not using MS ISA.
> I tried FreeProxy but that also caused the same error.
>
> Mike's instructions are easy to follow and implement taking only a matter of
> moments.
>
>

It looks like it'll work for an NTLM or MS based proxy. Doesn't help for an authenticating proxy that does not use the MS protocols. At least I can't get it to work for the proxy I have to work with.

But maybe I can try modifying the python scripts to work with another type of proxy, problem is I don't know python that well.
ID: 3713 · Report as offensive
Jeremy Hutchinson

Send message
Joined: 8 Dec 01
Posts: 3
Credit: 1,332,731
RAC: 0
United Kingdom
Message 4487 - Posted: 5 Jul 2004, 16:40:31 UTC

I should add that with Mike's APS/Python solution, I have only got it working with APS/Python running on the same machine as each BOINC installation, logged on under Windows NT with an account that has authorised access to the proxy and with "Use Authentication" unchecked in BOINC.
ID: 4487 · Report as offensive
Peter Wright

Send message
Joined: 17 Jul 00
Posts: 4
Credit: 37,454
RAC: 0
Canada
Message 4728 - Posted: 6 Jul 2004, 2:48:03 UTC - in response to Message 4487.  

> I should add that with Mike's APS/Python solution, I have only got it working
> with APS/Python running on the same machine as each BOINC installation, logged
> on under Windows NT with an account that has authorised access to the proxy
> and with "Use Authentication" unchecked in BOINC.
>
>

if you look in the server.cfg file for:

# Set to 1 if you want to grant this authorization service to clients from other computers.
# NOTE: all the users from other hosts that will be using you copy of APS for authentication
# will be using your credentials in NTLM auth at the remote host.
ALLOW_EXTERNAL_CLIENTS:0

# If you want to allow some other but not all computers to use your proxy for authorization,
# just set ALLOW_EXTERNAL_CLIENTS:0 and put friendly IP addresses here.
# Use space as a delimiter.
# NOTE that special addesses don't work here (192.168.3.0 for example).
FRIENDLY_IPS:


It should allow you to put in the IPs for other clients. It didn't work for my setup because the network I use doesn't use an NT domain authenticated proxy. Some other sort of proxy (not socks as far as I can tell)
ID: 4728 · Report as offensive
Kevin

Send message
Joined: 27 May 99
Posts: 1
Credit: 3,638,950
RAC: 0
New Zealand
Message 7251 - Posted: 13 Jul 2004, 3:12:17 UTC - in response to Message 2772.  

Having the very same problem :(
Using BOINC 3.19 and SAH 3.08 and Squid

I will add that the proxy authentication code seems to be at fault as it works for me as well if I remove the name and password from the http_user_name and http_user_passwd lines from client_state.xml and set Squid to not require a password for the Seti hosts.

Cheers
Kevin
ID: 7251 · Report as offensive
Eddie

Send message
Joined: 20 Apr 03
Posts: 6
Credit: 34,144
RAC: 0
Switzerland
Message 8624 - Posted: 16 Jul 2004, 8:34:34 UTC

I am having the same problem with BOINC 3.20 and SAH 3.08

My computer is behind a firewall and I have to use it to get out into the internet.

Cheers
Edmund
ID: 8624 · Report as offensive
Profile efa
Avatar

Send message
Joined: 26 Mar 00
Posts: 233
Credit: 494,221
RAC: 0
Italy
Message 13024 - Posted: 28 Jul 2004, 8:47:52 UTC

Hi,
I use SAH3.08 on Boinc3.20 on WinNT4sp6a on a PIII 800MHz.
I'm behind a proxy authenticated firewall.
The error is very similar but the eception is at address 0x00401D98 writing to the same protected address 0x73614220. Maybe only the different link object relocate in 3.19->3.20
Simply the BOINgui_client crash after starting to upload the first unit done, leaving seti3.08 cruncher working on another unit.
In this situation if I start again BOINCgui it start another cruncher on the same unit, sharing 50% CPU ... other bug.

If I remove:
use_http_auth
from
client_state.xml
all work fine but no connection is possible.

ID: 13024 · Report as offensive
Profile efa
Avatar

Send message
Joined: 26 Mar 00
Posts: 233
Credit: 494,221
RAC: 0
Italy
Message 14003 - Posted: 5 Aug 2004, 16:14:00 UTC - in response to Message 2821.  

> Mike's solution (<a> href="http://setiboinc.ssl.berkeley.edu/sah/forum_thread.php?id=25">here[/url])
> to use Python and APS appears to work (can't quite tell as the server's not
> responding since I tried it out yesterday), although we're not using MS ISA.
> I tried FreeProxy but that also caused the same error.
>
> Mike's instructions are easy to follow and implement taking only a matter of
> moments.
I cannot open the url of Mike's solution (whats wrong in message id=25 ?).
So I installed Proxomitron proxy for Win32, listen on port 8080, configure it to modify outgoing http headers, adding a MIME coded user:password, and so to authenticate to my proxy.
Then I configure SetiBoinc to use a localhost HTTP proxy with no authentication on port 8080.
It works great.

ID: 14003 · Report as offensive
valdenebro

Send message
Joined: 23 Nov 03
Posts: 3
Credit: 2,259,444
RAC: 4
Spain
Message 14020 - Posted: 5 Aug 2004, 17:20:26 UTC - in response to Message 14003.  

Hi efa,

>, configure it
> to modify outgoing http headers, adding a MIME coded user:password, and so to
> authenticate to my proxy.

Could you detail the MIME code you add ?

Thanks,

Miguel

ID: 14020 · Report as offensive
Profile efa
Avatar

Send message
Joined: 26 Mar 00
Posts: 233
Credit: 494,221
RAC: 0
Italy
Message 14247 - Posted: 6 Aug 2004, 8:29:49 UTC - in response to Message 14020.  

> Could you detail the MIME code you add ?
Proxomitron Main Windows, Headers button,
Select row "Proxy-Authorization: Send password to proxy server",
activate In/Out Column, Edit button, fill this field:
HTTP Header: "Proxy-Authorization: Send password to proxy server" without "",
Replacement text: "basic user:password" (use your proxy account) without "".

Then select the text part "user:password", right click on it,
in context menu select MIME encode/decode, Encode string.
The user:pass become a string like: "cbhwegacwefwef=="
Press OK, OK
Enjoy
:-))
ID: 14247 · Report as offensive
valdenebro

Send message
Joined: 23 Nov 03
Posts: 3
Credit: 2,259,444
RAC: 4
Spain
Message 14255 - Posted: 6 Aug 2004, 9:55:13 UTC - in response to Message 14247.  

> Press OK, OK
> Enjoy

Thanks efa. It is working here too ! :^)

Miguel
ID: 14255 · Report as offensive
Eidos UK
Volunteer tester

Send message
Joined: 5 Sep 99
Posts: 17
Credit: 10,119,165
RAC: 0
United Kingdom
Message 16366 - Posted: 22 Aug 2004, 15:25:40 UTC

Unfortunately i am not able to change any settings as i am on a corporate network which i dont have any access to :(

I guess will have to wait for them to provide a version that works with more firewalls/proxies etc


ID: 16366 · Report as offensive
Profile efa
Avatar

Send message
Joined: 26 Mar 00
Posts: 233
Credit: 494,221
RAC: 0
Italy
Message 16777 - Posted: 23 Aug 2004, 23:28:23 UTC - in response to Message 16366.  
Last modified: 24 Aug 2004, 23:02:01 UTC

> Unfortunately i am not able to change any settings as i am on a corporate
> network which i dont have any access to :(
The settings are client side only. You dont need to administer the proxy server.
You only need to install Proxomitron on your workstation and configure it.

> I guess will have to wait for them to provide a version that works with more
> firewalls/proxies etc
Proxomitron supply only to the bad part of SetiBoinc: proxy authentication.
In the future you can remove proxomitron.

All you need is a proxy account to come out from your corporate network.
If you dont have this, you cannot use Boinc also if it in the future have correct authentication to proxy.

bye

ID: 16777 · Report as offensive

Questions and Answers : Windows : Client dies uploading completed results


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.