fix: update CLI default RPC port from 8006 to 8005
Fixed CLI blockchain connection timeout errors by updating default RPC URL from port 8006 to port 8005 across all CLI modules. Root cause: - Port 8006 is for blockchain P2P protocol (not HTTP RPC) - Port 8005 is the HTTP RPC API port - CLI was trying to use HTTP on port 8006, causing timeouts Updated files: - cli/advanced_wallet.py: DEFAULT_RPC_URL - cli/enterprise_cli.py: DEFAULT_RPC_URL - cli/commands/blockchain.py: _get_node_endpoint() - cli/core/main.py: default_rpc_url - cli/commands/sync.py: source and import-url defaults - cli/commands/marketplace.py: rpc_url config default - cli/commands/blockchain_event_bridge.py: test mode config - cli/handlers/bridge.py: test mode config - cli/commands/deployment.py: service endpoints This fixes the training script errors where CLI commands were timing out when trying to connect to the blockchain node.
This commit is contained in:
@@ -87,7 +87,7 @@ def handle_bridge_config(args):
|
||||
|
||||
if args.test_mode:
|
||||
print("⚙️ Blockchain Event Bridge Configuration (test mode):")
|
||||
print("🔗 Blockchain RPC URL: http://localhost:8006")
|
||||
print("🔗 Blockchain RPC URL: http://localhost:8005")
|
||||
print("💬 Gossip Backend: redis")
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user