We have deployed IBM App Center (from IBM MobileFirst Foundation 8.0) for Android in our Application Center.
Log on the Application Center install site to download IBM App Center.
Downloaded and installed IBM App Center to Mobile device and installed successfully.
When trying to log on to IBM AppCenter (mobile app) on the Mobile device, we get the following error:
Error on mobile device: "connection failed. check your connection details (http status 404)"
Trace_log: "[1/13/17 13:14:03:673 GST] 00002f71 id= DeviceService 3 create Response: [{"os":"Android","os_description":"Android 5.0"," model":"ALE-L21","nickname":"demo's ALE-L21","link":"http: //httpservername.companyname.com: 8080/applicationcenter/service/device/e6c6f83ef30e5c1d"," user_display":"****","maker":"HUAWEI","device_id":"e6c6f83ef30e5c122"," os_version":"21","created":"2017-01-13T09:14:03.663Z","updated":"2017- 01-13T09:14:03.663Z","family":"","user_id":"***"}]"
Additional info:
Loadbalancer (443) > ibm httpserver (8080) > Liberty (9080) > db2
Ideally 404 comes if the context is not proper. I am not sure if you have changed that. But in this link you can find an explanation how to properly configure the appcenter server definitions.
Related
I downloaded MobileFirst Developer Kit and now I want to open Ibm Application Center. In the tutorial says that "When you install MobileFirst Foundation, the Application Center is automatically installed in the specified application server." I enter the address "http://localhost:9080/appcenterconsole/" in web browser but I get the error "Context Root Not Found". The address "http://localhost:9080/mfpconsole" works. What do I need to do to open application center console?
The MobileFirst Developer Kit does not include the Application Center. Application Center is only available in the full (paid) version of the product.
I am getting a "CFNetwork SSLHandshake failed (-9824)" message on my iOS app using MobileFirst 6.3.
Using the following suggestion I can solve the issue, but I don't like it because of vulnerability.
CFNetwork SSLHandshake failed iOS 9
In my Build and Deploy target I have configured my server URL as https and my server supports TLS1.2. Why does it still give this error? The app connects over port 443.
Is it possible to configure MF6.3 to connect in a secure way to my MobileFirst server?
Make to sure the follow the instructions provided in this blog post: How to enable App Transport Security for iOS 9 in IBM MobileFirst Platform Server.
The blog post is exhaustive, so I will not summarize it here...
After successfully building the AppCenter client application and launching it in an iOS device, my problem is that when I enter my Worklight Server credentials, the server URL and the port and with or without the applicationcenter context, the loading progress keeps running...
How to solve this issue?
I agree with Idan, first thing to do is to run the application center client on the iOS emulator and look at the device logs. I have seen the loading never ending when the client was not compiled correctly, note that the native folder of the application center client worklight project contains native code (a cordova plugin) that needs to be present in order for the application to run properly. If this is the problem you are facing, the cordova log will tell you that the plugin named 'com.ibm.mobile.InstallerPlugin' is missing.
I am trying to configure and upload the AppCenter installer app.
I already have our actual mobile project deployed on our Worklight Server (running on WAS Liberty profile). Now, we'd like to install AppCenter installer app in order to distribute our app for testing.
I've read through this article here: http://www.redbooks.ibm.com/redpapers/pdfs/redp5005.pdf, but didn't see any information on setting up the application descriptor file for the AppCenter Mobile Client.
Currently, my application descriptor file is pointing to localhost. Should this be pointing to our Application Center server URL or our Application Center console? Should it have the same configurations as our mobile app? And if I need to point it to our console, do I need another context set up for the AppCenter?
First thing first, I suggest that you take a look at the IBM Worklight Information Center topics for Application Center.
As for your questions:
You need not do anything to the AppCenter project (the AppCenter Installer app) other than:
Building it as-is (this varies depending on the platform you build it for) - this means not changing its worklightServerRootURL value, is it not required to connect to a Worklight Server (the apps you will install through it - will)
Uploading it to the Application Center management console
Downloading AND installing it to your device
Configuring it in-app to point to the Application Center server
As for after building your own Worklight project
Simply upload the .ipa, .apk or .cod file to the Application Center management console
Installing it via the previously-installed AppCenter Installer app
You will need to repeat downloading the AppCenter Installer app for each device you want to perform testing on.
I installed worklight application center v5.0.6 on a Linux system. I used Liberty profile with the following property:
worklight application center URL:
http://{host}:9080/appcenterconsole/applications/Appplications.html
I am able to install the Installer on my android and IOS device using this URL:
http://{host}:9080/appcenterconsole/installers.html
However, when I run the "IBM App Center" client, I got failed to connect to the server error with the following setting input:
username: appcenteradmin
pass: mypass
server: {host}:9080/appcenterconsole/applications
SSL: OFF
Can anyone help me resolve this issue ?
The IBM App Center Client does not connect to appcenterconsole, it connects to the "Application Center Services", i.e. to applicationcenter.
Try as server: {host}:9080/applicationcenter
Example: 192.168.178.42:9080/applicationcenter
Details:
{host}:{port}/appcenterconsole is the Administration Console. You use this when you want to upload applications via browser. This is just the HTML frontent that you see in the browser.
{host}:{port}/applicationcenter are the REST services. They do the real work. The HTML frontend connect to the REST services automatically to do the real work. The Mobile Client does not need a "HTML frontend" since it is a mobile application that has its own GUI, hence it needs to connect to the REST services, not to the appcenterconsole.