Skip to content

FIX: [CLIMATE TOKEN DRIVER] Tokenization error occurs with error message "get_private_key" success: false #111

Description

@ccornick

Log output:
`ubuntu@ip-172-31-13-186:/.chia/mainnet/climate-tokenization-engine$ nano config.yaml
ubuntu@ip-172-31-13-186:
/.chia/mainnet/climate-tokenization-engine$ journalctl -f -u climate-tokenization-engine@ubuntu
Oct 06 16:01:25 ip-172-31-13-186 climate-tokenization-engine[326132]: org_uid: '1059815727e1039761bb664f6251d19b887df8416d3687535fbddc5d30a0c9ba',
Oct 06 16:01:25 ip-172-31-13-186 climate-tokenization-engine[326132]: warehouse_project_id: '9489e39f-5af4-42a6-a807-69181f5c437a',
Oct 06 16:01:25 ip-172-31-13-186 climate-tokenization-engine[326132]: vintage_year: 2021,
Oct 06 16:01:25 ip-172-31-13-186 climate-tokenization-engine[326132]: sequence_num: 0
Oct 06 16:01:25 ip-172-31-13-186 climate-tokenization-engine[326132]: },
Oct 06 16:01:25 ip-172-31-13-186 climate-tokenization-engine[326132]: payment: {
Oct 06 16:01:25 ip-172-31-13-186 climate-tokenization-engine[326132]: amount: 100000000,
Oct 06 16:01:25 ip-172-31-13-186 climate-tokenization-engine[326132]: to_address: 'txch16cvhxswwfldyp0ljnluj3g2xp26ll6cx8vtxcrpm0xrtkc8tthssm6s3f0'
Oct 06 16:01:25 ip-172-31-13-186 climate-tokenization-engine[326132]: }
Oct 06 16:01:25 ip-172-31-13-186 climate-tokenization-engine[326132]: }
^C
ubuntu@ip-172-31-13-186:/.chia/mainnet/climate-tokenization-engine$ journalctl -f -u climate-tokenization-chia@ubuntu
Oct 06 16:01:26 ip-172-31-13-186 climate-tokenization-chia[321079]: File "starlette/routing.py", line 266, in handle
Oct 06 16:01:26 ip-172-31-13-186 climate-tokenization-chia[321079]: File "starlette/routing.py", line 65, in app
Oct 06 16:01:26 ip-172-31-13-186 climate-tokenization-chia[321079]: File "fastapi/routing.py", line 231, in app
Oct 06 16:01:26 ip-172-31-13-186 climate-tokenization-chia[321079]: File "fastapi/routing.py", line 160, in run_endpoint_function
Oct 06 16:01:26 ip-172-31-13-186 climate-tokenization-chia[321079]: File "app/utils.py", line 34, in _f
Oct 06 16:01:26 ip-172-31-13-186 climate-tokenization-chia[321079]: File "app/api/v1/tokens.py", line 35, in create_tokenization_tx
Oct 06 16:01:26 ip-172-31-13-186 climate-tokenization-chia[321079]: File "app/core/utils.py", line 44, in get_climate_secret_key
Oct 06 16:01:26 ip-172-31-13-186 climate-tokenization-chia[321079]: File "chia/rpc/wallet_rpc_client.py", line 61, in get_private_key
Oct 06 16:01:26 ip-172-31-13-186 climate-tokenization-chia[321079]: File "chia/rpc/rpc_client.py", line 61, in fetch
Oct 06 16:01:26 ip-172-31-13-186 climate-tokenization-chia[321079]: ValueError: {'private_key': {'fingerprint': 938983332}, 'success': False}
^C
ubuntu@ip-172-31-13-186:
/.chia/mainnet/climate-tokenization-engine$ chia wallet show
Wallet height: 277048
Sync status: Synced
Balances, fingerprint: 938983332

Chia Wallet:
-Total Balance: 9.983199999996 txch (9983199999996 mojo)
-Pending Total Balance: 9.983199999996 txch (9983199999996 mojo)
-Spendable: 9.983199999996 txch (9983199999996 mojo)
-Type: STANDARD_WALLET
-Wallet ID: 1

DataLayer Wallet:
-Total Balance: 0.0
-Pending Total Balance: 0.0
-Spendable: 0.0
-Type: DATA_LAYER
-Wallet ID: 2

Connections:
Type IP Ports NodeID Last Connect MiB Up|Dwn
FULL_NODE 127.0.0.1 58444/58444 bf628b52... Oct 06 16:02:18 11.2|2697.8
-Height: No Info -Hash: No Info -Trusted: True
ubuntu@ip-172-31-13-186:~/.chia/mainnet/climate-tokenization-engine$`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions