Server.callWithGET broken on Mac compiled plugins
-
Actually I do lot more that you might want to consider
-
first start a timer( lets make it execute after 90 seconds....)
-
in the timer call back - if it executes it means we've been hanging around for 1.5 mins with no response from the server so tell the user their internet connection is broken...
-
callWith POST callback turn the server off... so we never get to the "hey your internet no worky" problem...
-
-
@Lindon no worries thanks.
Yeah that's pretty much the same setup that I've got in the snippet I posted above.
If you get chance to try my snippet it would be appreciated but no worries if not.
Honestly, I'm lost as to what's going on after trying multiple servers/setups... All work in HISE but in DAWs it's blah blah blah -
@Lindon said in Server.callWithGET broken on Mac compiled plugins:
Actually I do lot more that you might want to consider
-
first start a timer( lets make it execute after 90 seconds....)
-
in the timer call back - if it executes it means we've been hanging around for 1.5 mins with no response from the server so tell the user their internet connection is broken...
-
callWith POST callback turn the server off... so we never get to the "hey your internet no worky" problem...
Sure, this is exactly the kind of logic I have in the plugin I have ready to release. I noticed that a connection to the internet wasn't being made on some DAWs which gave birth to this thread.
The snippets posted are just to demonstrate the problem.
Appreciate the insight though thanks and if anybody has a few quick minutes to test the snippet their end and can spot anything it would be great.
-
-
so tell the user their internet connection is broke
There is a function to check for a working connection.
Server.isOnline()
-
Actually I am having the same issue in all of my macOS systems. (Catalina and High Sierra)
Standalone works, Hise project works but compiled plugin doesn't work in Logic Pro X. Can't connect to the server. Windows works also.
Has anyone figured it out to fix it?
-
Hi @orange, I tried multiple servers and setups but couldn’t get things to work with Logic Pro X, so
I decided to remove the code that depended on these server calls in the end.If you need help testing anything out further just let me know :)
-
Hey @Christoph-Hart, myself and @orange have just been doing some testing and it looks like it’s possible to get a server response in LPX, but it’s not the prettiest workaround.
It seems that playback through the plugin is required in order to trigger the Timer Object that returns the response.
You can see in the video below that initially no response is returned when hitting the ‘Call With Post’ button, but as soon as audio is played back through the plugin the response is returned.
Thanks for putting together the code snippet for testing btw @orange :grinning_face_with_big_eyes:
-
-
-
@orange said in Server.callWithGET broken on Mac compiled plugins:
@Lindon only AU fx plugins. Standalone and İnstrument versions works
..and only in Logic?
-
@Lindon said in Server.callWithGET broken on Mac compiled plugins:
@orange said in Server.callWithGET broken on Mac compiled plugins:
@Lindon only AU fx plugins. Standalone and İnstrument versions works
..and only in Logic?
Yes only on LPX. Interestingly, same AU plugin works in Ableton or Reaper. But in LPX we see this issue
-
@Christoph-Hart This is the exported fx plugin, you can see yourself: https://www.dropbox.com/s/b4qq5z8qopwlzzo/ServerTest_FX.zip?dl=1
Also snippet of this plugin is in below. In Hise works, instrument plugin works, but compiled fx plugins doesn't work in LPX.
HiseSnippet 1645.3ocuXssbZaDFVxwaRrbbmjYxE8RMzafo1bvw4PSm1.FiSoECLVX61qRERKvFK1kJsXBwimI8IpuB8QpuAs+qNwJrD1wyjpKX1C+eq99Ot+nttLKrmGyUQcidymfUTeDxXNkOp9HSBUo4A9Kfcu.61C6wU1e9DSOOrshp58dqPB0MVWw+4edy9lNlTK7hkTTNkQrvsHiI7Eq1s5uPbbNzzF2iLVR58p1zhQqybXSA1bOTYkIlVmaND21TH1ZHE062vlvYtFbSN1SQc88Y1yMFwlQCj+ThGouCVLohhAbPAKeHywVvXwpJ0GQbr6Fo0dJvozcgM3dA1fmhNhXShWegs3w9anu.gr8PcsUQuJxzq7smdpRza8.58DjgkKYBewNBtsIpIkicGXBt.YZEHqxZ+0CP0YfDTdwwlmiOzElDiH+KJWda8mWtbguWSCbCdb8KLc0YTGBE2pui9OnGAdHlWmMdBiBSxmKVhb.xE.wiMINqBWj.IgIX8Llq8pPJISRvdfcep2pfFKQRftXOPBuUpmRxjDLGBhcWExHARByzhStfvmuJjRxH.qEaqK5gEGL9C7baqGjcVj30we67EzeidtNsa0rcib5uFFd3g9igSHV+Sb.4L7WVHfjVlTjiC2PHTjBkTBQxrqXaIVmThlsqUuWyS8YB7lFpaY5.Ldn.IrhVnh.X12zCexwsxmaDmOw60kJMa1rhTFwCa5MpnEabI+ynTI8tcL5oQ7Ub8ASovqlQgnVwIeFgOpKyiuOmJLutLm7VQ11sAefyTbAsK01fLPOe3Lc34R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WiUH0dvvajQZnt0LLNqywGbKI00+m7OFcDydpiIO4GYP7kUB2.5THw+lW7O1odPrg7Wd4KxWd31R2mf5R3ViRmuqkBegdK9Ry2vuiyVnFCF.satfrqiN7W+x+QaTNlMUzw7QlPaoPzEp8zwFPZnEFXBkhcDcyotlnuqf4kEyEVFCL01ex+BOgaVQLWMbyJQapL1zxk8NqfdHEeonG5uBvIpep8FniDy0qn32WIfCUtXYkwDax6rrDlhc.tmNlcuCXd1c.yd2ALO+Nf4E2ALu7Nf4UqDi3aGVaJmMNHMAVnaC+lsUUaPEkT8iHU9OWkXzqC
NOTE: Create an account for login from here: https://www.noiseash.com/my-account/
-
@orange What's The Purpose Of This?
Plugin Activation?
Downloading On The Fly? -
@Natan said in Server.callWithGET broken on Mac compiled plugins:
@orange What's The Purpose Of This?
Plugin Activation?
Downloading On The Fly?It can be both of them
-
@orange Hmmm Sounds Intresting
-
@LeeC Good finding :)
-
Hi all,
I have to bring some more information on this server plugin test.
The Timer start and the server call are not in relation with each other. Although they are triggered inside the same button callback, this is done sequentially, one after the other (timer first then server call)This is important to know because it tells us none of them are triggered at all when the playhead is stopped. This why I don’t think it’s a timer or server issue anymore…
Could Logic have a function like the one we find in ProTools, that put the plugin in standby when it’s not playing or even between audio containers like ProTools can do?
This might explain these functions are bypassed or not triggered…
@Christoph-Hart Does it make sense?
-
I’d like to add that the timer and the server are launched, but they are in standby (we can see the server thread is ACTIVE)
So maybe Hise could « disapprove » this forced standby for vital functions like server and timer, what do you think @Christoph-Hart?
-
Think you might be right that it's not a timer or server issue @ustk.
Here's a cleaner example of the behaviour in Logic Pro X.
As you can see, movement of the playhead is actually not required to 'Activate' the plugin, running a simple test tone through the plugin is enough to get things moving.
Furthermore once this is done, the plugin stays 'Activate' for the entire session (as closing and reopening the plugin demonstates). -
@LeeC Good catch again!
So this is definitely a LP restriction… the question is, can Hise go through this restriction ?