Using the latest CodeRunner v1.5 we get the following error when running curl on Windows against a custom event handler we deployed from the same Windows box. The same code / curl command runs fine under Ubuntu and also works okay if the code is running in Debug mode when we curl it from Windows. The Backendless Console just reports “failure” in the History and Logs popup.
On a side note we confirmed the Deploy.bat now deploys to Production on Windows and HTTPS related exceptions we got when connecting to an SSL external host have been resolved.
Custom Event Handler code:
public Map handleEvent(RunnerContext context, Map eventArgs) {
return eventArgs;
}
Error returned:
404 Bad Request
{“message”:null、“code”:0}
Environment Windows 7 (64bit) Korean, Java version 1.8.0_20
Attached is a zip file containing the following files:
windows-Debug.txt - curl command and output of a successful go
windows-Production.txt - same but when it fails with the above reponse
ubuntu-Production.txt - Linux curl against the Production code with successful reply
PNG - the History and Logs popup with “failure”