Incorrect SON Network unavailable error
On a fresh testnet (1.5.20-alpha) with SONs enabled, I am receiving the error that SONs network is down
Expected Behavior
I should have been able to generate a bitcoin deposit address via the NEX-UI
Current Behavior
Currently, the nex is stating the SONs network is down - I believe this could be related to the change in how SONs are displayed (they are now seperated per sidechain)
This is incorrect as per:
get_son_network_status
[[
"bitcoin",[[
"1.33.0",
"OK, regular SON heartbeat"
],[
"1.33.1",
"OK, regular SON heartbeat"
],[
"1.33.2",
"OK, regular SON heartbeat"
],[
"1.33.3",
"OK, regular SON heartbeat"
],[
"1.33.4",
"OK, regular SON heartbeat"
]
]
],[
"ethereum",[[
"1.33.0",
"OK, regular SON heartbeat"
],[
"1.33.1",
"OK, regular SON heartbeat"
],[
"1.33.2",
"OK, regular SON heartbeat"
],[
"1.33.3",
"OK, regular SON heartbeat"
],[
"1.33.4",
"OK, regular SON heartbeat"
]
]
],[
"hive",[[
"1.33.0",
"OK, regular SON heartbeat"
],[
"1.33.1",
"OK, regular SON heartbeat"
],[
"1.33.2",
"OK, regular SON heartbeat"
],[
"1.33.3",
"OK, regular SON heartbeat"
],[
"1.33.4",
"OK, regular SON heartbeat"
]
]
]
]
Include screenshots or videos or both if applicable
Showing SONs network is available:
get_son_network_status
[[
"bitcoin",[[
"1.33.0",
"OK, regular SON heartbeat"
],[
"1.33.1",
"OK, regular SON heartbeat"
],[
"1.33.2",
"OK, regular SON heartbeat"
],[
"1.33.3",
"OK, regular SON heartbeat"
],[
"1.33.4",
"OK, regular SON heartbeat"
]
]
],[
"ethereum",[[
"1.33.0",
"OK, regular SON heartbeat"
],[
"1.33.1",
"OK, regular SON heartbeat"
],[
"1.33.2",
"OK, regular SON heartbeat"
],[
"1.33.3",
"OK, regular SON heartbeat"
],[
"1.33.4",
"OK, regular SON heartbeat"
]
]
],[
"hive",[[
"1.33.0",
"OK, regular SON heartbeat"
],[
"1.33.1",
"OK, regular SON heartbeat"
],[
"1.33.2",
"OK, regular SON heartbeat"
],[
"1.33.3",
"OK, regular SON heartbeat"
],[
"1.33.4",
"OK, regular SON heartbeat"
]
]
]
]
The message posted via NEX-UI:
Possible solutions
- Update command
get_sonstoget_son
Steps to Reproduce
- Provide a link to a live example, or an unambiguous set of steps to reproduce
- Connect to nex-devnet.peerplays.download
- Create a new account
- Attempt to generate a bitcoin deposit address address
Context (Environment)
- Ubuntu 20.04.5 LTS
- Brave v1.47.186
- Chrome Version 109.0.5414.120
Relevant console.log:
!!! GrapheneApi error: get_sons Array(1) Object {"code":1,"message":"Bad Cast: Invalid cast from type 'null_type' to Object","data":{"code":7,"name":"bad_cast_exception","message":"Bad Cast","stack":[{"context":{"level":"error","file":"variant.cpp","line":566,"method":"get_string","hostname":"","thread_name":"th_a","timestamp":"2023-02-06T14:40:02"},"format":"Invalid cast from type '${type}' to Object","data":{"type":"null_type"}},{"context":{"level":"warn","file":"object_id.hpp","line":210,"method":"from_variant","hostname":"","thread_name":"th_a","timestamp":"2023-02-06T14:40:02"},"format":"","data":{"var":null}},{"context":{"level":"warn","file":"websocket_api.cpp","line":128,"method":"on_message","hostname":"","thread_name":"th_a","timestamp":"2023-02-06T14:40:02"},"format":"","data":{"call.method":"call","call.params":[3,"get_sons",[[null,null,null]]]}}]}}
NEX release or git commit hash:
hotfix/0.5.2
Bitcoin version:
Bitcoin Core version v22.0.0
Hive version :
"version":{"blockchain_version":"1.27.0","hive_revision":"b322c4c19f11f084d09be0dd7d9c615339dce13e","fc_revision":"b322c4c19f11f084d09be0dd7d9c615339dce13e"
