Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSE failure causes crash #3654

Open
mueller-ma opened this issue Apr 21, 2024 · 0 comments
Open

SSE failure causes crash #3654

mueller-ma opened this issue Apr 21, 2024 · 0 comments
Labels
bug Indicates an unexpected problem or unintended behavior

Comments

@mueller-ma
Copy link
Member

Actual behaviour

Fatal Exception: org.openhab.habdroid.util.HttpClient$SseFailureException: java.net.SocketException: Software caused connection abort
       at org.openhab.habdroid.util.HttpClient$SseListener$onFailure$1.invokeSuspend(HttpClient.kt:22)
       at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:11)
       at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:93)
       at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:73)
       at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:26)
       at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:73)
       at kotlinx.coroutines.BuildersKt.runBlocking()
       at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:6)
       at kotlinx.coroutines.BuildersKt.runBlocking$default()
       at org.openhab.habdroid.util.HttpClient$SseListener.onFailure(HttpClient.kt:15)
       at okhttp3.internal.sse.RealEventSource.processResponse(RealEventSource.kt:133)
       at okhttp3.internal.sse.RealEventSource.onResponse(RealEventSource.kt:10)
       at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:51)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
       at java.lang.Thread.run(Thread.java:1012)

Expected behaviour

App must not crash.

Steps to reproduce

Unable to reproduce, crash came through Firebase.

Environment data

Client

  • Android version: 14
  • App version : 3.12.0
@mueller-ma mueller-ma added the bug Indicates an unexpected problem or unintended behavior label Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

1 participant