vtnerd / monero-lws

Monero Light Wallet Server (scans monero viewkeys and implements mymonero API). Fast LMDB backend.
BSD 3-Clause "New" or "Revised" License
72 stars 25 forks source link

[BUG]Failed to retrieve next blocks: Schema missing required field key. Resetting state and trying again #129

Closed Demontager closed 1 month ago

Demontager commented 1 month ago

I was testing monero-lws on i9-14900k and few more errors came out. This is strange to me, because i do running same version of monero-daemon (master with commit https://github.com/monero-project/monero/commit/d64a5f70d246afe3b8d796b65f0e58f40bb1dcad ) against monero-lws-daemon (develop) on i5-13500k and no such errors appearing.


$ monero-lws-daemon --daemon tcp://127.0.0.1:18082 --db-path /home/dem/.lws --rest-server http://127.0.0.1:8443 --log-level=0 --auto-accept-creation --network=main --admin-rest-server http://127.0.0.1:8444
2024-07-16 09:05:23.658 I Binding on 127.0.0.1 (IPv4):8443
2024-07-16 09:05:23.658 I Binding on 127.0.0.1 (IPv4):8444
2024-07-16 09:07:09.902 E Failed to retrieve next blocks: Error returned by JSON-RPC server. Resetting state and trying again
2024-07-16 09:07:12.802 E Failed to retrieve next blocks: Error returned by JSON-RPC server. Resetting state and trying again
2024-07-16 09:08:11.501 E Failed to retrieve next blocks: Schema missing required field key. Resetting state and trying again
2024-07-16 09:08:15.136 E Failed to retrieve next blocks: JSON parser found invalid value. Resetting state and trying again
2024-07-16 09:08:55.806 E Failed to retrieve next blocks: Schema missing required field key. Resetting state and trying again
2024-07-16 09:10:45.586 E Failed to retrieve next blocks: Schema missing required field key. Resetting state and trying again
2024-07-16 09:11:42.706 E Failed to retrieve next blocks: JSON parser expected ',' or '}'. Resetting state and trying again
2024-07-16 09:17:18.074 E Failed to retrieve next blocks: Schema missing required field key. Resetting state and trying again
2024-07-16 09:24:25.639 E Failed to retrieve next blocks: Schema missing required field key. Resetting state and trying again
2024-07-16 09:29:56.331 E Failed to retrieve next blocks: Schema missing required field key. Resetting state and trying again
2024-07-16 09:32:45.340 E Failed to retrieve next blocks: Schema missing required field key. Resetting state and trying again
2024-07-16 09:34:52.099 E Failed to retrieve next blocks: Schema missing required field key. Resetting state and trying again
2024-07-16 09:35:39.876 E Failed to retrieve next blocks: Schema missing required field key. Resetting state and trying again
2024-07-16 09:35:49.716 E Failed to retrieve next blocks: Schema missing required field key. Resetting state and trying again
2024-07-16 09:38:32.725 E Failed to retrieve next blocks: JSON parser expected ',' or ']'. Resetting state and trying again
2024-07-16 09:40:23.993 E Failed to retrieve next blocks: Schema expected binary of fixed size. Resetting state and trying again
2024-07-16 09:40:29.722 E Failed to retrieve next blocks: Schema expected binary of fixed size. Resetting state and trying again
2024-07-16 09:40:41.136 E Failed to retrieve next blocks: Schema expected binary of fixed size. Resetting state and trying again
2024-07-16 09:41:46.829 E Failed to retrieve next blocks: Schema missing required field key. Resetting state and trying again
2024-07-16 09:43:23.246 E Failed to retrieve next blocks: Schema missing required field key. Resetting state and trying again
2024-07-16 09:43:54.386 E Failed to retrieve next blocks: Schema missing required field key. Resetting state and trying again
2024-07-16 09:46:22.355 E Failed to retrieve next blocks: Schema missing required field key. Resetting state and trying again
2024-07-16 09:46:34.469 E Failed to retrieve next blocks: JSON parser expected ',' or ']'. Resetting state and trying again
2024-07-16 09:46:43.642 E Failed to retrieve next blocks: Schema missing required field key. Resetting state and trying again
2024-07-16 09:48:58.549 E Failed to retrieve next blocks: Schema expected binary of fixed size. Resetting state and trying again

Moreover when above errors occurs then monero-lws-daemon behaves like doing restarting for few minutes and then again CPU going to high load continuing updating accounts. However it does not quit.

Demontager commented 1 month ago

My closest guess about this issue is faulty or overclocked memory. Since i9-14900k paired with ddr5 ram running on XMP 6400Mhz profile. Because i also getting Segmentation faults error while running monerod. I will lower ram frequencies to test how it is going then.

Demontager commented 1 month ago

Indeed it was a ram memory problem, after lowering ram frequencies to 5600Mhz (default for 14900k), not seeing any above errors.