https://bugs.winehq.org/show_bug.cgi?id=50272
--- Comment #2 from parhom andriy.parhomenko@gmail.com --- I managed to get the plugin's request when run in Windows, it has the same structure as when it is run in Wine:
{ "acceptableVersionIDs": "100642, 100640, 100641, 100643, 100644, 100645, 100646, 100647, 100648", "versionID": "100641", "product": "Melodyne", "version": "5.1.0", "buildNumber": "016", "hostName": "DESKTOP-IAO2WGF", "language": "en", "hostID": "Y00_0000000000000002-C0C_E930BA58D7561F35-Z0C_10.0.00000000000-40C_DDD91D29DFB80CB9-355_761D92BCBC97F24D-214_E0D89C1E0D9183EA-101_3C1E2E6A74CCFF52-D0C_E930BA58D7561F35", "licenseType": "challengeResponse", "securitySalt": "6991F731-8A25-42DA-9840-EBF08EB6E245", "securityHash": "698e51f4d6f884813b6611ed2a49c9b3a738c2d0" }
I used Postman and sent this request to the server and got no error, the answer was:
{ "checkOpenUrl" = "https://connect-v1.celemony.com/cgi-bin/WebObjects/LicenseApp.woa/wa/Melodyn..."; "pingUrl" = "https://connect-v1.celemony.com/cgi-bin/WebObjects/LicenseApp.woa/wa/Melodyn..."; "openUrl" = "https://services.celemony.com/cgi-bin/WebObjects/LicenseApp.woa/wa/Melodyne4..."; "resultType" = "success"; }
When I put the request, that the plugin generates when run on Wine, I got the following error message:
{ "errorCode" = "0"; "errorMessage" = "general error"; "resultType" = "error"; }
The parameters that cause the error message when changed for random strings (or slightly edited) are "hostID", "securitySalt" and "securityHash". And also "serialNumber", if trying to activate the licensed version, not the trial one.
So it seems, that "securitySalt" and/or "securityHash" are calculated the wrong way when the plugin is run in Wine.