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

[bug] Sometimes signing outgoing HTTP requests just breaks? #1902

Closed
handlerug opened this issue Jun 18, 2023 · 1 comment
Closed

[bug] Sometimes signing outgoing HTTP requests just breaks? #1902

handlerug opened this issue Jun 18, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@handlerug
Copy link
Contributor

Describe the bug with a clear and concise description of what the bug is.

Lots of errors such as these:

timestamp="18/06/2023 11:42:53.854" func=dereferencing.(*deref).dereferenceStatusDescendants level=ERROR username=handlerug statusIRI=https://tech.lgbt/users/warrioroflatte/statuses/109921920605298755 msg="error dereferencing remote collection page \"https://social.treehouse.systems/users/felipe/statuses/110563516217207998/replies?only_other_accounts=true&page=true\": DereferenceCollectionPage: error deferencing https://social.treehouse.systems/users/felipe/statuses/110563516217207998/replies?only_other_accounts=true&page=true: Dereference: GET request to https://social.treehouse.systems/users/felipe/statuses/110563516217207998/replies?only_other_accounts=true&page=true failed: status=\"401 Unauthorized\" body=\"{\"error\":\"Verification failed for handlerug@handlerug.me https://social.handlerug.me/users/handlerug using rsa-sha256 (RSASSA-PKCS1-v1_5 with SHA-256)\",\"signed_string\":\"(request-target): get /users/felipe/statuses/110563516217207998/replies\\nhost: social.t\""

timestamp="18/06/2023 11:09:17.819" func=dereferencing.(*deref).dereferenceStatusDescendants level=ERROR username=handlerug statusIRI=https://social.pixie.town/users/joepie91/statuses/110564904262380872 msg="error dereferencing remote collection page \"https://social.pixie.town/users/joepie91/statuses/110564904262380872/replies?only_other_accounts=true&page=true\": DereferenceCollectionPage: error deferencing https://social.pixie.town/users/joepie91/statuses/110564904262380872/replies?only_other_accounts=true&page=true: Dereference: GET request to https://social.pixie.town/users/joepie91/statuses/110564904262380872/replies?only_other_accounts=true&page=true failed: status=\"401 Unauthorized\" body=\"Verification failed for handlerug@handlerug.me https://social.handlerug.me/users/handlerug using rsa-sha256 (RSASSA-PKCS1-v1_5 with SHA-256)\""

(Are the log entries truncated?)

I do see requests to /users/handlerug and /users/handlerug/main-key, the latter one is cached by nginx, both return 200 in all cases, but the former has varying response sizes (965, 962, 963, 1750), isn't that weird.

And all POSTs to my inbox return 401. Related? No errors either, but my logging level is set to INFO.

What's your GoToSocial Version?

v0.9.0

GoToSocial Arch

amd64 Binary (Alpine Linux)

What happened?

No response

What you expected to happen?

No response

How to reproduce it?

No response

Anything else we need to know?

No response

@handlerug handlerug added the bug Something isn't working label Jun 18, 2023
@handlerug
Copy link
Contributor Author

Sorry, this is a duplicate of #894. Please ignore or delete this issue.

@handlerug handlerug closed this as not planned Won't fix, can't repro, duplicate, stale Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant