Server calls do not work in compiled Linux Plugin
-
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:
HiseSnippet 1069.3ocsV8uaaTDDdOmbkFCEQk3AXU9GeAYbrgRAQEhzX6TEH+vpNsTIDprdu8xsj618ztykTqpHUwaAud7B.uAvr2c19RhUH0R3+vxyNyreeyteyrdjQyEVq1P713joYBh2G4OdpBh6GyjJx9Cv086yf8Xbfr6zLl0JBIddq8LmauMVmT74u+9cYILEWrXIB4kZIWbfLUBKVczN+nLIYOVn3DYZsnezN6y0p95DcNRk076RxX7yXmJNh4BqgOw6dCCkf1LFXfvhwrqNb53X8Epx3eozJmjHbF8HiwMpbYR+XYR3nYkokP7Vezhhdsxh9S8OTFJmu9hh+SJbPWjQ8y.uF2Fk58dPIuZTZ8RJ8P+wbiLCV3wwmOzeeEHLQL7ntNUJikz3yZ32WiQnfNoryD6YPi4YD73tcaSwu15IMaNVXNWX5XEvtLq3EO+ffVw.jY+1s2ly.LbniRp9MVKLX7pwBzyYF5ArIhjdzuiNCkSEPecZlVgFAaV5dS292TpRjJAMJWwAoVQ0pcyAPq54R0nSB3yxqMt0I4hsZ91laHinAkVzJFxYII+jDhe1vSBZssiXsZSe6ksoH0qTlHdW9jlKmRUft4VtRsB593VNA0WAWmSNhecdu.l.KdQmaaSCY.aKJx1x50syAs.wabLy46maUPyewwqZ0+QZPbrJnnNadYS50cEEsTeUbKQXVpaWij41RLPkmNQXpeJ6BDUZWU9du6l7kWdLWKPsZekDNNSTYumNIzIKc+9lhcR08jS1WwPLTnPz+wUh9xaEhLzM9o5JhTP+5CXHuX+A3o8rMB2SDmLgAjtxwaf3bb.TY2zF9CD1y.cFNKYt3f38A2AXeybH2QryzE3C6bgLDhId9ds8HjXg7zXvY86nSo8PcJBAyfY30fbSLePElERnBHuueobpNh+ZMDeGaAhlafnS9Q79K+A4Fo5TJDKn3nqvDA8omJPMK1TaoWHLBJNzPyk3cdH8Brup3KtgEg8gLUHpanigNzePGq9y28GV5.1z1zLgNC2JrugpwlR5vb2IM8BcdRH0B4QQNDSoREnoVr0xVrWf1ZKnRA5ENmnUQRiv1gdrhFqSlhcLSsyQfKRDSLEjaxzh7cUSQ5QFcJkGma3wnCrTrcvGTtwfSbjsNLOgAWcNt6AqJGX2wUFd5FPprRXZ8GzdOFt28VGteWo3C8GIAd7x4XikvQT2++AGqdR7A9CihDbXAAW2euWspu+8e.+y04.dOeHCLRT86eTd5X7eBvEH5JkHw5T4MbyNJs65rcm.iEpvBi+A+T4rmy1qxYuYNIoLtQ+Zd4DG2it2uXEjSph+iwF9G5royGz362sSWRJ99+q4bW4+433rkmyWrB47kqPNOZEx4qVgbd7JjyWuB47M2ZNt+50SyAcZY6.tvngEC787FpXnxpPER9W.A..BXA
-
@oskarsh Have you tried another DAW?
-
@ustk I've tried Reaper and Bitwig. I have not tried any other DAWs.
-
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.
-
@oskarsh said in Server calls do not work in compiled Linux Plugin:
- Does not work in compiled standalone app
Something unique to your setup, it works on my systems.
-
@oskarsh
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
-
@d-healey @Christoph-Hart
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?
-
@oskarsh
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)
https://e1.pcloud.link/publink/show?code=XZ3FtmZys93k4yYQkJfNGBvFIeciHyU6AqV
-
@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.
-
@Christoph-Hart @d-healey
I've finally found the culprit it was a JUCE setting.juce_core
>JUCE_USE_CURL
was 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.
-
I just got caught out by this. @Christoph-Hart Is there a reason you don't enable JUCE_USE_CURL in the project/plugin template?
-
This post is deleted!