airalab / robonomics.app

Manage your IoT devices through web3 infrastructure; Supports integration with Home Assistant
https://robonomics.app
BSD 3-Clause "New" or "Revised" License
14 stars 8 forks source link

[BUG] Switch subscriptions on device page #173

Open nakata5321 opened 1 month ago

nakata5321 commented 1 month ago

1. Development/Production dev.robonomics.app on commit https://github.com/airalab/robonomics.app/commit/421bcb719d6ac739db89c01a686600021dcc6a77

2. Page Address /telemetry

3. Error Info/Story I have few subscription on my robonomics app: Screenshot_20241003_161726

I go the the telemetry page and logging in with one subscription. As result, i see my devices: image

And now I want to change to the other subscription: Screenshot_20241003_162110

As result it not drop me out of devices, and I've got error that I have invalid mnemonic: image

Problem - The app don't me log out from previous subscription and tried to download new subscription. As result - Error only in console, and in UI i see only endless download.

4. Expected behavior When I choose other subscription, it should log me out and ask again seed phrase.

5. Console logs

Invalid bip39 mnemonic specified
common.js:126 Error: decryptMsg
common.js:52 Invalid bip39 mnemonic specified
common.js:126 Error: decryptMsg
common.js:52 Invalid bip39 mnemonic specified
common.js:126 Error: decryptMsg
common.js:52 Invalid bip39 mnemonic specified
common.js:126 Error: decryptMsg
common.js:52 Invalid bip39 mnemonic specified
common.js:126 Error: decryptMsg
3page.js:1 Attempt 1 failed: Could not establish connection. Receiving end does not exist.
(anonymous) @ content.js:1
await in (anonymous)
(anonymous) @ content.js:1
postMessage
(anonymous) @ page.js:1
F @ page.js:1
(anonymous) @ page.js:1
Show 2 more frames
Show less
common.js:52 Invalid bip39 mnemonic specified
common.js:126 Error: decryptMsg
common.js:52 Invalid bip39 mnemonic specified
common.js:126 Error: decryptMsg
common.js:52 Invalid bip39 mnemonic specified
common.js:126 Error: decryptMsg

6. Context Browser: Brave