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

Uncaught rclone errors causing rustic panic #310

Closed
kapitainsky opened this issue Oct 4, 2024 · 0 comments · Fixed by #334
Closed

Uncaught rclone errors causing rustic panic #310

kapitainsky opened this issue Oct 4, 2024 · 0 comments · Fixed by #334
Labels
A-errors Area: error handling needs improvement C-bug Category: Something isn't working as expected I-panic

Comments

@kapitainsky
Copy link

From time to time I experience rustic panic. It is always with repositories accessed using rclone. Example below:

$ cat /var/folders/36/02d6s6313zq5k3mfrhg4d8zc0000gn/T/report-75c43922-e59d-44ef-8ef7-ff00ce720e32.toml
name = "rustic-rs"
operating_system = "Mac OS 15.0.1 [64-bit]"
crate_version = "0.9.1"
explanation = """
Panic occurred in file '/Users/kptsky/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustic_core-0.5.1/src/commands/check.rs' at line 229
"""
cause = '''
called `Result::unwrap()` on an `Err` value: backoff failed: Permanent(reqwest::Error { kind: Status(404), url: "http://127.0.0.1:52633/data/3130f02f6442ac6b053d2b2ffce29b5263d30e0897385be796095cd5510be9bb" })

Caused by:
    HTTP status client error (404 Not Found) for url (http://127.0.0.1:52633/data/3130f02f6442ac6b053d2b2ffce29b5263d30e0897385be796095cd5510be9bb)'''
method = "Panic"
backtrace = """

   0: 0x108d7cd8a - __mh_execute_header
   1: 0x108d7d285 - __mh_execute_header
   2: 0x1088d5572 - __mh_execute_header
   3: 0x1088d5ab6 - __mh_execute_header
   4: 0x1088d5502 - __mh_execute_header
   5: 0x1088d5d82 - __mh_execute_header
   6: 0x108d9322d - __mh_execute_header
   7: 0x10803858c - __mh_execute_header
   8: 0x10803834b - __mh_execute_header
   9: 0x108bedf1b - __mh_execute_header
  10: 0x7ff81a603253 - __pthread_start"""

It is always HTTP status client error (404 Not Found) for url (http://127.0.0.1:xxxxx/.

Definitely nothing critical but would be nice just to log an error instead of pressing panic button:)

@github-actions github-actions bot added the S-triage Status: Waiting for a maintainer to triage this issue/PR label Oct 4, 2024
@simonsan simonsan added C-bug Category: Something isn't working as expected A-errors Area: error handling needs improvement and removed S-triage Status: Waiting for a maintainer to triage this issue/PR labels Oct 4, 2024
@simonsan simonsan transferred this issue from rustic-rs/rustic Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-errors Area: error handling needs improvement C-bug Category: Something isn't working as expected I-panic
Projects
None yet
2 participants