Post

Replies

Boosts

Views

Activity

Reply to Local Network Privacy breaks Application
I see nothing interesting in Console logs (but then I don't know what I would be looking for). Before every reboot, I quit the application. You're correct, we're using some launcher technology. To package and install our application, we're using a tool called Install4j. That tool 'generates' a launcher, that is then the main executable of our gui applications. This means, that all gui apps that are part of our application share the same executable (there's separate instances of the file on disk, but they all have the same UUID). I did an experiment to check, if this might be part of the problem: Experiment: created a simple Java app that let's you enter IP and port and then opens a TCP connection packaged that app in an installer with exactly one launcher ran the app and allowed local network was able to connect to a server on the local network quit app and rebooted machine was still able to connect to local network after reboot without toggling the permission Experiment used stuff from first experiment, added a second app that only displays a hello-world-gui without anything network related packaged that in an installer, now with two launchers (both using the 'JavaApplicationStub' from Install4j) ran both apps and allowed local network was able to connect to a server on the local network quit app and rebooted machine no longer able to connect to local network. had to turn permission off and on again Side note: as a preparation for the experiments, I made sure that no other application on my machine were using Install4j technology (so I uninstalled our real-world application and also my development instance of Install4j) and then rebooted my machine before I installed the experiment-applications... So for now I'm assuming, the UUID, which is shared across multiple GUI applications is confusing the network privacy system somehow. Which is something I cannot fix, because not only does our application have multiple executables with the same UUID, but on a customer machine, there might be other applications installed also using Install4j for packaging ...
Dec ’24