Session behavior after creator leaves

I know the documents say when session creator leaves, the session becomes orphan. But does it mean that the session is gone and not usable by others?

This question is motivated by this scenario:

  1. A creates session and invites B
  2. B accpets
  3. A leaver the session
  4. B tries to invite A back to the session

But we see a “Not Found” error in step #4 above. Is this expected behavior?

That’s correct and expected, yes. As host migration is not supported at the EOS Session level, when the session owner leaves, the session will eventually be destroyed on the backend.

After 3 minutes of no SDK heartbeat from the owner, the session will stop being returned from searches, and after 15 minutes the backend will assume the session is dead and drop the data.

If the SDK does tick again after that period, it will actually silently recreate the session on the backend without the need for additional logic.

Thanks Ieuan +1