Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block 0 can't be fetched #60

Closed
linuskendall opened this issue Nov 6, 2023 · 1 comment · Fixed by #69
Closed

Block 0 can't be fetched #60

linuskendall opened this issue Nov 6, 2023 · 1 comment · Fixed by #69
Assignees

Comments

@linuskendall
Copy link
Contributor

Due to the prefetcher trying to get previous block ?

+ faithful-cli rpc-server-car --listen :7999 https://files.old-faithful.net/0/epoch-0.car https://files.old-faithful.net/0/epoch-0.car.bafyreifljyxj55v6jycjf2y7tdibwwwqx75eqf5mn2thip2sswyc536zqq.cid-to-offset.index https://files.old-faithful.net/0/epoch-0.car.bafyreifljyxj55v6jycjf2y7tdibwwwqx75eqf5mn2thip2sswyc536zqq.slot-to-cid.index https://files.old-faithful.net/0/epoch-0.car.bafyreifljyxj55v6jycjf2y7tdibwwwqx75eqf5mn2thip2sswyc536zqq.sig-to-cid.index
I1106 00:59:00.855412    8254 storage.go:34] opening index file from "https://files.old-faithful.net/0/epoch-0.car.bafyreifljyxj55v6jycjf2y7tdibwwwqx75eqf5mn2thip2sswyc536zqq.cid-to-offset.index" as HTTP remote file
I1106 00:59:02.113340    8254 storage.go:34] opening index file from "https://files.old-faithful.net/0/epoch-0.car.bafyreifljyxj55v6jycjf2y7tdibwwwqx75eqf5mn2thip2sswyc536zqq.slot-to-cid.index" as HTTP remote file
I1106 00:59:02.883867    8254 storage.go:34] opening index file from "https://files.old-faithful.net/0/epoch-0.car.bafyreifljyxj55v6jycjf2y7tdibwwwqx75eqf5mn2thip2sswyc536zqq.sig-to-cid.index" as HTTP remote file
I1106 00:59:03.889074    8254 storage.go:67] opening CAR file from "https://files.old-faithful.net/0/epoch-0.car" as HTTP remote file
I1106 00:59:03.932232    8254 cmd-rpc-server-car.go:185] RPC server listening on :7999
I1106 00:59:12.911847    8254 http-handler.go:60] Received request: "{\"jsonrpc\": \"2.0\",\"id\":1,\"method\":\"getBlock\",\"params\":[0, {\"maxSupportedTransactionVersion\":0}]}"
I1106 00:59:13.914786    8254 cmd-rpc-server-car.go:372] found CID for slot 0: bafyreianr3wvyk6ulwuvtlgiu4xfzadob6wi7mwizemfhljbc5v2zvullq
E1106 00:59:17.353629    8254 cmd-rpc-server-car-getBlock.go:199] failed to prefetch from car: EOF

``
@gagliardetto
Copy link
Collaborator

Fixed in #69

Note: the faithful-cli rpc-server-car command is deprecated; i'll remove it soon. Use faithful-cli rpc instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants