bitshares / bitshares/bitshares-ui

Auto node switch/Activity tab bug

Open
#2,257 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
520
Forks
575
Avg merge
12h 7m
Merged PRs (30d)
5

Description

**Describe the bug**
2nd time use after installation of release 2.0.181129.
Extremely long node latency check; Activity tab shows recent transactions during latency check.
When auto-node connection is complete, recent transaction history disappears from the activity tab for a short time.
See log in comments below.
Please see #2256 , #1388

**To Reproduce**
Steps to reproduce the behavior:
1. Before closing current use of UI, go to the activity tab. Also note if auto-node is enabled or disabled
via the node access pop up. Close then re-open release 2.0.181129; note
latency check spinning wheel is extremely long. Note if still in the activity tab, recent transactions
appear during the latency check but disappear once the latency check is complete. After some time
the recent transaction history populates.

**Expected behavior**
Quick stable auto-node connection; with current and accurate recent transaction history in the activity tab regardless of auto-node switching enabled or disabled.

**Desktop (please complete the following information):**
- OS:Windows 8.1
- Browser Opera

**Additional context**
Add any other context about the problem here.
A clear and concise description of what the bug is.
log: Checked 1 connections, 0 failed
log: Latency result:[object Object]
log: Checked 1 connections, 0 failed
log: Latency result:[object Object]
error: checkConnectionsFailed to connect to wss://eu-west-1.bts.crypto-bridge.org Error: "Connection attempt timed out after 5s"
log: Checked 1 connections, 1 failed
log: Checked 1 connections, 0 failed
log: Latency result:[object Object]
log: Checked 1 connections, 0 failed
log: Latency result:[object Object]
log: Checked 1 connections, 0 failed
log: Latency result:[object Object]
log: Checked 1 connections, 0 failed
log: Latency result:[object Object]
log: Checked 1 connections, 0 failed
log: Latency result:[object Object]
error: checkConnectionsFailed to connect to wss://api.btsxchng.com
log: Checked 1 connections, 1 failed
error: checkConnectionsFailed to connect to wss://bitshares.openledger.info/ws Error: "Connection attempt timed out after 5s"
log: Checked 1 connections, 1 failed

**Additional comments**
With the UI open, and the user in manual node selection (auto-node switching disabled) the recent transactions appear in the activity tab when the UI is closed then re-opened.
With the UI open, and the user in auto-node selection (auto-node switching enabled) the recent transactions _do not appear_ in the activity tab when the UI is closed then re-opened again.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Reproduce the restart flow with auto-node switching enabled, then trace the auto-node connection and Activity tab transaction-loading paths, comparing them with manual node selection. Done means node selection completes promptly and recent transactions remain accurate and visible throughout the switch.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
blockchain, frontend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.