AppWorks Mobile app fails to connect on HTTPS port

Hi,
Having installed and configuring AppWorks 16.5, I am running into an issue where the mobile app fails to connect with the following error:

enter image description here

If I navigate to the URL in a browser it opens as expected,

The sever.xml file is configured as outlined in the installation guide (using a self-signed certificate):

<Connector  port="9092"
    protocol="org.apache.coyote.http11.Http11NioProtocol"
    maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
    clientAuth="false" sslProtocol="TLS"
    keystoreFile="c:\cert\ghataura.jks"
    keystorePass="ghataura"
    keyAlias="otappworks"
    keystoreType="jks"
/>

In the gateway.log I see the following:

2019-02-13 06:46:59,4262019-02-13T06:46:59,426 [localhost-startStop-1] INFO otag.util.HostContainer - Used InetAddress to resolve host otappworks.ghataura.com
2019-02-13 06:46:59,4262019-02-13T06:46:59,426 [localhost-startStop-1] INFO otag.util.HostContainer - Attempting to derive the containers HTTP ports
2019-02-13 06:46:59,4262019-02-13T06:46:59,426 [localhost-startStop-1] INFO otag.util.HostContainer - Derived container http port =:8082
2019-02-13 06:46:59,4412019-02-13T06:46:59,441 [localhost-startStop-1] WARN otag.util.HostContainer - Multiple https Connectors detected in server.xml, cannot set https port

As with the configured http, should the configured https port also be detected? I am not sure why it reports Multiple https Connectors detected in server.xml as there is only 1 configured https port.

Additionally is it following error normal to be reported?

2019-02-13 06:47:08,3012019-02-13T06:47:08,301 [localhost-startStop-1] INFO notifications.fcm.FcmConnectionManagerImpl - Db Connected - Registering known FirebaseProjects
2019-02-13 06:47:08,6452019-02-13T06:47:08,645 [localhost-startStop-1] WARN notifications.fcm.FcmConnectionManagerImpl - Failed to get connection for appworks-gateway165: FirebaseApp with name appworks-gateway165 doesn't exist. , trying to load from Db
java.lang.IllegalStateException: FirebaseApp with name appworks-gateway165 doesn't exist. 
    at com.google.firebase.FirebaseApp.getInstance(FirebaseApp.java:164) ~[firebase-admin-6.3.0.jar:?]
    at com.opentext.otag.notifications.fcm.FcmConnectionManagerImpl.getConnection(FcmConnectionManagerImpl.java:51) ~[classes/:?]
    at com.opentext.otag.notifications.fcm.FcmConnectionManagerImpl.connect(FcmConnectionManagerImpl.java:87) ~[classes/:?]
    at com.opentext.otag.notifications.fcm.FcmConnectionManagerImpl.lambda$onDbSetup$0(FcmConnectionManagerImpl.java:42) ~[classes/:?]
    at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source) [?:1.8.0_202]
    at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) [?:1.8.0_202]
    at java.util.HashMap$KeySpliterator.forEachRemaining(Unknown Source) [?:1.8.0_202]
    at java.util.stream.AbstractPipeline.copyInto(Unknown Source) [?:1.8.0_202]
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) [?:1.8.0_202]
    at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source) [?:1.8.0_202]
    at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source) [?:1.8.0_202]
    at java.util.stream.AbstractPipeline.evaluate(Unknown Source) [?:1.8.0_202]
    at java.util.stream.ReferencePipeline.forEach(Unknown Source) [?:1.8.0_202]
    at com.opentext.otag.notifications.fcm.FcmConnectionManagerImpl.onDbSetup(FcmConnectionManagerImpl.java:41) [classes/:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_202]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_202]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_202]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_202]
    at org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:256) [spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
    at org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:177) [spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
    at org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:140) [spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
    at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) [spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
    at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) [spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
    at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) [spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393) [spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:360) [spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
    at com.opentext.otag.events.EventPublisher.publishEvent(EventPublisher.java:39) [classes/:?]
    at com.opentext.otag.config.AWStartupMessageBean.startup(AWStartupMessageBean.java:55) [classes/:?]
    at com.opentext.otag.config.SpringStartupListener.onApplicationEvent(SpringStartupListener.java:28) [classes/:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_202]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_202]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_202]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_202]
    at org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:256) [spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
    at org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:177) [spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
    at org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:140) [spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
    at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) [spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
    at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) [spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
    at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) [spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393) [spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347) [spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:883) [spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546) [spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
    at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443) [spring-web-4.3.20.RELEASE.jar:4.3.20.RELEASE]
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325) [spring-web-4.3.20.RELEASE.jar:4.3.20.RELEASE]
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) [spring-web-4.3.20.RELEASE.jar:4.3.20.RELEASE]
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812) [catalina.jar:8.5.37]
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5278) [catalina.jar:8.5.37]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:8.5.37]
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754) [catalina.jar:8.5.37]
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730) [catalina.jar:8.5.37]
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) [catalina.jar:8.5.37]
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:629) [catalina.jar:8.5.37]
    at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839) [catalina.jar:8.5.37]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_202]
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_202]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_202]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_202]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_202]

Comments