HISE Logo Forum
    • Categories
    • Register
    • Login

    Server calls do not work in compiled Linux Plugin

    Scheduled Pinned Locked Moved General Questions
    16 Posts 5 Posters 817 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • oskarshO
      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:

      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
      

      breathing HISE

      ustkU 1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @oskarsh
        last edited by

        @oskarsh Have you tried another DAW?

        Can't help pressing F5 in the forum...

        oskarshO 1 Reply Last reply Reply Quote 0
        • oskarshO
          oskarsh @ustk
          last edited by

          @ustk I've tried Reaper and Bitwig. I have not tried any other DAWs.

          breathing HISE

          Christoph HartC 1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart @oskarsh
            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.

            oskarshO 1 Reply Last reply Reply Quote 0
            • oskarshO
              oskarsh @Christoph Hart
              last edited by

              @Christoph-Hart

              • 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.

              breathing HISE

              d.healeyD 2 Replies Last reply Reply Quote 0
              • d.healeyD
                d.healey @oskarsh
                last edited by

                @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.

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                1 Reply Last reply Reply Quote 1
                • d.healeyD
                  d.healey @oskarsh
                  last edited by d.healey

                  @oskarsh The callback function should not be an inline function. Actually an inline function seems to work just fine.

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  1 Reply Last reply Reply Quote 1
                  • oskarshO
                    oskarsh
                    last edited by

                    @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

                    breathing HISE

                    d.healeyD 1 Reply Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @oskarsh
                      last edited by

                      @oskarsh Debian testing, Cinnamon 5.6.5

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

                      1 Reply Last reply Reply Quote 1
                      • oskarshO
                        oskarsh
                        last edited by

                        @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?

                        breathing HISE

                        d.healeyD 1 Reply Last reply Reply Quote 0
                        • d.healeyD
                          d.healey @oskarsh
                          last edited by

                          @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)

                          Share Anything with pCloud

                          With pCloud's unique Download Link feature you can share files with everyone. Click to download. Join pCloud.com and get up to 20GB FREE cloud storage.

                          favicon

                          pCloud (e1.pcloud.link)

                          Libre Wave - Freedom respecting instruments and effects
                          My Patreon - HISE tutorials
                          YouTube Channel - Public HISE tutorials

                          1 Reply Last reply Reply Quote 0
                          • oskarshO
                            oskarsh
                            last edited by

                            @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.

                            breathing HISE

                            1 Reply Last reply Reply Quote 1
                            • oskarshO
                              oskarsh
                              last edited by

                              @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.

                              breathing HISE

                              d.healeyD 1 Reply Last reply Reply Quote 0
                              • d.healeyD
                                d.healey @oskarsh
                                last edited by

                                @oskarsh Very odd, I use my own fork of HISE so it's possible that I set this to always be enabled there.

                                Libre Wave - Freedom respecting instruments and effects
                                My Patreon - HISE tutorials
                                YouTube Channel - Public HISE tutorials

                                1 Reply Last reply Reply Quote 0
                                • d.healeyD
                                  d.healey
                                  last edited by

                                  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?

                                  Libre Wave - Freedom respecting instruments and effects
                                  My Patreon - HISE tutorials
                                  YouTube Channel - Public HISE tutorials

                                  P 1 Reply Last reply Reply Quote 0
                                  • P
                                    parabuh @d.healey
                                    last edited by

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post

                                    53

                                    Online

                                    1.7k

                                    Users

                                    11.7k

                                    Topics

                                    101.9k

                                    Posts