Lot's of errors in the log

For a while now I notice that the logs of both of my instances are showing lot’s of errors I don’t remember to have seen before. Can anyone confirm if these are real errors which I need to look into or just noise due to network latency or because someone else didn’t configure their servers correctly?

akkoma-app  | 10:09:37.889 request_id=GDAD7kMhQAVOKJ0AAHWE [error] Could not decode featured collection at fetch https://mastodon.world/users/iBoldguy/collections/featured, {:error, :forbidden}
akkoma-app  | 10:12:45.508 request_id=GDAEGfalNCMu31UAAJOD [error] Failed to acquire key from signature: https://fediscience.org/users/H2020PROTECT#main-key {:error, "Could not fetch key"}
akkoma-app  | 10:12:45.509 request_id=GDAEGfalNCMu31UAAJOD [error] Failed to extract actor_id from signature: signing key https://fediscience.org/users/H2020PROTECT#main-key not known
akkoma-app  | 10:12:45.537 request_id=GDAEGfalNCMu31UAAJOD [error] Failed to acquire key from signature: https://fediscience.org/users/H2020PROTECT#main-key {:error, "Could not fetch key"}
akkoma-app  | 10:12:45.538 request_id=GDAEGfalNCMu31UAAJOD [error] Failed to extract actor_id from signature: signing key https://fediscience.org/users/H2020PROTECT#main-key not known
akkoma-app  | 10:14:17.090 request_id=GDAEL0jiJRbIJzoAAMzG [error] Could not decode featured collection at fetch https://mastodon.social/users/Steffen65/collections/featured, {:error, :not_found}
akkoma-app  | 10:29:23.367 [info] Received invalid AP document: {:error, #Ecto.Changeset<action: :insert, changes: %{id: "https://makertube.net/videos/watch/cb6fa58d-4981-4a4b-9a28-8af37d40f271"…
…

Both my instances are running v3.15.2
I haven’t noticed anything new/strange in my user side apps though.

Could not [...] at fetch [...] {:error, :forbidden}

This means the remote server doesn’t allow unauthenticated access to this resource; usually this is nothing to worry about. This is not a new message though and has been logged for ages.

akkoma-app  | 10:12:45.508 request_id=GDAEGfalNCMu31UAAJOD [error] Failed to acquire key from signature: https://fediscience.org/users/H2020PROTECT#main-key {:error, "Could not fetch key"}
akkoma-app  | 10:12:45.509 request_id=GDAEGfalNCMu31UAAJOD [error] Failed to extract actor_id from signature: signing key https://fediscience.org/users/H2020PROTECT#main-key not known

Whether or not this is problematic depends on the reason it failed and what endpoint was queried with this key. This is logged at info level I believe.
I don’t see this too often but when I do it’s always been either an internal server error or backend-overload response or just a timeout. All of them are issues on the remote side and there’s nothing we can do about it. For federated activities, the remote should usually retry delivery later when it is presumably no longer overloaded.
There’s one special case, user deletes of users which were never known locally anyway, which will currently trigger this warning more often which will be fixed/hidden by a pending PR.

akkoma-app | 10:29:23.367 [info] Received invalid AP document: {:error, #Ecto.Changeset<action:

You cut out the actually interesting part showing what the changeset error is. If it’s a conflict in the ap_id unique index, it was just a race condition from multiple jobs trying to insert the same document concurrently and you can ignore it. If it’s something else it might hint at an interop issue.

Thanks @Oneric , that helps! Especially as there’s nothing I need to do :slight_smile:

As far as the last one is concerned, it’s a rather long one, and it’s the only PeerTube account I follow:

akkoma-app  | 15:30:07.172 [info] Received invalid AP document: {:error, #Ecto.Changeset<action: :insert, changes: %{id: "https://makertube.net/videos/watch/cb6fa58d-4981-4a4b-9a28-8af37d40f271", name: "Tschüss, USA: Europäische Alternativen", type: "Video", context: "https://social.zell-mbc.com/contexts/20ce7945-102a-42a2-ad19-23f4777efc25", cc: ["https://makertube.net/accounts/ct_3003_channel/followers"], to: ["https://www.w3.org/ns/activitystreams#Public"], url: "https://makertube.net/w/r82zDAKQPtDRAFhKfwUsMp", actor: "https://makertube.net/accounts/ct_3003_channel", published: "2025-03-21T17:42:07.958Z", content: "<p>=== Anzeige / Sponsorenhinweis ===  Sichere dir 4 EXTRA-Monate auf ein 2-Jahresabo über <a href=\"https://nordvpn.com/ct3003\">https://nordvpn.com/ct3003</a>. Teste NordVPN jetzt risikofrei mit der 30 Tage Geld-Zurück-Garantie. === Sponsorenhinweis Ende === ► Wie sich dieser Channel finanziert: <a href=\"https://www.youtube.com/watch?v=xWLRoMP3rLU&amp;t\">https://www.youtube.com/watch?v=xWLRoMP3rLU&amp;t</a> </p><p>Dieses Video geht an alle, die sich mal mit europäischen Alternativen zu großen US-Diensten wie Google, Meta, Microsoft oder Apple beschäftigen wollen.</p><p>► Alle Links aus dem Video:</p><ol><li><p>E-Mail-Anbieter: • Tutanota: <a href=\"https://tutanota.com\">https://tutanota.com</a> • ProtonMail: <a href=\"https://protonmail.com\">https://protonmail.com</a> • Posteo: <a href=\"https://posteo.de\">https://posteo.de</a> • Mailbox.org: <a href=\"https://mailbox.org\">https://mailbox.org</a> • GMX: <a href=\"https://www.gmx.net\">https://www.gmx.net</a> • Web.de: <a href=\"https://web.de\">https://web.de</a></p></li><li><p>Suchmaschinen: • Ecosia: <a href=\"https://www.ecosia.org\">https://www.ecosia.org</a> • Qwant: <a href=\"https://www.qwant.com\">https://www.qwant.com</a> • Startpage: <a href=\"https://www.startpage.com\">https://www.startpage.com</a> • Good Search: <a href=\"https://www.good-search.org\">https://www.good-search.org</a></p></li><li><p>Karten- und Navigations-Apps: • Here WeGo: <a href=\"https://wego.here.com\">https://wego.here.com</a> • Sygic GPS Navigation: <a href=\"https://www.sygic.com\">https://www.sygic.com</a> • TomTom GO Navigation: <a href=\"https://www.tomtom.com\">https://www.tomtom.com</a> • OsmAnd: <a href=\"https://osmand.net\">https://osmand.net</a> • Organic Maps: <a href=\"https://organicmaps.app\">https://organicmaps.app</a></p></li><li><p>Messenger: • Threema: <a href=\"https://threema.ch\">https://threema.ch</a> • Olvid: <a href=\"https://olvid.io\">https://olvid.io</a> • ginlo: <a href=\"https://ginlo.net\">https://ginlo.net</a> • SKRED: <a href=\"https://skred.mobi\">https://skred.mobi</a></p></li><li><p>Kollaborations- und Office-Lösungen: • Nextcloud: <a href=\"https://nextcloud.com\">https://nextcloud.com</a> • kSuite von Infomaniak: <a href=\"https://www.infomaniak.com\">https://www.infomaniak.com</a> • CryptPad: <a href=\"https://cryptpad.fr\">https://cryptpad.fr</a> • Jitsi Meet: <a href=\"https://meet.jit.si\">https://meet.jit.si</a> • OpenTalk: <a href=\"https://www.opentalk.eu\">https://www.opentalk.eu</a> • Stackfield: <a href=\"https://www.stackfield.com\">https://www.stackfield.com</a></p></li><li><p>Soziale Netzwerke: • Mastodon: <a href=\"https://joinmastodon.org\">https://joinmastodon.org</a> • Pixelfed: <a href=\"https://pixelfed.org\">https://pixelfed.org</a> • BeReal: <a href=\"https://bere.al\">https://bere.al</a> • Xing: <a href=\"https://www.xing.com\">https://www.xing.com</a></p></li></ol><p>► DER 3003-HYPE-NEWSLETTER: <a href=\"https://ct.de/hype\">https://ct.de/hype</a></p><p>► Alle Newsletter von Heise: <a href=\"https://www.heise.de/newsletter/\">https://www.heise.de/newsletter/</a></p><p>► Hier geht es zum c’t-WhatsApp-Kanal: <a href=\"https://whatsapp.com/channel/0029VaCU\">https://whatsapp.com/channel/0029VaCU</a>…</p><p>► Keno auf Instagram: <a href=\"https://www.instagram.com/elektroelvis/\">https://www.instagram.com/elektroelvis/</a></p><p>► c’t Magazin: <a href=\"http://ct.de\">http://ct.de</a>  ► und TOTAL CRAZY auf Papier! Überall wo es Zeitschriften gibt!</p><p>► Credits: Konzept &amp; Redaktion: Jan-Keno Janssen, Lukas Rumpler Schnitt: Sahin Erengil Host: Jan-Keno Janssen</p><p>#DigitaleSouveränität #EuropäischeAlternativen #Datenschutz</p>", updated: "2025-03-25T14:59:05.095Z", attributedTo: "https://makertube.net/accounts/ct_3003_channel"}, errors: [tag: {"is invalid", [validation: :embed, type: {:array, :map}]}, attachment: {"can't be blank", [validation: :required]}], data: #Pleroma.Web.ActivityPub.ObjectValidators.AudioVideoValidator<>, valid?: false, ...>}

akkoma-app  | 15:31:37.547 request_id=GDAVgHzb9zgR5CMAAjqB [error] Could not decode featured collection at fetch https://mastodon.social/users/Spinal/collections/featured, {:error, :not_found}

akkoma-app  | 15:31:58.674 [warning] Can't find LRDD template in "https://flipboard.com/.well-known/host-meta": {:ok, %Tesla.Env{method: :get, url: "https://flipboard.com/.well-known/host-meta", query: [], headers: [{"content-type", "application/json"}, {"content-length", "115"}, {"connection", "keep-alive"}, {"date", "Tue, 25 Mar 2025 15:31:58 GMT"}, {"referrer-policy", "no-referrer"}, {"set-cookie", "AWSALB=v92VCYd3HkCTg9msGKFfCku2G1KFT9E+86D6+n2ptAD8IE9A+24UvD8a/Q+tnAmrZA1Ik1JDNbzQb/OAgdCKjFWTqb/PNIEwEOAuU4wUs8awIwTzTfyNN/dtIBXc; Expires=Tue, 01 Apr 2025 15:31:58 GMT; Path=/"}, {"set-cookie", "AWSALBCORS=v92VCYd3HkCTg9msGKFfCku2G1KFT9E+86D6+n2ptAD8IE9A+24UvD8a/Q+tnAmrZA1Ik1JDNbzQb/OAgdCKjFWTqb/PNIEwEOAuU4wUs8awIwTzTfyNN/dtIBXc; Expires=Tue, 01 Apr 2025 15:31:58 GMT; Path=/; SameSite=None; Secure"}, {"vary", "Accept-Encoding"}, {"cache-control", "no-cache, no-store, max-age=0, must-revalidate"}, {"pragma", "no-cache"}, {"expires", "0"}, {"x-content-type-options", "nosniff"}, {"strict-transport-security", "max-age=31536000 ; includeSubDomains"}, {"strict-transport-security", "max-age=31536000"}, {"x-frame-options", "DENY"}, {"x-xss-protection", "1; mode=block"}, {"x-cache", "Error from cloudfront"}, {"via", "1.1 044b6ab929e12b48b2113c346ddcec30.cloudfront.net (CloudFront)"}, {"x-amz-cf-pop", "FRA56-P12"}, {"x-amz-cf-id", "ykiyDahtUYjso0DjKxzLOYQNJ8XOJlo3nQXnEcxOypMS7bx4moyCdg=="}], body: "{\"timestamp\":1742916718617,\"path\":\"/.well-known/host-meta\",\"status\":404,\"error\":\"Not Found\",\"requestId\":\"518ea481\"}", status: 404, opts: [adapter: [receive_timeout: 15000, pool_timeout: 5000, name: MyFinch]], __module__: Tesla, __client__: %Tesla.Client{fun: nil, pre: [{Tesla.Middleware.FollowRedirects, :call, [[]]}, {Tesla.Middleware.Telemetry, :call, [[]]}], post: [], adapter: {Tesla.Adapter.Finch, :call, [[name: MyFinch]]}}}}

this indeed looks like an interop issue; forwarded as #892 - Received Video objects from PeerTube are not understood - AkkomaGang/akkoma - Akkoma Development

1 Like

Cool! Thanks for the quick follow up!