bosnet / bosnet/isaac-consensus-protocol

error send-message.py http://localhost:54320 per readme.md

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
22
Forks
3
PR merge metrics
No merged PRs in 30d

Description

send-message.py http://localhost:54320
● 1523369918.47250175 - __main__ - DEBU - options: Namespace(endpoints=['http://localhost:54320'], log_level='debug', log_no_color=False, log_output=None, log_output_metric=None, log_show_line=False, message=None, verbose=False) - {}
● 1523369918.47284508 - __main__ - DEBU - trying to send message, None to [] - {}
**● 1523369918.48292732 - client - ERRO - failed to send message, to - {}**
● 1523369918.48446798 - __main__ - DEBU - sent message, {'message_id': '10074dee3cca11e8a393a434d953520f', 'data': 'Non-100742503cca11e8a393a434d953520f'} to - {}

I'm following the directions on the https://github.com/bosnet/isaac-consensus-protocol/blob/master/README.md, and it doesn't say to setup localhost:54320 so when I try to send message it fails. If I change the command to a node which is already running i.e. localhost:5002 it passes. I would suggest it's explained in the readme to use http://localhost:port of a running node like localhost:5002, and change the commands to reflect working ports.

send-message.py http://localhost:5002
● 1523370173.77760696 - __main__ - DEBU - options: Namespace(endpoints=['http://localhost:5002'], log_level='debug', log_no_color=False, log_output=None, log_output_metric=None, log_show_line=False, message=None, verbose=False) - {}
● 1523370173.77791095 - __main__ - DEBU - trying to send message, None to [] - {}
● 1523370173.78889441 - client - DEBU - sent message, to - {}
● 1523370173.79023504 - __main__ - DEBU - sent message, {'message_id': 'a833bbb03cca11e88a10a434d953520f', 'data': 'Velit-a833b1e63cca11e88a10a434d953520f'} to - {}

Contributor guide

Open the contributing guide

Research direction

Start with README.md and compare its send-message.py example using http://localhost:54320 with the working localhost:5002 example reported here. Update the instructions and command examples to use the endpoint of a running node, then verify the documented command succeeds against that endpoint.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.