-
Notifications
You must be signed in to change notification settings - Fork 109
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
JSON Response: {'code': 2, 'message': 'lnd is not ready for: /lnrpc.WalletUnlocker/GenSeed', 'details': []} // The genSeed API service is uncallable for LITD instances after startup eventough it should be the way hwo to start them up - my code:
import base64
import json
import requests
REST_HOST = '54.198.183.180:8443'
#TLS_PATH = 'LND_DIR/tls.cert'
url = f'https://{REST_HOST}/v1/genseed?"aezeed_passphrase"=Test'
data = {
#'aezeed_passphrase': base64.b64encode(mnemonic_seed.encode()).decode('utf-8'),
#'seed_entropy': base64.b64encode(b'').decode('utf-8'),
}
headers = {
'Content-Type': 'application/json'
}
r = requests.get(url, headers=headers, data=json.dumps(data), verify=False)
# Try to print JSON response if available
try:
json_response = r.json()
print("JSON Response:", json_response)
except requests.exceptions.JSONDecodeError:
print("Response is not a valid JSON: ", r)
endpoint url = f'https://{REST_HOST}/v1/state' retruns {'state': 'NON_EXISTING'}
However: Using lnclli create works completly fine on the same instance, this issue was also reported after I mentioned it in the forum by another user

Please can someone help me with this as it is crucial for my application development to continue
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working