HISE Logo Forum
    • Categories
    • Register
    • Login

    Server.callWithGET broken on Mac compiled plugins

    Scheduled Pinned Locked Moved General Questions
    69 Posts 8 Posters 3.7k 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
      last edited by

      Might be relevant https://forum.juce.com/t/network-connection-from-audio-plugin/38105/4

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

      L 1 Reply Last reply Reply Quote 0
      • L
        LeeC @d.healey
        last edited by

        @d-healey yep VST and AU don't call out to a server on Mac.

        1 Reply Last reply Reply Quote 0
        • L
          LeeC @d.healey
          last edited by

          @d-healey tried using https and had the same issue on Mac across all my DAWs vst/au.

          Is anybody else with a Mac machine available to test this out.

          Cheers

          HiseSnippet 1188.3ocsVssaZbDFdVr2VCoD0H0GfQb0hjKr333XEqpRMFmfpOfBNIUpJIZX2AXr2cF5LC1lZ4a5KPek5iReD588h1+YOSMt0AotHg1+ye+G1+Y5KEdTkRHQVkOa9TJx5KrGLmqmzYBgwQ8N.Y8X6iIJMUhiYs+7oDkh5irrV6kFFVkWGE87Ge69j.B2ilyBgdqf4QOhExz4b6296YAAGR7omwBKn81s64I3cDAhY.dVy1EMk3cAYL8DhQsR1HqOqqOSKjCzDMUA5ruve9fIhq3w5+VlhMLfZHZgF.NJlMpyDVfe+zbUgPVq2OOyWKNy+J6iY9rL94UfuLR.N2hh0.qRKBo0W.RstOHcnHv23f6AdVEf25wv6I1C7jro5bIFr8H6dbn4Lh.k8hvJVWTo+bM6NBPCttQH4B5gRfHyBmcbc2D+LW256Ush4GT9UZ7kDId.UdIUdFEH+FbpGFS0cDgSEbfvoVtJ0L1ma6QjgzfV2qcwhqkFSyulMSBHtCIHvvIlrghp2mnnu40G4TahVOU8hlMu5pqZDR8YjQLIsgmHrYhuX7.FmhGMi6oYBNVvygnAJRQfiWJN1DfZvLZ8pUtoZEL7D+eDRz3.CFwZAdHLQeA3Ibff3aBRL5M.yolldst1l3ZIwuLajSrSuIye3jDqgGjXuiom7xtm4Tq4HV.s4P4EO+mF68zc2Z1tmuy1MeESQyQbiyUBdj22LKkbTvT1L0lXIUAoghVOKL2jGQyijNFeMzBRUbuhBghgRDPaLUxfFx0+Xq2WeA4ya.wQpMecJc1xMd9HU3s02CiKadqB7+sUqbaTx+eOiXpYIsASWdH7ssyRZQoyEPmHB.ltPDPyxECmnFzhirygzsKeLLBzvSRguFiL+zgmS8zNFuN2ffHlYwOqvlOGrjFbwJjo1HlFWZpuWEnZTXd6DgldJ3rJ2Tobkaqf+mhFMZoxRx7.iKWh3jfc+F5vmENjJSGoSUDVcr3toG8v1M4E2JKnnf2iyzmNklPmu8xHKNqSk5hxR1hrxywhbiaQ2UsbV2c4HJYTyrlLQcPUczRxGmrjb+YZsfiX9QGnkMhghJPEOeB8ldGPzjTeAtEB0TpTyLELqCnWBmeEu.tr8AT0EPyGhV1HNxZi3HWMIxQiOQAdC63QIz04Arc64YD+Ns8ULe8DjkskqEBMgxFOQan9UPpYzyjOuihORbIE+pdC5hFAPb.6mKjAunMp.VreXUgb.098E.zu8g1L0whPvUDIv1pzR788lmaYbqsEzVPyMu7KVoIwmaGs5FN3+NGpAGsJ7mEPzKddq4hEIBfA8ENXyb3EWwzyKdwiOgCgcW5gvsV1b1CDtOwtOS6MY43szRvKLr8+MdStRSU6tiFAq+xA651G9Cq58W9DfxqEyzL93iIZIyLVbxrvAvs57n.R3bZfxLgTx7sbLsqg1TYFP49QD+E7jHrkg1JQXqTgnPhmT7Qu3M.lKMsQDG.S7n6KVFt3JPiak9UussaCWTHbWtO54YJEeMf8kayVqfMOcErY6UvlmsB1ryJXyyWAa18e0Fy0n+tYZQX7mI.i9ci19ZY0kSfornIRzeiQY9VE
          
          1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey
            last edited by

            Same issue with Standalone?

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

            L 1 Reply Last reply Reply Quote 0
            • L
              LeeC @d.healey
              last edited by

              @d-healey yep same issue with standalone on a mac

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

                @LeeC said in Server.callWithGET broken on Mac compiled plugins:

                @d-healey yep same issue with standalone on a mac

                Debug the standalone in xcode and see what the server response is (if any).

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

                L 1 Reply Last reply Reply Quote 0
                • L
                  LeeC @d.healey
                  last edited by

                  @d-healey will have to look into how to do this to be honest.
                  If anybody else get a chance to check this snippet it would be appreciated.

                  HiseSnippet 1188.3ocsVssaZbDFdVr2VCoD0H0GfQb0hjKr333XEqpRMFmfpOfBNIUpJIZX2AXr2cF5LC1lZ4a5KPek5iReD588h1+YOSMt0AotHg1+ye+G1+Y5KEdTkRHQVkOa9TJx5KrGLmqmzYBgwQ8N.Y8X6iIJMUhiYs+7oDkh5irrV6kFFVkWGE87Ge69j.B2ilyBgdqf4QOhExz4b6296YAAGR7omwBKn81s64I3cDAhY.dVy1EMk3cAYL8DhQsR1HqOqqOSKjCzDMUA5ruve9fIhq3w5+VlhMLfZHZgF.NJlMpyDVfe+zbUgPVq2OOyWKNy+J6iY9rL94UfuLR.N2hh0.qRKBo0W.RstOHcnHv23f6AdVEf25wv6I1C7jro5bIFr8H6dbn4Lh.k8hvJVWTo+bM6NBPCttQH4B5gRfHyBmcbc2D+LW256Ush4GT9UZ7kDId.UdIUdFEH+FbpGFS0cDgSEbfvoVtJ0L1ma6QjgzfV2qcwhqkFSyulMSBHtCIHvvIlrghp2mnnu40G4TahVOU8hlMu5pqZDR8YjQLIsgmHrYhuX7.FmhGMi6oYBNVvygnAJRQfiWJN1DfZvLZ8pUtoZEL7D+eDRz3.CFwZAdHLQeA3Ibff3aBRL5M.yolldst1l3ZIwuLajSrSuIye3jDqgGjXuiom7xtm4Tq4HV.s4P4EO+mF68zc2Z1tmuy1MeESQyQbiyUBdj22LKkbTvT1L0lXIUAoghVOKL2jGQyijNFeMzBRUbuhBghgRDPaLUxfFx0+Xq2WeA4ya.wQpMecJc1xMd9HU3s02CiKadqB7+sUqbaTx+eOiXpYIsASWdH7ssyRZQoyEPmHB.ltPDPyxECmnFzhirygzsKeLLBzvSRguFiL+zgmS8zNFuN2ffHlYwOqvlOGrjFbwJjo1HlFWZpuWEnZTXd6DgldJ3rJ2Tobkaqf+mhFMZoxRx7.iKWh3jfc+F5vmENjJSGoSUDVcr3toG8v1M4E2JKnnf2iyzmNklPmu8xHKNqSk5hxR1hrxywhbiaQ2UsbV2c4HJYTyrlLQcPUczRxGmrjb+YZsfiX9QGnkMhghJPEOeB8ldGPzjTeAtEB0TpTyLELqCnWBmeEu.tr8AT0EPyGhV1HNxZi3HWMIxQiOQAdC63QIz04Arc64YD+Ns8ULe8DjkskqEBMgxFOQan9UPpYzyjOuihORbIE+pdC5hFAPb.6mKjAunMp.VreXUgb.098E.zu8g1L0whPvUDIv1pzR788lmaYbqsEzVPyMu7KVoIwmaGs5FN3+NGpAGsJ7mEPzKddq4hEIBfA8ENXyb3EWwzyKdwiOgCgcW5gvsV1b1CDtOwtOS6MY43szRvKLr8+MdStRSU6tiFAq+xA651G9Cq58W9DfxqEyzL93iIZIyLVbxrvAvs57n.R3bZfxLgTx7sbLsqg1TYFP49QD+E7jHrkg1JQXqTgnPhmT7Qu3M.lKMsQDG.S7n6KVFt3JPiak9UussaCWTHbWtO54YJEeMf8kayVqfMOcErY6UvlmsB1ryJXyyWAa18e0Fy0n+tYZQX7mI.i9ci19ZY0kSfornIRzeiQY9VE
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • d.healeyD
                    d.healey
                    last edited by

                    Open the projucer file create by HISE, go to file >> save and open in IDE. In xcode select build >> for running. This will create a debug build and once it's finished it should automatically launch the app and the debugger.

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

                    L 1 Reply Last reply Reply Quote 1
                    • L
                      LeeC @d.healey
                      last edited by LeeC

                      @d-healey yeah works fine using the debugged build.

                      So is thinking that this an issue that I should raise as a bug?

                      I was really hoping that somebody else could check this real quick just incase there's something going on with configuration.

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

                        @LeeC

                        yeah works fine using the debugged build.

                        I wasn't expecting that... try a debug build of the VST and see if that works. If it does then something in the optimisation must be breaking it which seems weird.

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

                        L 1 Reply Last reply Reply Quote 0
                        • L
                          LeeC @d.healey
                          last edited by LeeC

                          @LeeC

                          yeah works fine using the debugged build.

                          I wasn't expecting that... try a debug build of the VST and see if that works. If it does then something in the optimisation must be breaking it which seems weird.

                          @d-healey yep same thing with the debug build of the VST/AU on mac. Really appreciate you guiding me through the troubleshooting on this... Not sure what else to try here.

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

                            In Projucer, try different options in the Debug section, do it one option at a time, until it breaks like the release version. It might take a while, it's a brute force method to try and find the cause.

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

                            1 Reply Last reply Reply Quote 0
                            • ulrikU
                              ulrik @LeeC
                              last edited by ulrik

                              @LeeC I tested in Logic Pro X, works!
                              Reaper v.5.9, both AUi and VST3 fails, I didn't compile any VST2 version
                              DSP-Quatro v.5.6, AUi works

                              I'm on Mac OS 10.14.6

                              Hise Develop branch
                              MacOs 15.3.1, Xcode 16.2
                              http://musikboden.se

                              ulrikU 1 Reply Last reply Reply Quote 0
                              • ulrikU
                                ulrik @ulrik
                                last edited by

                                @ulrik Ableton Live 10, both AUi & VST3 fails

                                Hise Develop branch
                                MacOs 15.3.1, Xcode 16.2
                                http://musikboden.se

                                1 Reply Last reply Reply Quote 0
                                • L
                                  LeeC
                                  last edited by LeeC

                                  @ulrik thanks for testing on your system.
                                  It looks like we may have a problem and we might need to call Mr Hart!

                                  I know a few people are planning on adding server functionality to their released plugins for
                                  Authentication, upgrades and other things so this seems important I think.

                                  What version of Logic Pro X did you check it on by the way?

                                  ulrikU 1 Reply Last reply Reply Quote 0
                                  • Christoph HartC
                                    Christoph Hart
                                    last edited by

                                    Before I go into debugging this (which sounds annoying because it only happens in an optimised build if I understand this right), you might try a better test example that logs the response so you see what's happening

                                    function logResponseCallback(status, obj)
                                    {
                                        obj.StatusCode = status;
                                        FileSystem.getFolder(FileSystem.Desktop).getChildFile("log.txt").writeObject(obj);
                                    }
                                    L 1 Reply Last reply Reply Quote 1
                                    • L
                                      LeeC @Christoph Hart
                                      last edited by LeeC

                                      @Christoph-Hart sure I'll give this a try but from monitoring outbound traffic on my Mac, it appears that no calls are being made from the compiled plugin.
                                      ie. Nothing gets to the server in order to get back obj.StatusCode= status;

                                      I'll try it out and see.

                                      1 Reply Last reply Reply Quote 0
                                      • Christoph HartC
                                        Christoph Hart
                                        last edited by

                                        In this case you'll get a 404 response after the server timeout (I think it's 20 seconds by default). So just to recap:

                                        • only macOS
                                        • only compiled plugin - inside HISE it works
                                        • only VST / AU plugins in any host
                                        • only the release build

                                        Because that's kind of the most annoying debug setup, like take the worst option from all of those and combine in into a debugging hell...

                                        L 1 Reply Last reply Reply Quote 2
                                        • L
                                          LeeC @Christoph Hart
                                          last edited by

                                          @Christoph-Hart yeah you're recap is spot on!

                                          Sorry for adding this to your work load mate, I'll keep trying things my side to see if I can help get to the root cause.

                                          Strange!

                                          1 Reply Last reply Reply Quote 0
                                          • ulrikU
                                            ulrik @LeeC
                                            last edited by

                                            @LeeC I use Logic Pro X v.10.5.1

                                            Hise Develop branch
                                            MacOs 15.3.1, Xcode 16.2
                                            http://musikboden.se

                                            1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            26

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.7k

                                            Posts