NebraLtd / helium-controllino

Nebra OpenFleet for Controllino Miners
https://nebra.io/controllino
MIT License
5 stars 6 forks source link

Helium miner container restarting #8

Open mkloar opened 5 months ago

mkloar commented 5 months ago

I have pushed helium controllino to the fleet using balena push miner

[Success]           Successfully uploaded images
[Info]              Built on 4b2d7d0
[Success]           Release successfully created!
[Info]              Release: 7249d0d2ffab4c1c9be4298609341a7a (id: 2945416)
[Info]              ┌──────────────────┬────────────┬────────────┐
[Info]              │ Service          │ Image Size │ Build Time │
[Info]              ├──────────────────┼────────────┼────────────┤
[Info]              │ gateway-config   │ 565.97 MB  │ < 1 second │
[Info]              ├──────────────────┼────────────┼────────────┤
[Info]              │ packet-forwarder │ 393.91 MB  │ < 1 second │
[Info]              ├──────────────────┼────────────┼────────────┤
[Info]              │ multiplexer      │ 226.16 MB  │ < 1 second │
[Info]              ├──────────────────┼────────────┼────────────┤
[Info]              │ helium-miner     │ 114.33 MB  │ < 1 second │
[Info]              ├──────────────────┼────────────┼────────────┤
[Info]              │ diagnostics      │ 530.29 MB  │ < 1 second │
[Info]              ├──────────────────┼────────────┼────────────┤
[Info]              │ dbus-session     │ 36.84 MB   │ < 1 second │
[Info]              └──────────────────┴──────────

Device variables are set to:

FREQ: N/A (Non Nebra Miner)
VARIANT: COMP-CONTROLLINO

I can not access the helium miner service and I can see that the service is restarting constantly.

Logs:

2024-03-26T07:22:32+01:00  diagnostics  DEBUG:hw_diag.views.diagnostics:Full diagnostics report is: {'diagnostics_passed': False, 'errors': ['ECC', 'ECC', 'LTE', 'lte', 'LOR', 'lora', 'OK', 'onboarding_key', 'PK', 'public_key', 'PF', 'legacy_pass_fail'], 'serial_number': '', 'ECC': 'gateway_mfr test finished with error, {"result": "fail", "tests": {"ecdh(0)": {"error": "ecc608 error\\n\\nCaused by:\\n    timeout/retry error", "result": "fail"}, "key_config(0)": {"error": "timeout/retry error", "result": "fail"}, "miner_key(0)": {"error": "ecc608 error\\n\\nCaused by:\\n    timeout/retry error", "result": "fail"}, "sign(0)": {"error": "ecc608 error\\n\\nCaused by:\\n    timeout/retry error", "result": "fail"}, "slot_config(0)": {"error": "timeout/retry error", "result": "fail"}, "zone_locked(config)": {"error": "timeout/retry error", "result": "fail"}, "zone_locked(data)": {"error": "timeout/retry error", "result": "fail"}}}', 'E0': '', 'eth_mac_address': '', 'W0': '', 'wifi_mac_address': '', 'BN': '', 'BALENA_DEVICE_NAME_AT_INIT': '', 'ID': '', 'BALENA_DEVICE_UUID': '', 'BA': 'miner', 'BALENA_APP_NAME': 'miner', 'FR': 'N/A (Non Nebra Miner)', 'FREQ': 'N/A (Non Nebra Miner)', 'FW': 'v1.3.0', 'FIRMWARE_VERSION': 'v1.3.0', 'VA': 'COMP-CONTROLLINO', 'VARIANT': 'COMP-CONTROLLINO', 'firmware_short_hash': 'c2dd87a', 'FIRMWARE_SHORT_HASH': '', 'BT': [{'Address': '', 'Name': '', 'Powered': '1', 'Discoverable': '0', 'Pairable': '0', 'Discovering': '0'}], 'bluetooth': [{'Address': '', 'Name': '', 'Powered': '1', 'Discoverable': '0', 'Pairable': '0', 'Discovering': '0'}], 'LTE': 'ModemManager is working but, no LTE devices detected.', 'lte': 'ModemManager is working but, no LTE devices detected.', 'LOR': False, 'lora': False, 'OK': 'gateway_mfr exited with a non-zero status', 'onboarding_key': 'gateway_mfr exited with a non-zero status', 'PK': 'gateway_mfr exited with a non-zero status', 'public_key': 'gateway_mfr exited with a non-zero status', 'device_status': 'device_ready', 'PF': False, 'legacy_pass_fail': False}
2024-03-26T07:22:32+01:00  helium-miner  Starting gateway-rs...
2024-03-26T07:22:32+01:00  helium-miner  crond[15]: crond (busybox 1.35.0) started, log level 8
2024-03-26T07:22:32+01:00  helium-miner  Error: Config(decode error: keypair uri: could not load ecc keypair in slot 0: Ecc608(Timeout))
2024-03-26T07:22:33+01:00 Service exited 'helium-miner sha256:5d1be2726aac697b6099978d6870619521d9c0faf355ff59c59e6404c86f36ef'

I dont know how to proceed. Can you help?