Search code examples
androidibm-mobilefirst

Device can't connect to Worklight Server


I've deployed an app built with Worklight Studio 6.0 to my mobile phone.

Unfortunately I get the UNEXPECTED_ERROR code 404 when the app tries to connect to the server (inside WL Studio). See below:

{"status":404,"errorCode":"UNEXPECTED_ERROR","errorMsg":"Il server non è stato in grado di elaborare la richiesta dell'applicazione. Riprova più tardi."}"

The problem is that, speaking about the Android environment, the wlclient.properties is correctly filled up by the IP, PORT, CONTEXT ROOT:

wlServerProtocol = http
wlServerHost = 192.168.0.100
wlServerPort = 10080
wlServerContext = /MyHybridApps/
wlAppId = MyMobileBanking

I can't understand where's the issue or what I could check in order to find it.

Thanks in advance.


Solution

  • I found the problem, it was a mistake in the config.xml file. Now the app is connected to the server. Thanks anyway for your help.