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

        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?

            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.

                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.

                  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

                        22

                        Online

                        1.8k

                        Users

                        12.1k

                        Topics

                        105.8k

                        Posts