platform icon indicating copy to clipboard operation
platform copied to clipboard

doc: which services start in which order

Open coolaj86 opened this issue 1 year ago • 2 comments

If you don't start the services in the right order, sometimes they just crash and don't restart (looking at you tenderdash).

Although that behavior is probably a bug... but right now I just want to document the relationships:

dashd        19999 (P2P), 19998 (RPC), 18009 (ZMQ)
├── dapi-core-streams 2510 (gRPC), <needs ZMQ>
├── drive
│   └── tenderdash 26656 (P2P, alt port for testnet?), 26657 (Tender RPC), 26658 (ABCI), 26660 (Prometheus), 36656 (seed peers?)
│       └── dapi-api 2501 (JSON RPC), 2500 (gRPC)
└── caddy (10000 testnet, 443 mainnet)
    └── envoy (3080 - arbitrary for comms with caddy)

Ports required for ProRegTx testnet:

Dashcore P2P 19999
Tenderdash 26656 (though I chose 26262)
HTTPS gRPC Bridge 10000

coolaj86 avatar Mar 07 '24 05:03 coolaj86

What exactly do you see crashing. I think the right approach should be that it waits until could connect and should not crash. Could you post some logs?

pshenmic avatar Mar 07 '24 22:03 pshenmic

I believe tenderdash is the thing that's the most finicky - erroring out when drive is restarted. It was either that or drive erroring out when tenderdash was restarted.

Next time I see it happen I will post back the logs.

coolaj86 avatar Mar 08 '24 05:03 coolaj86

Tenderdash is failing in some cases when Drive is falling. When Tenderdash is restarting, Drive is not. Please let us know if you see it behaves differently.

shumkov avatar Sep 23 '24 16:09 shumkov