Hi folks. I have a rather bizarre issue, and I’m not sure if it’s a Juce issue or not, but it’s very difficult to decipher so perhaps one of you smart folks will have an idea :).
In my Windows/macOS app, a POST command is issued to retrieve a user’s information from my server, more or less like this: myServerURL.readEntireTextStream(true). This has been working for years without any problems. But in the last month or two, a couple of my customers have let me know they are getting an error message that my server can’t be contacted, which (from a code standpoint) means that the readEntireTextStream command is returning an empty string. When I look at my server’s SSL log, there isn’t even a record of an attempted connection from the user’s IP address. Now, keep in mind, this is only happening for some users. And, it doesn’t seem to be specific to Windows or Mac. I can’t duplicate the problem on any of my computers.
The very strange thing is that the error only happens when coming from the Juce code in my app. If a user (who is getting the error) goes to my server through a browser, there is no problem.
Is there something different from how Juce retrieves text from a URL vs how a browser does it? Also, why is this only happening in the last month or two? There have been absolutely no relevant code changes.
I wonder if it’s some new security feature in the OS’s, or something like that, which is blocking POST requests from within executables?
Any thoughts/ideas appreciated, and please feel free to ask any questions to clarify.
Thanks so much!