-
Notifications
You must be signed in to change notification settings - Fork 7
Description
In the README, there are the following typos:
./target/release/coordinator
-h HOSTNAME
-p PORT
-e "http://HOST_ENDORSER_1:PORT,http://HOST_ENDORSER_2:PORT,http://HOST_ENDORSER_3:PORT"
-s "memory" # use "table" to use Azure table instead and provide the following
-a AZURE_STORAGE_ACCOUNT_NAME
-k AZURE_STORAGE_MASTER_KEY
Hostname is specified with -t
, not -h
.
The default nimbledb value nimble_cosmosdb
, specified here, causes the following error when the coordinator is run:
Error trying to create table in the first place. StatusCode { status: 400, body: "{"odata.error":{"code":"InvalidResourceName","message":{"lang":"en-US","value":"The specifed resource name contains invalid characters.\nRequestId:935b4949-3002-0027-4fdd-41e2f0000000\nTime:2024-11-28T21:33:58.4182068Z"}}}" }
thread 'main' panicked at coordinator/src/coordinator_state.rs:463:75:
calledResult::unwrap()
on anErr
value: LedgerError(BadRequest)
That's because the name cannot contain underscores.
A possible fix would be to add the following parameter to the example script: -n nimbledb
.