Skip to content

Issue with stream management reconnection (after closing app) #252

@thedjnK

Description

@thedjnK

Describe the bug
Testing against openfire version 5.0.3 with default settings, seemingly with stream management enabled on openfire, the app can connect fine when creating the account, it seems to stay connected and resume instantly if you e.g. lock the screen and leave it for a while, however when you connect, then close the app from the task manager, then re-open it, it seems to have some issue. The openfire status of the session after closing is "detached" - which is expected, then when opening the app it remains in "detached" for about 10 seconds or so, then it changes to "Invalid session/connection", then after quite some time (about a minute) it changes to being connected with the IP address of the client.
If stream management is disabled on openfire, then seemingly the app connects instantly each time it is opened without issue, therefore indicating that the issue is within the stream management parts of this app (I do not believe that the issue would be in openfire's implementation)

To Reproduce
Steps to reproduce the behavior:

  1. Enable stream management on server (openfire)
  2. Open app
  3. Add account
  4. Connect
  5. Close app from task switcher
  6. Reopen app
  7. Watch and wait

Expected behavior
For it to reconnect properly

Screenshots
Screenshot from openfire server when you reopen the app:

Image

Details (please complete the following information):

  • Siskin Version: 7.3.3
  • iOS version: 13.4
  • iPhone model: iPhone SE 2020

Additional context
Should note, all this is being tested on the same local network, so the delay is not caused by e.g. cellular latency

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions