Skip to content Skip to sidebar Skip to footer

Ibm Worklight 6.1 - Server Connection Issue

I am working on a IBM Worklight hybrid app POC. I am facing an issue with connecting an app to the WL server. Once deployed on worklight console, when i view it in the browser, it'

Solution 1:

If your application is set to connect to the server on startup and it is unsuccessful you should see the following dialog box "The application failed connecting to the service". To make sure it is attempting to connect to the correct address and context root click the "Details" button. You will then see in the following page a "Service URL" that shows the URL such as:

http://"address":"port"/"context root"/....

Make sure these settings match the address, port and context root of the server you are attempting to connect to. If they do attempt to connect to http://"address":"port"/"context root"/console in the devices browser to make sure the device has access to the server. Finally you can check the "Error Code" and "Error Message" portions inside the details page as well to provide us further diagnostic information.

Note: If you do not see the "Details" button explained above please make sure you have set the following in your applicationDescriptor for each specific environment (available on iOS and Android):

 <worklightSettings include="true"/>

More information can be found here: https://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/index.jsp?topic=%2Fcom.ibm.worklight.dev.doc%2Fdev%2Fc_setting_page.html&resultof%3D%2522worklight%2522%2520%2522settings%2522%2520%2522set%2522

Post a Comment for "Ibm Worklight 6.1 - Server Connection Issue"