Skip to content

Bug: inboxId with 5 app installations connection stalling forever #1097

@Barabazs

Description

@Barabazs

Describe the bug

I have an inboxId that's associated with 5 app installations (on dev network).
When trying to connect/authenticate to a new app, the connection process just stalls forever instead of throwing an error. (see redacted log below from xmtp.chat)

When I revoke 1 installation and retry the connection with xmtp.chat, it works as expected.

[xmtp.chat] XMTP Browser SDK version: 3.1.0-rc1
Unable to get preferred account types
DEBUG xmtp_db::encrypted_store::database::wasm: creating persistent opfs db @xmtp-dev-621c***.db3
INFO xmtp_db::encrypted_store: sqlite_version=3.50.1
INFO xmtp_db::encrypted_store: Migrations successful
INFO initialize_identity: xmtp_mls::identity: Initializing identity
DEBUG initialize_identity: xmtp_mls::identity: identity in store: None
INFO initialize_identity:new:get_inbox_ids{account_identifiers=[ApiIdentifier { identifier: "0x***", identifier_kind: Ethereum }] len=1}: xmtp_api::identity: Getting inbox_ids for account identities: [ApiIdentifier { identifier: "0x***", identifier_kind: Ethereum }]
DEBUG initialize_identity:new:get_inbox_ids{account_identifiers=[ApiIdentifier { identifier: "0x***", identifier_kind: Ethereum }] len=1}: xmtp_api_http: get_inbox_ids
DEBUG initialize_identity:new:load_identity_updates: xmtp_mls::identity_updates: Fetching identity updates for: ["621c***"]
DEBUG initialize_identity:new:load_identity_updates:get_identity_updates_v2{filters=[GetIdentityUpdatesV2Filter { inbox_id: "621c***", sequence_id: Some(729434) }] len=1}: xmtp_api_http: get_identity_updates_v2
DEBUG initialize_identity:new: xmtp_db::encrypted_store::association_state: Loaded association state from cache: 621c*** 729434

Expected behavior

I would expect an error message so it can be handled by the app.

Steps to reproduce the bug

  1. have an inboxId with 5 associated installations
  2. go to xmtp.chat and try to connect

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