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

rest-server returns bogus result when remote connection sends html error page #39

Closed
deajan opened this issue Dec 8, 2023 · 0 comments

Comments

@deajan
Copy link
Contributor

deajan commented Dec 8, 2023

2023-12-08 14:32:49,351 :: DEBUG :: Running command: ["/usr/local/bin/restic" init --repository-version 2 --compression auto --limit-upload 500000]
2023-12-08 14:32:49,352 :: DEBUG :: Setting GOMAXPROCS to 1
2023-12-08 14:32:49,712 :: DEBUG :: Command "['/usr/local/bin/restic', 'init', '--repository-version', '2', '--compression', 'auto', '--limit-upload', '500000']" returned with exit code "1". Command output was:
2023-12-08 14:32:49,713 :: DEBUG :: STDOUT: Fatal: create repository at rest:https://USER:***@myhost.tld/USER/ failed: config file already exists


2023-12-08 14:32:49,714 :: DEBUG :: Running on_exit callable.
2023-12-08 14:32:49,715 :: INFO :: Repo already initialized.
2023-12-08 14:32:49,716 :: DEBUG :: Running command: ["/usr/local/bin/restic" snapshots --json --limit-upload 500000]
2023-12-08 14:32:49,717 :: DEBUG :: Setting GOMAXPROCS to 1
2023-12-08 14:33:42,181 :: DEBUG :: Command "['/usr/local/bin/restic', 'snapshots', '--json', '--limit-upload', '500000']" returned with exit code "1". Command output was:
2023-12-08 14:33:42,183 :: DEBUG :: STDOUT: List(key) returned error, retrying after 693.009248ms: Decode: invalid character '<' looking for beginning of value
List(key) returned error, retrying after 760.178904ms: Decode: invalid character '<' looking for beginning of value
List(key) returned error, retrying after 1.010456495s: Decode: invalid character '<' looking for beginning of value
List(key) returned error, retrying after 1.348040655s: Decode: invalid character '<' looking for beginning of value
List(key) returned error, retrying after 2.001668959s: Decode: invalid character '<' looking for beginning of value
List(key) returned error, retrying after 2.321936782s: Decode: invalid character '<' looking for beginning of value
List(key) returned error, retrying after 4.001640537s: Decode: invalid character '<' looking for beginning of value
List(key) returned error, retrying after 7.088563909s: Decode: invalid character '<' looking for beginning of value
List(key) returned error, retrying after 12.024584913s: Decode: invalid character '<' looking for beginning of value
List(key) returned error, retrying after 20.724782293s: Decode: invalid character '<' looking for beginning of value
Fatal: Decode: invalid character '<' looking for beginning of value

Investigate if this is a rest-server issue or a npbackup one

@deajan deajan mentioned this issue May 10, 2024
20 tasks
@deajan deajan closed this as completed May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant