Server.callWithGET broken on Mac compiled plugins
-
Hi guys,
I think I may have found an issue with
Server.callWithGET
when used in compiled plugins that make use of this on a Mac.Everything, works fine in Hise (both in Windows and on Mac) but the server call fails to work in the compiled version of the plugins on Mac.
I’ve created this small snippet below to demonstrate this.
If any of you could confirm that you’re getting the same behaviour that would be ace. I just want to confirm this before raising it as a bug.To summarise it:
Works in
HISE Mac
HISE Windows
Windows Compiled VSTDoes not work in
Mac Compiled VST or AU (Tested in Logic X, Ableton & FL Studio)
-
Here's the snippet:
HiseSnippet 1163.3ocsVstSabDEdVCaE1oNpQpO.i7uVKQsWSHDTPUwAiIwpbwJljTopjnw6N1dfcmwclw.tHdF5qTeT5iP+c+S6Y16tXZIVpqkPbt+ctLyY5KEdTkRHQVkOa9TJx5qsGLmqmzYBgwQ8N.Y8X6iIJMUhiYs+7oDkh5irrV60FFVkWGE88GubeR.g6QyYgPuWv7nGwBY5bt8a+CrffCI9zyXgEzd6187D7Nh.wL.OqY6hlR7tfLldBwnVIaj0W00moExAZhlp.c1W3OevDwU7X8eOSwFFPMDsPC.GEyF0YBKvueZtpPHq06mm4qEm4eq8wLeVF+7Jv2DI.maQwZfUoEgz5K.oV2GjNTD3abv8.OqBva8X38D6AdR1TctDC1djcONzbFQfxdQXEqKpzetlcGAnAW2HjbA8PIPjYgyNttahelqa88pVw7CJ+JM9RhDOfJujJOiBjeON0Cio5NhvoBNP3TKWkZF6ys8HxPZPq60tXw0Rio4WylIAD2gDDX3DS1PQ06STz281ibpMQqm9hlMu5pqZDR8YjQLIsgmHrYhqX7.FmhGMi6oYBNVvyQnAIRQfiWJL1DPZvLZ8pUtoZEL7E+2HfnwAFHh0B7PXf9BvS3.Aw2DjXvavkSMM8ZcsMw0RheY1HmXmdSl+vI4UCOHu9.SO40cOyoVyQr.ZygxKd9OO16o6t0rcOemsa9Flhli3FmqD7HuuYVJ4nfgrYpMwRpBRCEsdVXtIOhlOIcL9ZnCjp3dEEBECkHf1XpjA8iq+oVer9Bxm2.hiTaNbJc1xMd7HU3s02CiKa9uJveusZkaiR9+6QDSMKoMXZxCgi1NKoEkNV.chH.X5BQ.MKWLbhZPKNwNGR2t7wvHPCOIENLFY9oCOm5ocLdctAAQLyheVgMeNXIM3hUHSsQLMtzTeuJP0nv71IBM8TvYUtoR4J2VA+OEMZzRkkj4AFWtDwIA69MzgOKbHUlNRmpHbywhWM8nG1USdwsxBJJ383L8oSoIz4WdYjEm0oRcQYIaQV44XQtwsn6pVNq6d2HJYTybKYh5fp5n6Hebxcj6OSqEbDyOZeV1HFJp.Ub8D5c8NfnIo9BbKDpoTolYJXVGPuDVeEe+aY6CnpKflOrIJaDGYsQbjqlD4nwmn.ugc7nD557.1t87Lhem19JludBxx1x0BglPYimnMT+JH0L5YxmOPwGItjheSuAcQi.HNf8KExfWzFU.K1OrpPNfZ+wB.529Tal5XQH3JhDXaUBc2sPvtPg+r.hdwEjlWBjH.FMWXSjYaCWwzyK9RgufsltKcqYqkMY7.g6Sr6yzdSVNdKsD7BiG+ei2j2fT0t6nQvEV4fcc6C+wU8AGeAP4shYZFe7wDsjAyG1mLKb.7LLOJfDNmFnLClkLm9hocMzlJy.J2Oh3ufuDgsLzVIBakJDER7jhO6Eel07JmMh3.XhG8.uxvKMAZbqzyo11tMbQgviu9rmmoT7c.1WtMasB17zUvlsWAad1JXyNqfMOeErY2+UaLu68Uyzhv3iI.i9cituzxpKm.SYQSjn+FXeCaUM
-
Try it in Reaper
-
@d-healey Haven't tried Reaper yet but I just tried Studio One on a Mac and again, it doesn't work.
-
@LeeC Could it be a firewall issue?
-
@d-healey I did think this initally... Checked my firewall settings and it doesn't appear to be restricting any online access.
If you're by your machine do you think you could try it your end?
I'm download an evaluation copy of Reaper now to test it out/
Cheers
-
@LeeC Not at my Mac at the moment. Which OS? Is the plugin signed?
-
@d-healey yeah same thing in Reaper.
Ok, so I'm using Mojave 10.14.6 and the plugin is not signed.
Do you reckon that the plugin not being signed could prevent it from calling a server? -
@LeeC On Mojave I wouldn't expect any issues. Same with both VST and AU?
-
Might be relevant https://forum.juce.com/t/network-connection-from-audio-plugin/38105/4
-
@d-healey yep VST and AU don't call out to a server on Mac.
-
@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
-
Same issue with Standalone?
-
@d-healey yep same issue with standalone on a mac
-
@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).
-
@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.dVy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hEIBfA8ENXyb3EWwzyKdwiOgCgcW5gvsV1b1CDtOwtOS6MY43szRvKLr8+MdStRSU6tiFAq+xA651G9Cq58W9DfxqEyzL93iIZIyLVbxrvAvs57n.R3bZfxLgTx7sbLsqg1TYFP49QD+E7jHrkg1JQXqTgnPhmT7Qu3M.lKMsQDG.S7n6KVFt3JPiak9UussaCWTHbWtO54YJEeMf8kayVqfMOcErY6UvlmsB1ryJXyyWAa18e0Fy0n+tYZQX7mI.i9ci19ZY0kSfornIRzeiQY9VE
-
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.
-
@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.
-
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.
-
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.