I checked on this with Jan Blok from Servoy and we found that it has to do with how original javacode treats https connections.
A https call made with 'java.net.URL ' can frustrate a second https-call made from the same java VM.
Jan gave this snippet as example:
- Code: Select all
URL url = new URL("https://www.website.com");
HttpURLConnection conn =
(HttpURLConnection)url.openConnection();
if (conn.getResponseCode() == HttpURLConnection.HTTP_OK)
return true;
conn.disconnect();
If the Servoy application server starts up with a licence key entered there is a https-call to Servoy to check that key. Then a next call to a https-url by another script (for instance our plugin) will be frustrated.