fix: change blockchain-node RPC port from 8006 to 8005
Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Failing after 2s
Integration Tests / test-service-integration (push) Failing after 11s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 2s
P2P Network Verification / p2p-verification (push) Successful in 2s
Python Tests / test-python (push) Successful in 15s
Security Scanning / security-scan (push) Failing after 34s

- Update combined_main.py to use port 8005 for blockchain-node RPC
- blockchain-rpc service remains on port 8006
- Resolves port conflict causing blockchain-node service failures
This commit is contained in:
aitbc
2026-04-24 11:45:25 +02:00
parent ea765d0894
commit b2fa1099c2

View File

@@ -38,14 +38,14 @@ class CombinedService:
config = uvicorn.Config( config = uvicorn.Config(
app, app,
host="0.0.0.0", host="0.0.0.0",
port=8006, port=8005,
log_level="info" log_level="info"
) )
self._http_server = uvicorn.Server(config) self._http_server = uvicorn.Server(config)
http_task = asyncio.create_task(self._http_server.serve()) http_task = asyncio.create_task(self._http_server.serve())
self._tasks.append(http_task) self._tasks.append(http_task)
logger.info("Combined service started - Node on mainnet, RPC server on port 8006") logger.info("Combined service started - Node on mainnet, RPC server on port 8005")
try: try:
# Wait for any task to complete (should not happen in normal operation) # Wait for any task to complete (should not happen in normal operation)