Server calls do not work in compiled Linux Plugin
oskarsh last edited by oskarsh
Hey, it seems like network calls do not work in a compiled VST3 Plugin on Linux. The same calls work as expected in Windows and MacOS.
I've tested this behavior on Linux with Bitwig and Reaper, both show the same behavior (no network calls).
Is there a flag that i need to set, or setting i need to check in order for this to work. Please note, that the network calls are working fine in HISE itself.
Here is snippet:
ustk last edited by
@oskarsh Have you tried another DAW?
@ustk I've tried Reaper and Bitwig. I have not tried any other DAWs.
Christoph Hart last edited by
Does it work if you run HISE as plugin? And does it work in a compiled standalone app? Might be a simple firewall issue of the DAW.
- Does not work in compiled standalone app
- No system firewall enabled
I was not able to compile HISE as a plugin since I am missing VST2 SDK. However the fact that its not working in a standalone app points to possible problem in HISE.
Could someone try to compile a vst based off the snippet I posted? I would like to be able to exclude that the problem is caused by my specific linux config.
d.healey last edited by d.healey
The callback function should not be an inline function.Actually an inline function seems to work just fine.
@d-healey thank you so much for trying this out!!
Do you mind sharing your OS?
I am running
KDE neon 5.26 Ubuntu - 22.04
@oskarsh Debian testing, Cinnamon 5.6.5
I did a clean install of Ubuntu 22.04 in a VM and installed latest HISE Develop Version. I ran the same snippet that I've posted here and compiled as a VST3 and a Standalone Version and I get the same behavior. No Network calls appear to work. Might it be the case that there is a missing Dependency for Networking? Network calls do work in HISE but do not work when compiled.
Is anyone able to help me with that?
You shouldn't need to install anything extra. It sounds like a firewall/networking issue to me.
Try this that I compiled (ignore the name, that just the project I was working on when I loaded your snippet)
@d-healey the plugin you've compiled works.
I have no Firewall enabled, I also got some customers complaining that the plugin has a network issue even tho they run all kinds of different Distros. I do not think that a firewall rule is compiled within the plugin itself.
I will install Debian testing with Linux mint, maybe Ubuntu is doing something out of the ordinary.
I've finally found the culprit it was a JUCE setting.
JUCE_USE_CURLwas set to disabled but only for the .jucer file created by HISE. So naturally every compiled plugin would have the network calls disabled.
Whats really odd is that I've installed a virtual machine with a complete blank setup and was also getting it set to disabled by default.
@oskarsh Very odd, I use my own fork of HISE so it's possible that I set this to always be enabled there.