Skip to content

Software caused connection abort on network disconnection #173

@Shusek

Description

@Shusek

Describe the bug

During a websocket connection when user turn off wifi connection he got "Software caused connection abort" exception. This exception is uncatchable so it cause application crash. I'm debugging which component is causing this error but it's pretty hard if anyone could confirm its occurrence it was great.

Reproduction and additional details

  1. Connect to stomp by secure protocol
  2. Turn off wifi
  3. Crash occured

Context

  • Krossbow version: 2.7.0
  • Kotlin version: 1.6.0
  • Kotlin target(s): Android
  • org.conscrypt:conscrypt-android:2.5.2
  • okio 3.0.0
  • ktor 1.6.7

Artifacts used:

  • krossbow-stomp-core
  • krossbow-stomp-jackson
  • krossbow-stomp-kxserialization
  • krossbow-websocket-core
  • krossbow-websocket-sockjs
  • krossbow-websocket-spring
  • krossbow-websocket-okhttp
  • krossbow-websocket-ktor

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions