Questions and Answers : Windows : boinc 7.22.2 won't 'Add Project->CPDN' under Wine (or any project)
Message board moderation
Author | Message |
---|---|
Send message Joined: 29 Oct 17 Posts: 1052 Credit: 16,797,232 RAC: 13,421 |
Having problems getting boinc 7.22.2 (the new version) working under Wine. My first foray into Wine and first use of the new client. I believe I'm looking at a problem with the client and not Wine. The error I see in the messages log is: 12-Jul-2023 22:14:21 [---] [network_status] status: need connection 12-Jul-2023 22:14:25 [---] Fetching configuration file from https://climateprediction.net/get_project_config.php 12-Jul-2023 22:14:25 [---] [http] HTTP_OP::init_get(): https://climateprediction.net/get_project_config.php 12-Jul-2023 22:14:25 [---] [proxy] HTTP_OP::no_proxy_for_url(): https://climateprediction.net/get_project_config.php 12-Jul-2023 22:14:25 [---] [proxy] returning false 12-Jul-2023 22:14:25 [---] [http] [ID#3] Info: Hostname in DNS cache was stale, zapped 12-Jul-2023 22:14:26 [---] [http] [ID#3] Info: Trying 129.67.241.50:443... 12-Jul-2023 22:14:26 [---] [http] [ID#3] Info: Connected to climateprediction.net (129.67.241.50) port 443 (#4) 12-Jul-2023 22:14:26 [---] [http] [ID#3] Info: schannel: disabled automatic use of client certificate 12-Jul-2023 22:14:26 [---] [http] [ID#3] Info: schannel: AcquireCredentialsHandle failed: SEC_E_INTERNAL_ERROR (0x80090304) 12-Jul-2023 22:14:26 [---] [http] [ID#3] Info: Closing connection 4 12-Jul-2023 22:14:26 [---] [http] HTTP error: SSL connect error 12-Jul-2023 22:14:27 [---] [proxy] automatic proxy check in progress 12-Jul-2023 22:14:31 [---] [network_status] status: need connection If I try to add another project (have tried Asteroids & DENIS), I get a similar message. Looks to me as if there's a SSL issue but quite what it means and how to fix it I don't know. Any ideas anyone? Wine is 'wine-6.0.3 (Ubuntu 6.0.3~repack-1)' and I know networking from other Windows apps (iexplorer & firefox) are working fine to sites like news.bbc.co.uk. A small caveat. The linux host has boinc linux client running with port 31416. I start the client under wine to use 31418. I doubt this is an issue. |
Send message Joined: 1 Jan 07 Posts: 1061 Credit: 36,794,510 RAC: 4,268 |
Sounds plausible. schannel is a very recent addition to the client, replacing the use of a private certificate bundle. But my eye is also drawn to no_proxy_for_url(). Would you happen to know what version of Windows your Wine is emulating? An old one might possibly introduce a proxy without schannel. And I'll Google SEC_E_INTERNAL_ERROR in the morning ... |
Send message Joined: 29 Oct 17 Posts: 1052 Credit: 16,797,232 RAC: 13,421 |
Sounds plausible. schannel is a very recent addition to the client, replacing the use of a private certificate bundle. That explains why ca-bundle now appears in the Program Files rather than Data. Using boinccmd instead of boincmgr just gives me 'Authorization error: -155' which I can't find any info on. I have a feeling I've seen this before but can't remember what it was. I tried using with and without --password on the boinccmd command line (using my CPDN key). I think the no_proxy_for_url() just means I'm not using a proxy. I had the proxy debug option for the log turned on. I've set Wine to emulate Win10. Trying again I've noticed it attempts to connect to Google and gets the same result: 12-Jul-2023 23:29:46 [---] Fetching configuration file from https://climateprediction.net/get_project_config.php 12-Jul-2023 23:29:46 [---] [http] HTTP_OP::init_get(): https://climateprediction.net/get_project_config.php 12-Jul-2023 23:29:46 [---] [proxy] HTTP_OP::no_proxy_for_url(): https://climateprediction.net/get_project_config.php 12-Jul-2023 23:29:46 [---] [proxy] returning false 12-Jul-2023 23:29:47 [---] [http] [ID#2] Info: Trying 129.67.241.50:443... 12-Jul-2023 23:29:47 [---] [http] [ID#2] Info: Connected to climateprediction.net (129.67.241.50) port 443 (#0) 12-Jul-2023 23:29:47 [---] [http] [ID#2] Info: schannel: disabled automatic use of client certificate 12-Jul-2023 23:29:47 [---] [http] [ID#2] Info: schannel: AcquireCredentialsHandle failed: SEC_E_INTERNAL_ERROR (0x80090304) 12-Jul-2023 23:29:47 [---] [http] [ID#2] Info: Closing connection 0 12-Jul-2023 23:29:47 [---] [http] HTTP error: SSL connect error 12-Jul-2023 23:29:48 [---] [proxy] automatic proxy check in progress 12-Jul-2023 23:29:48 [---] Project communication failed: attempting access to reference site 12-Jul-2023 23:29:48 [---] [http] HTTP_OP::init_get(): https://www.google.com/ 12-Jul-2023 23:29:48 [---] [proxy] HTTP_OP::no_proxy_for_url(): https://www.google.com/ 12-Jul-2023 23:29:48 [---] [proxy] returning false 12-Jul-2023 23:29:49 [---] [http] [ID#0] Info: Trying 142.250.179.228:443... 12-Jul-2023 23:29:49 [---] [http] [ID#0] Info: Connected to www.google.com (142.250.179.228) port 443 (#1) 12-Jul-2023 23:29:49 [---] [http] [ID#0] Info: schannel: disabled automatic use of client certificate 12-Jul-2023 23:29:49 [---] [http] [ID#0] Info: schannel: AcquireCredentialsHandle failed: SEC_E_INTERNAL_ERROR (0x80090304) 12-Jul-2023 23:29:49 [---] [http] [ID#0] Info: Closing connection 1 12-Jul-2023 23:29:49 [---] [http] HTTP error: SSL connect error 12-Jul-2023 23:29:50 [---] BOINC can't access Internet - check network connection or proxy configuration. In case there's some interference from the running linux client I've shut that down but made no difference. Tomorrow I think I'll try the previous client version. At least I'll then be able to compare with my existing Win11 installation. Thx for help |
Send message Joined: 29 Oct 17 Posts: 1052 Credit: 16,797,232 RAC: 13,421 |
SEC_E_INTERNAL_ERROR Found a couple of links that might be useful. One old bug in Wine that was fixed: https://bugs.winehq.org/show_bug.cgi?id=23317. And a more general explanation of what's going on: https://learn.microsoft.com/en-us/answers/questions/1064708/acceptsecuritycontext()-failed-with-sec-e-internal, Since this the first time I've used the new client, I may have something misconfigured. I'll try the older Windows client tomorrow since others have that working and I can compare the installation with my Windows 11 one. |
Send message Joined: 1 Jan 07 Posts: 1061 Credit: 36,794,510 RAC: 4,268 |
Using boinccmd instead of boincmgr just gives me 'Authorization error: -155' which I can't find any info on. I have a feeling I've seen this before but can't remember what it was.The -155 error is internal to your installation of BOINC. BOINC consists of an invisible client application ('boinc') which has no UI, and various control programs - 'boincmgr', 'boinccmd', and 3rd party offerings - which provide the UI and communicate with the core client over TCP/IP. The basic structure is explained in https://boinc.berkeley.edu/wiki/Controlling_BOINC_remotely: that page is titled "remotely", but exactly the same thing happens internally on a single computer as well. The authorization in question is required between boinccmd and the local core client - in this case, the Windows client inside Wine, That should have its own security file - ''gui_rpc_auth.cfg' - and the client is expecting to receive whatever password it read from there at startup. On a local home computer behind a NAT router, the security implications are minimal, so I use a simple plain text password: a default BOINC installation will contain a random 32-byte key. Remember to restart the client if you change it. Also check that boinccmd is addressing the right TCP/IP port number for the client you're trying to control. |
Send message Joined: 29 Oct 17 Posts: 1052 Credit: 16,797,232 RAC: 13,421 |
Richard, thanks for clarifying the -155 error. I had tried with and without the --password option but it made no difference. I also tried emptying the passwd file but it's quite possible I may have not been restarting the client each time. But that refers to boincmgr > client communication. If that fails then boincmgr doesn't show the 'Add Project' option (it's grayed out). So I know when a successful connection to the client is made because the menu options are active. Even then, I still hit the project add problem reported earlier. |
Send message Joined: 9 Mar 22 Posts: 30 Credit: 1,065,239 RAC: 556 |
... boincmgr doesn't show the 'Add Project' option (it's grayed out). Did you attach that BOINC client via an account manager? To get back full control you would need to detach from the account manager. |
Send message Joined: 29 Oct 17 Posts: 1052 Credit: 16,797,232 RAC: 13,421 |
No I don't use account managers. Installed client, installed boincmgr. Started client, 'Add Project -> CPDN', can't connect. See errors posted earlier.... boincmgr doesn't show the 'Add Project' option (it's grayed out). |
Send message Joined: 15 May 09 Posts: 4541 Credit: 19,039,635 RAC: 18,944 |
Wondering if this is something specific to Mint? On latest Ubuntu I have wine 8.0 repack4 and the latest Windows client. This was on a clean install of xubuntu so no configuration files from before lingering. (I deleted the old .wine directory in my home directory and it has all just worked. Wine from the ubuntu repository but in the past I have used the latest from WINEHQ and never had a problem. I have found in the past it has been unable to run the Windows and native LINUX clients at once without running VB and running either the LINUX client or the Windows one under WINE within the VB installation of Ubuntu. I know there have been posts both here and in the BOINC forums on how to run both in the past but having a solution that works, I haven't followed them up. |
Send message Joined: 29 Oct 17 Posts: 1052 Credit: 16,797,232 RAC: 13,421 |
[SOLVED] Reminder. I was getting this error upon trying to Add CPDN as a project: 12-Jul-2023 23:29:47 [---] [http] [ID#2] Info: Trying 129.67.241.50:443... 12-Jul-2023 23:29:47 [---] [http] [ID#2] Info: Connected to climateprediction.net (129.67.241.50) port 443 (#0) 12-Jul-2023 23:29:47 [---] [http] [ID#2] Info: schannel: disabled automatic use of client certificate 12-Jul-2023 23:29:47 [---] [http] [ID#2] Info: schannel: AcquireCredentialsHandle failed: SEC_E_INTERNAL_ERROR (0x80090304) 12-Jul-2023 23:29:47 [---] [http] [ID#2] Info: Closing connection 0 .. using the latest boinc (May/23) v7.22.2 on wine-6.0.3 (Ubuntu 6.0.3~repack-1) (installed with 'wine-installler') with Linux Mint 21. It seems this is a compatibility issue with wine as I installed the previous boinc Windows version, 7.20.2 (obtained from here: https://boinc.berkeley.edu/dl/?C=M;O=D) and it now works fine. I can attach to projects normally. I didn't make any other changes to wine or Linux. It's possible that upgrading wine might have worked with 7.22.2 but downgrading boinc was the easier option. p.s. I'm also running the linux boinc client on the same machine. The wine version is using a different gui_rpc_port and works fine. --- CPDN Visiting Scientist |
©2024 cpdn.org