-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
ActiveRecord::RecordInvalid: Validation failed: Visibility is reserved #10409
Comments
@IzaliaMae |
This is, arguably, a bug in the relay software, which sends the |
What do you mean 'undefined collection'? Do I need to actually return JSON-LD there or something? |
See the merge request on the code: it seems that the intent is to address the Announces to the relay actor's followers, but the id is not the same as the one defined in the actor.
Le 29 mars 2019 12:13:40 GMT+01:00, William Pitcock <notifications@github.com> a écrit :
…What do you mean 'undefined collection'? Do I need to actually return
JSON-LD there or something?
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#10409 (comment)
--
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
|
Ah, yeah. I merged the change. |
Looks like this fixed the issue. Thanks :3 |
Thanks :3 |
I'm seeing this on Mastodon 2.8.0, but only from |
Yes, it is most probably an error on their end, as older versions of one popular relay software had an error in the collection URI it used.
This PR would stop such jobs from being retried, since there is no reason they would fail once and not on subsequent tries.
I am weary of logging only in debug loglevel because we found the issue in the remote software precisely because we had an error message.
|
Ah, interesting. So I shouldn't be seeing retries on these jobs at all? I am seeing them retried. Any extra data I can provide here? Which PR are you referring to? I don't see any listed in GitHub. |
Oh no, the job will currently be retried.
I was talking about #10614
--
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
|
Got it. Thank you 🙇 |
Expected behaviour
No error.
Actual behaviour
After upgrade to master version (24d5b6f), I got error
ActiveRecord::RecordInvalid: Validation failed: Visibility is reserved
.After disable relays, I try to retry failed tasks and got no error.
But if relays are enabled, retry failed tasks is no use.
log file:
mastodon_relay.log.zip
relay list:
Steps to reproduce the problem
Enable relays.
Specifications
The text was updated successfully, but these errors were encountered: