Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2008
    Posts
    116

    Default OX mobile api facade error

    Hi all,

    after successful installation and launching of the facade an the OX Mail app I get the following error, that floods my log-files:

    /var/log/open-xchange/mobile-api-facade/mobile-api-facade.log.0
    Code:
    2018-11-06T15:20:58,500+0100 INFO  [OXWorker-0000005] com.openexchange.mobile.api.facade.endpoints.PushEndpoint.subscribePush(PushEndpoint.java:85)
    Subscribe for push notifications
     com.openexchange.grizzly.method=POST
     com.openexchange.grizzly.pathInfo=/api-facade/v1/push/subscribe
     com.openexchange.grizzly.queryString=<none>
     com.openexchange.grizzly.remoteAddress=2a03:567:1::23
     com.openexchange.grizzly.remotePort=51718
     com.openexchange.grizzly.requestURI=/services/api-facade/v1/push/subscribe
     com.openexchange.grizzly.serverName=xxxxxx.dynv6.net
     com.openexchange.grizzly.servletPath=/services
     com.openexchange.grizzly.threadName=OXWorker-0000005
     com.openexchange.grizzly.userAgent=OpenXchange.Android.Mail/999.0 (OS: 8.1.0; device: LEX720)
     com.openexchange.localhost.ipAddress=192.168.xx.1
     com.openexchange.localhost.version=7.10.0-Rev19
    2018-11-06T15:20:58,685+0100 ERROR [OXWorker-0000005] com.openexchange.mobile.api.facade.connectors.AbstractConnector.execute(AbstractConnector.java:149)
    Failed to execute request
     com.openexchange.grizzly.method=POST
     com.openexchange.grizzly.pathInfo=/api-facade/v1/push/subscribe
     com.openexchange.grizzly.queryString=<none>
     com.openexchange.grizzly.remoteAddress=2a03:567:1::23
     com.openexchange.grizzly.remotePort=51718
     com.openexchange.grizzly.requestURI=/services/api-facade/v1/push/subscribe
     com.openexchange.grizzly.serverName=xxxxxx.dynv6.net
     com.openexchange.grizzly.servletPath=/services
     com.openexchange.grizzly.threadName=OXWorker-0000005
     com.openexchange.grizzly.userAgent=OpenXchange.Android.Mail/999.0 (OS: 8.1.0; device: LEX720)
     com.openexchange.localhost.ipAddress=192.168.xx.1
     com.openexchange.localhost.version=7.10.0-Rev19
    com.openexchange.mobile.api.facade.exceptions.ApiFacadeException: No content to map due to end-of-input
     at [Source: (org.apache.http.impl.io.EmptyInputStream); line: 1, column: 0]
    	at com.openexchange.mobile.api.facade.exceptions.ApiFacadeException.create(ApiFacadeException.java:213)
    	at com.openexchange.mobile.api.facade.exceptions.ApiFacadeException.create(ApiFacadeException.java:203)
    	at com.openexchange.mobile.api.facade.exceptions.ApiFacadeException.internalServerError(ApiFacadeException.java:191)
    	at com.openexchange.mobile.api.facade.connectors.AbstractConnector.handleResponse(AbstractConnector.java:187)
    	at com.openexchange.mobile.api.facade.connectors.AbstractConnector.execute(AbstractConnector.java:147)
    	at com.openexchange.mobile.api.facade.services.PushService.subscribe(PushService.java:70)
    	at com.openexchange.mobile.api.facade.endpoints.PushEndpoint.subscribePush(PushEndpoint.java:87)
    	at sun.reflect.GeneratedMethodAccessor230.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
    	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:164)
    	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:181)
    	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:158)
    	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:101)
    	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
    	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
    	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
    	at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:305)
    	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
    	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
    	at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
    	at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
    	at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
    	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
    	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:288)
    	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1110)
    	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:401)
    	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:386)
    	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:335)
    	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:222)
    	at org.glassfish.grizzly.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:147)
    	at com.openexchange.http.grizzly.servletfilter.RequestReportingFilter.doFilter(RequestReportingFilter.java:138)
    	at org.glassfish.grizzly.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:137)
    	at com.openexchange.http.grizzly.servletfilter.WrappingFilter.doFilter(WrappingFilter.java:222)
    	at org.glassfish.grizzly.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:137)
    	at com.openexchange.http.grizzly.service.http.OSGiAuthFilter.doFilter(OSGiAuthFilter.java:139)
    	at org.glassfish.grizzly.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:137)
    	at org.glassfish.grizzly.servlet.FilterChainImpl.invokeFilterChain(FilterChainImpl.java:106)
    	at org.glassfish.grizzly.servlet.ServletHandler.doServletService(ServletHandler.java:226)
    	at org.glassfish.grizzly.servlet.ServletHandler.service(ServletHandler.java:178)
    	at com.openexchange.http.grizzly.service.http.OSGiMainHandler.service(OSGiMainHandler.java:296)
    	at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224)
    	at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$MDCProvidingRunnable.run(CustomThreadPoolExecutor.java:2575)
    	at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.runTask(CustomThreadPoolExecutor.java:841)
    	at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:868)
    	at java.lang.Thread.run(Thread.java:748)
    Caused by: com.fasterxml.jackson.databind.exc.MismatchedInputException: No content to map due to end-of-input
     at [Source: (org.apache.http.impl.io.EmptyInputStream); line: 1, column: 0]
    	at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:59)
    	at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:4133)
    	at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3988)
    	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3072)
    	at com.openexchange.mobile.api.facade.connectors.AbstractConnector.handleResponse(AbstractConnector.java:176)
    	... 43 common frames omitted
    However the app seems to work normal. Sending of Mail works.

    Any suggestions? Further information needed?
    Viele Gre
    Rene

    OS: Ubuntu Server amd64 16.4 LTS
    JRE: openjdk-8-jre, MySQL 5.7, Apache 2.4, Dovecot 2.2.22
    OX-Server backend: OXSE latest
    OX-frontend: OXSE latest appsuite + ox6

  2. #2
    Join Date
    Sep 2007
    Location
    Germany
    Posts
    541

    Default

    Is push completely configured and working?
    http://oxpedia.org/wiki/index.php?ti..._Configuration

    I think I haven't seen such a message and since it is related to something like subscribePush I'm wondering if the relevant endpoints are up and running in the server.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •