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

Crash on start hubble v1.15.7, Failed to get snapshot 404 #2383

Closed
brucexc opened this issue Oct 25, 2024 · 3 comments
Closed

Crash on start hubble v1.15.7, Failed to get snapshot 404 #2383

brucexc opened this issue Oct 25, 2024 · 3 comments
Labels
s-triage Needs to be reviewed, designed and prioritized

Comments

@brucexc
Copy link
Contributor

brucexc commented Oct 25, 2024

What is the bug?
Crash on start after updating hubble to 1.15.7

{
  "app_name": "hubble",
  "message": {
    "level": 60,
    "time": 1729898201744,
    "pid": 29,
    "hostname": "farcaster-hubble-0",
    "err": {
      "type": "Error",
      "message": "Failed to start hub: failed to fetch snapshot metadata - Failed to get latest snapshot from https://download.farcaster.xyz/snapshots/MAINNET/DB_SCHEMA_11/latest.json [AxiosError: Request failed with status code 404]",
      "stack": "Error: Failed to start hub\n    at file:///home/node/app/apps/hubble/src/cli.ts:682:14\n    at /home/node/app/node_modules/neverthrow/dist/index.cjs.js:113:102\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at Command.<anonymous> (file:///home/node/app/apps/hubble/src/cli.ts:680:25)\ncaused by: HubError: failed to fetch snapshot metadata - Failed to get latest snapshot from https://download.farcaster.xyz/snapshots/MAINNET/DB_SCHEMA_11/latest.json [AxiosError: Request failed with status code 404]\n    at Hub.attemptCatchupSyncWithSnapshot (file:///home/node/app/apps/hubble/src/hubble.ts:934:18)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at Hub.start (file:///home/node/app/apps/hubble/src/hubble.ts:631:27)\n    at Command.<anonymous> (file:///home/node/app/apps/hubble/src/cli.ts:680:25)"
    },
    "msg": "Failed to start hub"
  },
  "process_id": 0,
  "timestamp": "2024-10-25T23:16:41.788Z",
  "type": "out"
}

How can it be reproduced? (optional)
Accessed link https://download.farcaster.xyz/snapshots/MAINNET/DB_SCHEMA_11/latest.json , returned 404

Additional context (optional)
none

@github-actions github-actions bot added the s-triage Needs to be reviewed, designed and prioritized label Oct 25, 2024
@BlackCatDevel0per
Copy link

with last version from github too..

{
  "level": 60,
  "time": 1729925218241,
  "pid": 2092359,
  "hostname": "fnode",
  "err": {
    "type": "Error",
    "message": "Failed to start hub: failed to fetch snapshot metadata - Failed to get latest snapshot from https://download.farcaster.xyz/snapshots/MAINNET/DB_SCHEMA_11/latest.json [AxiosError: Request failed with status code 404]",
    "stack": "Error: Failed to start hub\n    at file:///home/degenf1/NODES/FARCASTER/hub-monorepo/apps/hubble/build/cli.js:531:75\n    at /home/degenf1/NODES/FARCASTER/hub-monorepo/node_modules/neverthrow/dist/index.cjs.js:113:102\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Command.<anonymous> (file:///home/degenf1/NODES/FARCASTER/hub-monorepo/apps/hubble/build/cli.js:531:25)\ncaused by: HubError: failed to fetch snapshot metadata - Failed to get latest snapshot from https://download.farcaster.xyz/snapshots/MAINNET/DB_SCHEMA_11/latest.json [AxiosError: Request failed with status code 404]\n    at Hub.attemptCatchupSyncWithSnapshot (file:///home/degenf1/NODES/FARCASTER/hub-monorepo/apps/hubble/build/hubble.js:515:24)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Hub.start (file:///home/degenf1/NODES/FARCASTER/hub-monorepo/apps/hubble/build/hubble.js:275:33)\n    at async Command.<anonymous> (file:///home/degenf1/NODES/FARCASTER/hub-monorepo/apps/hubble/build/cli.js:531:25)"
  },
  "msg": "Failed to start hub"
}

Does anyone has working node & can give this schema file plz?

@runninyeti
Copy link

Same issue here ✋ Looks like this has happened before and a temporary (?) workaround is to add this to your .env file:

CATCHUP_SYNC_WITH_SNAPSHOT=false

Context: #1930 (comment)

@brucexc
Copy link
Contributor Author

brucexc commented Oct 28, 2024

Same issue here ✋ Looks like this has happened before and a temporary (?) workaround is to add this to your .env file:

CATCHUP_SYNC_WITH_SNAPSHOT=false

Context: #1930 (comment)

Followed the suggested workaround and added CATCHUP_SYNC_WITH_SNAPSHOT=false to the .env file, and it seems to have resolved the issue temporarily.

@brucexc brucexc closed this as completed Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s-triage Needs to be reviewed, designed and prioritized
Projects
None yet
Development

No branches or pull requests

3 participants