GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — When matching, "OSStatus 200500" error is returned · Issue #144 · hap-java/HAP-Java

When matching, "OSStatus 200500" error is returned #144

New issue
Copy link
New issue
Copy link
Open
Open
When matching, "OSStatus 200500" error is returned#144
Copy link

Description

@sercangoger
sercangoger
opened on May 8, 2021
Issue body actions

Hello, I started to run this existing library on an android application. But I have some problems.
The first one works for android API 28 and above, this library does not work for lower versions.
Second, I developed an application in API 28 version. I can show myself as bridge in IOS Homekit application. but
When I match, enter the password and click the next button, I get an "OSStatus 200500" error.

Activity

  1. andylintner commented on May 8, 2021

    @andylintner
    andylintner
    on May 8, 2021
    Collaborator
    More actions

    It's never worked on Android. There was a contribution in #116 to resolve this, but the contributor appears to have abandoned the effort.

  2. XhosaS commented on Oct 26, 2021

    @XhosaS
    XhosaS
    on Oct 26, 2021
    More actions

    I get an "OSStatus 200500" error too,I think this error is not related to Android

  3. XhosaS commented on Nov 19, 2021

    @XhosaS
    XhosaS
    on Nov 19, 2021
    More actions

    I solved this problem!

    My device get "OSStatus 200500" because this exception:

    W/i*.g*.h*.s*.i*.c*.Http*: Could not handle request
        javax.json.JsonException: Provider org.glassfish.json.JsonProviderImpl not found
            at javax.json.spi.JsonProvider.provider(JsonProvider.java:97)
            at javax.json.Json.createArrayBuilder(Json.java:257)
            at io.github.hapjava.server.impl.json.AccessoryController.listing(AccessoryController.java:31)
            at io.github.hapjava.server.impl.connections.HttpSession.handleAuthenticatedRequest(HttpSession.java:74)
            at io.github.hapjava.server.impl.connections.ConnectionImpl.doHandleRequest(ConnectionImpl.java:55)
            at io.github.hapjava.server.impl.connections.ConnectionImpl.handleRequest(ConnectionImpl.java:49)
            at io.github.hapjava.server.impl.http.impl.AccessoryHandler.channelRead0(AccessoryHandler.java:52)
            at io.github.hapjava.server.impl.http.impl.AccessoryHandler.channelRead0(AccessoryHandler.java:17)
            at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
            at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
            at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:56)
            at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:365)
            at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66)
            at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044)
            at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
            at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
            at java.lang.Thread.run(Thread.java:764)
    

    I check my project and find my gradle configuration is that:

    implementation files('libs\\slf4j-android-1.6.1-RC1.jar')
        // hap-java
        implementation ('io.github.hap-java:hap:2.0.0') {
            exclude group:'org.glassfish', module: 'javax.json'
            exclude group:'org.zeromq', module: 'curve25519-java'
            exclude group:'org.slf4j', module: 'slf4j-api'
        }
        implementation "com.google.zxing:core:3.3.0"
    

    fix the first exclude:

    implementation files('libs\\slf4j-android-1.6.1-RC1.jar')
        // hap-java
        implementation ('io.github.hap-java:hap:2.0.0') {
            exclude group:'javax.json', module: 'javax.json-api'
            exclude group:'org.zeromq', module: 'curve25519-java'
            exclude group:'org.slf4j', module: 'slf4j-api'
        }
        implementation "com.google.zxing:core:3.3.0"
    

    by the way, slf4j is not work good in Android,so this problem is too hard to find reason,util I find slf4j for android, so if we want run this project in Android, recommend replace slf4j.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.