Arlodotexe/strix-music

App crashes when using local Kubo node without pubsub enabled

Arlodotexe opened this issue · 1 comments

Describe the bug

When you run a local Kubo node without enabling pubsub, then try to use that node for Strix, it'll cause the app to crash.

Affected area

  • Strix Music SDK
  • Strix Music App

Regression

No response

Steps to reproduce

1. Run Kubo from the CLI
2. Start the app
3. Enable or start IPFS if needed
4. Observe the crash

Visual repro steps

image

Expected behavior

It should notify the user that they need to enable pubsub. Maybe offer to apply a config command which enables it for you.

Additional context

No response

Help us help you

Yes, but only if others can assist.

Low priority as local nodes cannot be used in Release mode yet due to sandbox restrictions. Will need to be revisited when we enable that scenario, or when we get IPFS working in Wasm.