Oh, I accidentally posted it privately :D
Many thanks, Simon, for letting me know that!
Hi, Chris!
I've solved that problem for my friends and yes, if you use environment that isolate applications like snap or flatpak -- you'll have that exact issue with Zaproxy failing on starting ajax spider, or anything else in other application. Think of it as there's two apartments and people from one never see people from second one, if it's helping with abstraction
The solution here is to use system packages, not the sandboxed ones. In Ubuntu by default you don't have this kind of packages so you'll have to install them manually from .deb, or add repositories (for example for firefox), that you will use instead of default Ubuntu repos
Another solution is to switch to distribution that ships system packages, not flatpak or snap.
Also if you want to get deep I'd recommend to read about flatpak portals. For me it feels like it's just a bunch of "docker containers", that start once you start your app. Portals allow these to communicate with system and maybe with each other