Posts by Christian Krause

1) Message boards : Projects : LODA project now supports Linux ARM64 (Message 109815)
Posted 12 Sep 2022 by Christian Krause
The LODA project now supports the Linux ARM64 platform (e.g. Raspberry Pi OS 64-bit).
Can someone please update the project overview page?
2) Message boards : Projects : New project started: LODA (Message 108072)
Posted 13 May 2022 by Christian Krause
The LODA project is now running on BOINC: It's a maths / computer science project aiming at finding programs and algorithms for integer sequences.
3) Message boards : API : Firewall issues on Windows (Message 108059)
Posted 11 May 2022 by Christian Krause
I found out that it is not caused by the firewall. I can reproduce the problem as follows:

1. Open Command Prompt
2. Unset the environment variable SYSTEMROOT
3. Run curl

=> same error. So it is caused by the fact that the wrapper starts my app without any default environment variables set. Same applies to PATH by the way. Is it really intended that the wrapper wipes out the entire environment variables before starting the app ?
4) Message boards : API : Firewall issues on Windows (Message 108048)
Posted 10 May 2022 by Christian Krause
I'm using only https (443) and http (80). I did not configure anything specialy in the Windows Defender settings, so I assume it behaves the same on all default configurations. It seems like Windows considers the app as potentially malicious and sandboxes it. I'm wondering if other apps have managed to work around it and how to make it work without asking BOINC users "please disable your (standard) Windows Defender".
5) Message boards : API : Firewall issues on Windows (Message 108043)
Posted 9 May 2022 by Christian Krause
I'm using the BOINC wrapper. My main app is written in C++ and needs to download additional content from the Internet during its computation. It tries to download the content by invoking the curl and git commands (using system()). On Linux and MacOS this works fine, but on Windows I run into two issues:

1. The PATH environment variable is not set. I need to populate it with the paths where curl and git are installed.

2. The curl and git fail because the network communication was blocked:

fatal: unable to access 'https://...': getaddrinfo() thread failed to start

I found a Stackoverflow post on this error: the problem seems to be that the Windows Defender Firewall is blocking the http requests. If I run the commands directly in the Command Prompt, they work.

How can I avoid that my app's http requests get blocked by the Windows firewall?

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.