You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to connect and "Finished checking forked blocks!" using ./hyp-repair scan mymainnet. My hyperion indexer and api are running. But when I try to use the fix commands, I'm getting an invalid URL. The chain file is there (if I change the name or move the file, I get a ENOENT: no such file or directory).
khype@koyn-hyperion:~/hyperion$ git show
commit 32145b6 (HEAD -> main, origin/main, origin/HEAD)
Author: Igor Lins e Silva [email protected]
Date: Tue Oct 10 21:21:35 2023 -0300
khype@hyperion:~/hyperion$ ./hyp-repair fill-missing kmainnet .repair/mymainnet-4-33864607-missing-blocks.json
/home/khype/hyperion/node_modules/ws/lib/websocket.js:676
throw new SyntaxError(Invalid URL: ${address});
^
SyntaxError: Invalid URL: ws://localhost:undefined/local
at initAsClient (/home/khype/hyperion/node_modules/ws/lib/websocket.js:676:13)
at new WebSocket (/home/khype/hyperion/node_modules/ws/lib/websocket.js:85:7)
at fillMissingBlocksFromFile (/home/khype/hyperion/scripts/hyp-repair.js:633:24)
at Command.repairMissing (/home/khype/hyperion/scripts/hyp-repair.js:178:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v18.16.0
The text was updated successfully, but these errors were encountered:
I was able to connect and "Finished checking forked blocks!" using ./hyp-repair scan mymainnet. My hyperion indexer and api are running. But when I try to use the fix commands, I'm getting an invalid URL. The chain file is there (if I change the name or move the file, I get a ENOENT: no such file or directory).
khype@koyn-hyperion:~/hyperion$ git show
commit 32145b6 (HEAD -> main, origin/main, origin/HEAD)
Author: Igor Lins e Silva [email protected]
Date: Tue Oct 10 21:21:35 2023 -0300
khype@hyperion:~/hyperion$ ./hyp-repair fill-missing kmainnet .repair/mymainnet-4-33864607-missing-blocks.json
/home/khype/hyperion/node_modules/ws/lib/websocket.js:676
throw new SyntaxError(
Invalid URL: ${address}
);^
SyntaxError: Invalid URL: ws://localhost:undefined/local
at initAsClient (/home/khype/hyperion/node_modules/ws/lib/websocket.js:676:13)
at new WebSocket (/home/khype/hyperion/node_modules/ws/lib/websocket.js:85:7)
at fillMissingBlocksFromFile (/home/khype/hyperion/scripts/hyp-repair.js:633:24)
at Command.repairMissing (/home/khype/hyperion/scripts/hyp-repair.js:178:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v18.16.0
The text was updated successfully, but these errors were encountered: