dkg-engine icon indicating copy to clipboard operation
dkg-engine copied to clipboard

[DKG SYNC] Error in sync mechanism for gnosis:100: Cannot read properties of undefined (reading 'map')

Open Valcyclovir opened this issue 6 months ago • 3 comments

Error in DKG SYNC after updating node to 8.1 and enabling sync.

Logs:

otnode-logs | grep "sync" [2025-06-25 22:12:36] DEBUG: [DKG SYNC] Starting sync cycle for blockchain otp:2043 [2025-06-25 22:12:36] DEBUG: [DKG SYNC] Running sync for blockchain otp:2043 [2025-06-25 22:12:36] DEBUG: [DKG SYNC] Starting sync cycle for blockchain base:8453 [2025-06-25 22:12:36] DEBUG: [DKG SYNC] Running sync for blockchain base:8453 [2025-06-25 22:13:15] ERROR: [DKG SYNC] Error in sync mechanism for gnosis:100: Cannot read properties of undefined (reading 'map'), stack: TypeError: Cannot read properties of undefined (reading 'map') at file:///root/ot-node/8.1.0/src/service/sync-service.js:263:48 at SyncService.syncNewKc (file:///root/ot-node/8.1.0/src/service/sync-service.js:262:45) at async Promise.all (index 0) at async file:///root/ot-node/8.1.0/src/service/sync-service.js:198:17 at async Promise.all (index 0) at async SyncService.runSync (file:///root/ot-node/8.1.0/src/service/sync-service.js:206:9) at async Timeout._onTimeout (file:///root/ot-node/8.1.0/src/service/sync-service.js:99:17) [2025-06-25 22:13:18] DEBUG: [DKG SYNC] Completed sync cycle for blockchain otp:2043 [2025-06-25 22:13:24] DEBUG: [DKG SYNC] Starting sync cycle for blockchain otp:2043 [2025-06-25 22:13:24] DEBUG: [DKG SYNC] Running sync for blockchain otp:2043 [2025-06-25 22:13:24] DEBUG: [DKG SYNC] Starting sync cycle for blockchain gnosis:100 [2025-06-25 22:13:24] DEBUG: [DKG SYNC] Running sync for blockchain gnosis:100

Specifications

  • Node version: 8.1
  • Platform: ubuntu 24.04 LTS
  • Node: othub

Valcyclovir avatar Jun 25 '25 22:06 Valcyclovir

Also getting this same error:

Jun 26 00:37:16 event-horizon node[2338521]: [2025-06-25 22:37:16] ERROR: [DKG SYNC] Error in sync mechanism for otp:2043: Cannot read properties of undefined (reading 'map'), stack: TypeError: Cannot read properties of undefined (reading 'map') Jun 26 00:37:16 event-horizon node[2338521]: at file:///root/ot-node/8.1.0/src/service/sync-service.js:263:48 Jun 26 00:37:16 event-horizon node[2338521]: at Array.forEach () Jun 26 00:37:16 event-horizon node[2338521]: at SyncService.syncNewKc (file:///root/ot-node/8.1.0/src/service/sync-service.js:262:45) Jun 26 00:37:16 event-horizon node[2338521]: at runMicrotasks () Jun 26 00:37:16 event-horizon node[2338521]: at processTicksAndRejections (node:internal/process/task_queues:96:5) Jun 26 00:37:16 event-horizon node[2338521]: at async Promise.all (index 0) Jun 26 00:37:16 event-horizon node[2338521]: at async file:///root/ot-node/8.1.0/src/service/sync-service.js:198:17 Jun 26 00:37:16 event-horizon node[2338521]: at async Promise.all (index 0) Jun 26 00:37:16 event-horizon node[2338521]: at async SyncService.runSync (file:///root/ot-node/8.1.0/src/service/sync-service.js:206:9) Jun 26 00:37:16 event-horizon node[2338521]: at async Timeout._onTimeout (file:///root/ot-node/8.1.0/src/service/sync-service.js:99:17)

haroldboom avatar Jun 25 '25 22:06 haroldboom

Same on Base....

[2025-06-26 11:16:41] ERROR: [DKG SYNC] Error in sync mechanism for base:8453: Cannot read properties of undefined (reading 'map'), stack: TypeError: Cannot read properties of undefined (reading 'map') at file:///root/ot-node/8.1.0/src/service/sync-service.js:263:48 at Array.forEach () at SyncService.syncNewKc (file:///root/ot-node/8.1.0/src/service/sync-service.js:262:45) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Promise.all (index 0) at async file:///root/ot-node/8.1.0/src/service/sync-service.js:198:17 at async Promise.all (index 0) at async SyncService.runSync (file:///root/ot-node/8.1.0/src/service/sync-service.js:206:9) at async Timeout._onTimeout (file:///root/ot-node/8.1.0/src/service/sync-service.js:99:17)

alien2108 avatar Jun 26 '25 07:06 alien2108

Thanks for reporting, stated working for on the fix

Mihajlo-Pavlovic avatar Jun 26 '25 12:06 Mihajlo-Pavlovic

This is fixed by v8.1.1-rc.2 release

Mihajlo-Pavlovic avatar Jul 02 '25 07:07 Mihajlo-Pavlovic