Can't view my Wordpress federated post
-
julian said in Can't view my Wordpress federated post:
> ska that is just a coincidence
>
> baris added the additional logging at the same timeGreat, I figured it was a coincidence (damn them!) but I wanted to say it so as not to leave out any potential clues!
-
undefined Piero Bosio ha condiviso questa discussione
-
julian said in Can't view my Wordpress federated post:
> ska that is just a coincidence
>
> baris added the additional logging at the same timeGreat, I figured it was a coincidence (damn them!) but I wanted to say it so as not to leave out any potential clues!
ska Unfortunately I can't seem to reproduce the issue on my test instances (here and one other). The URL does seem to load fine.
Are you able to SSH into your forum server? Can you run
curl -H "Accept: application/activity+json" https://www.lealternative.net/?p=63326
and tell me what shows up? -
julian sure.
{"@context":["https://www.w3.org/ns/activitystreams",{"Hashtag":"as:Hashtag","sensitive":"as:sensitive","dcterms":"http://purl.org/dc/terms/"}],"id":"https://www.lealternative.net/?p=63326","type":"Note","attachment":[{"type":"Image","url":"https://www.lealternative.net/wp-content/uploads/2023/01/cassandra-old-1024x576.jpg","mediaType":"image/jpeg","name":"Cassandra Crossing"},{"type":"Image","url":"https://www.lealternative.net/wp-content/uploads/2025/07/1__ROhgDY5d2F0xnYunkuAkw.webp","mediaType":"image/webp"}],"attributedTo":"https://www.lealternative.net/?author=4","content":"\u003Ch2\u003EDall\u0026#8217;archivio di Cassandra/ Generazioni\u003C/h2\u003E\u003Cp\u003ECosa \u00e8 successo ai tanti che si battevano per le libert\u00e0 digitali? Breve excursus sulla storia della difesa della rete e su come tutto stia cambiando. Lasciando molte macerie sulla via.\u003C/p\u003E\u003Cp\u003E\u003Ca href=\u0022https://www.lealternative.net/2025/09/08/dallarchivio-di-cassandra-generazioni/\u0022 class=\u0022status-link unhandled-link\u0022\u003Ehttps://www.lealternative.net/2025/09/08/dallarchivio-di-cassandra-generazioni/\u003C/a\u003E\u003C/p\u003E","context":"https://www.lealternative.net/wp-json/activitypub/1.0/posts/63326/context","contentMap":{"it":"\u003Ch2\u003EDall\u0026#8217;archivio di Cassandra/ Generazioni\u003C/h2\u003E\u003Cp\u003ECosa \u00e8 successo ai tanti che si battevano per le libert\u00e0 digitali? Breve excursus sulla storia della difesa della rete e su come tutto stia cambiando. Lasciando molte macerie sulla via.\u003C/p\u003E\u003Cp\u003E\u003Ca href=\u0022https://www.lealternative.net/2025/09/08/dallarchivio-di-cassandra-generazioni/\u0022 class=\u0022status-link unhandled-link\u0022\u003Ehttps://www.lealternative.net/2025/09/08/dallarchivio-di-cassandra-generazioni/\u003C/a\u003E\u003C/p\u003E"},"icon":{"type":"Image","url":"https://www.lealternative.net/wp-content/uploads/2023/01/cassandra-old-150x150.jpg","mediaType":"image/jpeg","name":"Cassandra Crossing"},"image":{"type":"Image","url":"https://www.lealternative.net/wp-content/uploads/2023/01/cassandra-old-1024x576.jpg","mediaType":"image/jpeg","name":"Cassandra Crossing"},"published":"2025-09-08T06:55:00Z","tag":[{"type":"Mention","href":"https://feddit.it/c/lealternative","name":"[lealternative@feddit.it](https://community.nodebb.org/category/lealternative@feddit.it)"}],"url":"https://www.lealternative.net/2025/09/08/dallarchivio-di-cassandra-generazioni/","to":["https://www.w3.org/ns/activitystreams#Public"],"cc":["https://www.lealternative.net/wp-json/activitypub/1.0/actors/4/followers","https://feddit.it/c/lealternative"],"mediaType":"text/html","replies":{"id":"https://www.lealternative.net/wp-json/activitypub/1.0/posts/63326/replies","type":"Collection","first":{"id":"https://www.lealternative.net/wp-json/activitypub/1.0/posts/63326/replies?page=1","type":"CollectionPage","partOf":"https://www.lealternative.net/wp-json/activitypub/1.0/posts/63326/replies","items":[]}},"likes":{"id":"https://www.lealternative.net/wp-json/activitypub/1.0/posts/63326/likes","type":"Collection","totalItems":2},"shares":{"id":"https://www.lealternative.net/wp-json/activitypub/1.0/posts/63326/shares","type":"Collection","totalItems":3}}
better formatted:
{ "@context": [ "https://www.w3.org/ns/activitystreams", { "Hashtag": "as:Hashtag", "sensitive": "as:sensitive", "dcterms": "http://purl.org/dc/terms/" } ], "id": "https://www.lealternative.net/?p=63326", "type": "Note", "attachment": [ { "type": "Image", "url": "https://www.lealternative.net/wp-content/uploads/2023/01/cassandra-old-1024x576.jpg", "mediaType": "image/jpeg", "name": "Cassandra Crossing" }, { "type": "Image", "url": "https://www.lealternative.net/wp-content/uploads/2025/07/1__ROhgDY5d2F0xnYunkuAkw.webp", "mediaType": "image/webp" } ], "attributedTo": "https://www.lealternative.net/?author=4", "content": "<h2>Dall’archivio di Cassandra/ Generazioni</h2><p>Cosa \u00e8 successo ai tanti che si battevano per le libert\u00e0 digitali? Breve excursus sulla storia della difesa della rete e su come tutto stia cambiando. Lasciando molte macerie sulla via.</p><p><a href="\"https://www.lealternative.net/2025/09/08/dallarchivio-di-cassandra-generazioni/\"" class="\"status-link">https://www.lealternative.net/2025/09/08/dallarchivio-di-cassandra-generazioni/</a></p>", "context": "https://www.lealternative.net/wp-json/activitypub/1.0/posts/63326/context", "contentMap": { "it": "<h2>Dall’archivio di Cassandra/ Generazioni</h2><p>Cosa \u00e8 successo ai tanti che si battevano per le libert\u00e0 digitali? Breve excursus sulla storia della difesa della rete e su come tutto stia cambiando. Lasciando molte macerie sulla via.</p><p><a href="\"https://www.lealternative.net/2025/09/08/dallarchivio-di-cassandra-generazioni/\"" class="\"status-link">https://www.lealternative.net/2025/09/08/dallarchivio-di-cassandra-generazioni/</a></p>" }, "icon": { "type": "Image", "url": "https://www.lealternative.net/wp-content/uploads/2023/01/cassandra-old-150x150.jpg", "mediaType": "image/jpeg", "name": "Cassandra Crossing" }, "image": { "type": "Image", "url": "https://www.lealternative.net/wp-content/uploads/2023/01/cassandra-old-1024x576.jpg", "mediaType": "image/jpeg", "name": "Cassandra Crossing" }, "published": "2025-09-08T06:55:00Z", "tag": [ { "type": "Mention", "href": "https://feddit.it/c/lealternative", "name": "[lealternative@feddit.it](https://community.nodebb.org/category/lealternative@feddit.it)" } ], "url": "https://www.lealternative.net/2025/09/08/dallarchivio-di-cassandra-generazioni/", "to": [ "https://www.w3.org/ns/activitystreams#Public" ], "cc": [ "https://www.lealternative.net/wp-json/activitypub/1.0/actors/4/followers", "https://feddit.it/c/lealternative" ], "mediaType": "text/html", "replies": { "id": "https://www.lealternative.net/wp-json/activitypub/1.0/posts/63326/replies", "type": "Collection", "first": { "id": "https://www.lealternative.net/wp-json/activitypub/1.0/posts/63326/replies?page=1", "type": "CollectionPage", "partOf": "https://www.lealternative.net/wp-json/activitypub/1.0/posts/63326/replies", "items": [] } }, "likes": { "id": "https://www.lealternative.net/wp-json/activitypub/1.0/posts/63326/likes", "type": "Collection", "totalItems": 2 }, "shares": { "id": "https://www.lealternative.net/wp-json/activitypub/1.0/posts/63326/shares", "type": "Collection", "totalItems": 3 } }
-
julian anyway 63326 it shows up to me on my NodeBB.
This does not work: https://www.lealternative.net/?p=64428
{"@context":["https://www.w3.org/ns/activitystreams",{"Hashtag":"as:Hashtag","sensitive":"as:sensitive","dcterms":"http://purl.org/dc/terms/"}],"id":"https://www.lealternative.net/?p=64428","type":"Note","attachment":[{"type":"Image","url":"https://www.lealternative.net/wp-content/uploads/2024/06/mullvadvpn-1024x576.jpg","mediaType":"image/jpeg","name":"Mullvad VPN supera il quarto audit indipendente"}],"attributedTo":"https://www.lealternative.net/?author=6","content":"\u003Ch2\u003EMullvad introduce l\u0026#8217;offuscamento QUIC\u003C/h2\u003E\u003Cp\u003EMullvad ha presentato una nuova caratteristica della propria VPN ovvero la possibilit\u00e0 di offuscare il traffico tramite QUIC.\u003C/p\u003E\u003Cp\u003E\u003Ca href=\u0022https://www.lealternative.net/2025/09/11/mullvad-introduce-loffuscamento-quic/\u0022 class=\u0022status-link unhandled-link\u0022\u003Ehttps://www.lealternative.net/2025/09/11/mullvad-introduce-loffuscamento-quic/\u003C/a\u003E\u003C/p\u003E","context":"https://www.lealternative.net/wp-json/activitypub/1.0/posts/64428/context","contentMap":{"it":"\u003Ch2\u003EMullvad introduce l\u0026#8217;offuscamento QUIC\u003C/h2\u003E\u003Cp\u003EMullvad ha presentato una nuova caratteristica della propria VPN ovvero la possibilit\u00e0 di offuscare il traffico tramite QUIC.\u003C/p\u003E\u003Cp\u003E\u003Ca href=\u0022https://www.lealternative.net/2025/09/11/mullvad-introduce-loffuscamento-quic/\u0022 class=\u0022status-link unhandled-link\u0022\u003Ehttps://www.lealternative.net/2025/09/11/mullvad-introduce-loffuscamento-quic/\u003C/a\u003E\u003C/p\u003E"},"icon":{"type":"Image","url":"https://www.lealternative.net/wp-content/uploads/2024/06/mullvadvpn-150x150.jpg","mediaType":"image/jpeg","name":"Mullvad VPN supera il quarto audit indipendente"},"image":{"type":"Image","url":"https://www.lealternative.net/wp-content/uploads/2024/06/mullvadvpn-1024x576.jpg","mediaType":"image/jpeg","name":"Mullvad VPN supera il quarto audit indipendente"},"published":"2025-09-11T07:45:42Z","tag":[{"type":"Mention","href":"https://mastodon.online/users/mullvadnet","name":"[mullvadnet@mastodon.online](https://community.nodebb.org/user/mullvadnet%40mastodon.online)"},{"type":"Mention","href":"https://feddit.it/c/lealternative","name":"[lealternative@feddit.it](https://community.nodebb.org/category/lealternative@feddit.it)"}],"updated":"2025-09-11T07:45:52Z","url":"https://www.lealternative.net/2025/09/11/mullvad-introduce-loffuscamento-quic/","to":["https://www.w3.org/ns/activitystreams#Public"],"cc":["https://www.lealternative.net/wp-json/activitypub/1.0/actors/6/followers","https://mastodon.online/users/mullvadnet","https://feddit.it/c/lealternative"],"mediaType":"text/html","replies":{"id":"https://www.lealternative.net/wp-json/activitypub/1.0/posts/64428/replies","type":"Collection","first":{"id":"https://www.lealternative.net/wp-json/activitypub/1.0/posts/64428/replies?page=1","type":"CollectionPage","partOf":"https://www.lealternative.net/wp-json/activitypub/1.0/posts/64428/replies","items":[]}},"likes":{"id":"https://www.lealternative.net/wp-json/activitypub/1.0/posts/64428/likes","type":"Collection","totalItems":3},"shares":{"id":"https://www.lealternative.net/wp-json/activitypub/1.0/posts/64428/shares","type":"Collection","totalItems":5}}
-
ska Are you able to restart NodeBB without using the regular buttons from the ACP... just by stopping the service from the command line and restarting?
Then perhaps the locks will clear.
-
ska Are you able to restart NodeBB without using the regular buttons from the ACP... just by stopping the service from the command line and restarting?
Then perhaps the locks will clear.
julian sure, done a
./nodebb stop
and
./nodebb start
but searching for https://www.lealternative.net/?p=64428 always gives me "no results".
-
ska I added some logic changes to better handle the locks... can you update to the latest version on the
develop
branch, and run NodeBB using./nodebb dev
? -
ska I added some logic changes to better handle the locks... can you update to the latest version on the
develop
branch, and run NodeBB using./nodebb dev
?julian said in Can't view my Wordpress federated post:
> ska I added some logic changes to better handle the locks... can you update to the latest version on the develop branch, and run NodeBB using ./nodebb dev?yes with latest dev seems works normally
-
this is what i got on shell when i search a wordpress post (that does not work on stable version) but now it works:
2025-09-11T14:44:01.289Z [4567/205061] - verbose: [activitypub/get] https://www.lealternative.net/2025/09/10/abbiamo-provato-la-vpn-a-pagamento-di-duckduckgo/ 2025-09-11T14:44:01.549Z [4567/205061] - verbose: [activitypub/verify] Starting signature verification... 2025-09-11T14:44:01.551Z [4567/205061] - verbose: [activitypub/verify] Retrieving pubkey for https://babka.social/users/Michael54_#main-key 2025-09-11T14:44:01.553Z [4567/205061] - verbose: [activitypub/get] https://babka.social/users/Michael54_#main-key 2025-09-11T14:44:01.993Z [4567/205061] - verbose: [activitypub/get] Received 404 when querying https://babka.social/users/Michael54_#main-key 2025-09-11T14:44:01.993Z [4567/205061] - verbose: [activitypub/get] Error received: Not Found 2025-09-11T14:44:01.993Z [4567/205061] - verbose: [activitypub/verify] Failed, key retrieval or verification failure. 2025-09-11T14:44:01.993Z [4567/205061] - verbose: [middleware/activitypub] HTTP signature verification failed. 2025-09-11T14:44:02.243Z [4567/205061] - verbose: [activitypub/get] https://www.lealternative.net/?p=63789 2025-09-11T14:44:02.726Z [4567/205061] - verbose: [activitypub/get] https://www.lealternative.net/wp-json/activitypub/1.0/posts/63789/context 2025-09-11T14:44:02.975Z [4567/205061] - verbose: [activitypub/context] Retrieving context/page https://www.lealternative.net/wp-json/activitypub/1.0/posts/63789/context 2025-09-11T14:44:02.975Z [4567/205061] - verbose: [activitypub/context] Retrieved https://www.lealternative.net/?p=63789 2025-09-11T14:44:02.975Z [4567/205061] - verbose: [activitypub/context] Parsing https://www.lealternative.net/?p=63789 2025-09-11T14:44:02.982Z [4567/205061] - verbose: [activitypub/mocks.post] Received image not identified as image due to MIME type: https://www.lealternative.net/wp-content/uploads/2025/08/duckduckgoprivacypro-1024x576.jpg 2025-09-11T14:44:02.984Z [4567/205061] - verbose: [activitypub/context] Found 1 items. 2025-09-11T14:44:02.990Z [4567/205061] - verbose: [activitypub/actors] Asserting 2 actor(s) 2025-09-11T14:44:02.990Z [4567/205061] - verbose: [activitypub/actors] Processing https://www.w3.org/ns/activitystreams#Public 2025-09-11T14:44:02.990Z [4567/205061] - verbose: [activitypub/actors] Processing https://www.lealternative.net/wp-json/activitypub/1.0/actors/1/followers 2025-09-11T14:44:03.004Z [4567/205061] - verbose: [activitypub/get] https://www.w3.org/ns/activitystreams#Public 2025-09-11T14:44:03.004Z [4567/205061] - verbose: [activitypub/get] https://www.lealternative.net/wp-json/activitypub/1.0/actors/1/followers 2025-09-11T14:44:03.642Z [4567/205061] - verbose: [activitypub] Checking auto-categorization rules. 2025-09-11T14:44:03.648Z [4567/205061] - verbose: [notes/assert] 1 new note(s) found. 2025-09-11T14:44:03.757Z [4567/205061] - verbose: [activitypub/notes.assert] Associating tid e5663ce5-d017-44e1-807f-2e5642c107fb with context https://www.lealternative.net/wp-json/activitypub/1.0/posts/63789/context 2025-09-11T14:44:03.779Z [4567/205061] - verbose: [activitypub/syncUserInboxes] Syncing tid e5663ce5-d017-44e1-807f-2e5642c107fb with 2 inboxes
-
this is what i got on shell when i search a wordpress post (that does not work on stable version) but now it works:
2025-09-11T14:44:01.289Z [4567/205061] - verbose: [activitypub/get] https://www.lealternative.net/2025/09/10/abbiamo-provato-la-vpn-a-pagamento-di-duckduckgo/ 2025-09-11T14:44:01.549Z [4567/205061] - verbose: [activitypub/verify] Starting signature verification... 2025-09-11T14:44:01.551Z [4567/205061] - verbose: [activitypub/verify] Retrieving pubkey for https://babka.social/users/Michael54_#main-key 2025-09-11T14:44:01.553Z [4567/205061] - verbose: [activitypub/get] https://babka.social/users/Michael54_#main-key 2025-09-11T14:44:01.993Z [4567/205061] - verbose: [activitypub/get] Received 404 when querying https://babka.social/users/Michael54_#main-key 2025-09-11T14:44:01.993Z [4567/205061] - verbose: [activitypub/get] Error received: Not Found 2025-09-11T14:44:01.993Z [4567/205061] - verbose: [activitypub/verify] Failed, key retrieval or verification failure. 2025-09-11T14:44:01.993Z [4567/205061] - verbose: [middleware/activitypub] HTTP signature verification failed. 2025-09-11T14:44:02.243Z [4567/205061] - verbose: [activitypub/get] https://www.lealternative.net/?p=63789 2025-09-11T14:44:02.726Z [4567/205061] - verbose: [activitypub/get] https://www.lealternative.net/wp-json/activitypub/1.0/posts/63789/context 2025-09-11T14:44:02.975Z [4567/205061] - verbose: [activitypub/context] Retrieving context/page https://www.lealternative.net/wp-json/activitypub/1.0/posts/63789/context 2025-09-11T14:44:02.975Z [4567/205061] - verbose: [activitypub/context] Retrieved https://www.lealternative.net/?p=63789 2025-09-11T14:44:02.975Z [4567/205061] - verbose: [activitypub/context] Parsing https://www.lealternative.net/?p=63789 2025-09-11T14:44:02.982Z [4567/205061] - verbose: [activitypub/mocks.post] Received image not identified as image due to MIME type: https://www.lealternative.net/wp-content/uploads/2025/08/duckduckgoprivacypro-1024x576.jpg 2025-09-11T14:44:02.984Z [4567/205061] - verbose: [activitypub/context] Found 1 items. 2025-09-11T14:44:02.990Z [4567/205061] - verbose: [activitypub/actors] Asserting 2 actor(s) 2025-09-11T14:44:02.990Z [4567/205061] - verbose: [activitypub/actors] Processing https://www.w3.org/ns/activitystreams#Public 2025-09-11T14:44:02.990Z [4567/205061] - verbose: [activitypub/actors] Processing https://www.lealternative.net/wp-json/activitypub/1.0/actors/1/followers 2025-09-11T14:44:03.004Z [4567/205061] - verbose: [activitypub/get] https://www.w3.org/ns/activitystreams#Public 2025-09-11T14:44:03.004Z [4567/205061] - verbose: [activitypub/get] https://www.lealternative.net/wp-json/activitypub/1.0/actors/1/followers 2025-09-11T14:44:03.642Z [4567/205061] - verbose: [activitypub] Checking auto-categorization rules. 2025-09-11T14:44:03.648Z [4567/205061] - verbose: [notes/assert] 1 new note(s) found. 2025-09-11T14:44:03.757Z [4567/205061] - verbose: [activitypub/notes.assert] Associating tid e5663ce5-d017-44e1-807f-2e5642c107fb with context https://www.lealternative.net/wp-json/activitypub/1.0/posts/63789/context 2025-09-11T14:44:03.779Z [4567/205061] - verbose: [activitypub/syncUserInboxes] Syncing tid e5663ce5-d017-44e1-807f-2e5642c107fb with 2 inboxes
ska ok great news thank you!
-
julian Just for completeness: some old Wordpress posts still aren't working. It's still better than before because, for example, the more recent ones are now visible, but it still seems worse to me than it was before v4.5.0.
2025-09-11T14:58:06.590Z [4567/205275] - verbose: [activitypub/get] https://www.lealternative.net/2023/02/24/native-alpha/ 2025-09-11T14:58:09.045Z [4567/205275] - verbose: [activitypub/get] https://www.lealternative.net/2020/03/25/alternative-ad-android/ 2025-09-11T14:58:17.600Z [4567/205275] - verbose: [activitypub/get] https://www.lealternative.net/2020/10/13/giocare-a-tron-online/ 2025-09-11T14:58:18.673Z [4567/205275] - verbose: [activitypub/verify] Starting signature verification... 2025-09-11T14:58:18.674Z [4567/205275] - verbose: [activitypub/verify] Retrieving pubkey for https://mastodon.sdf.org/users/tillku#main-key 2025-09-11T14:58:18.676Z [4567/205275] - verbose: [activitypub/get] https://mastodon.sdf.org/users/tillku#main-key 2025-09-11T14:58:19.415Z [4567/205275] - verbose: [activitypub/get] Received 404 when querying https://mastodon.sdf.org/users/tillku#main-key 2025-09-11T14:58:19.416Z [4567/205275] - verbose: [activitypub/get] Error received: Not Found 2025-09-11T14:58:19.416Z [4567/205275] - verbose: [activitypub/verify] Failed, key retrieval or verification failure. 2025-09-11T14:58:19.416Z [4567/205275] - verbose: [middleware/activitypub] HTTP signature verification failed. 2025-09-11T14:58:33.567Z [4567/205275] - verbose: [activitypub/get] https://www.lealternative.net/2020/08/11/giocare-ad-asteroids/ 2025-09-11T14:59:10.865Z [4567/205275] - verbose: [activitypub/get] https://www.lealternative.net/2022/04/01/connecman/
-
ska which one doesn't work?
Does it work here?
-
julian said in Can't view my Wordpress federated post:
> ska which one doesn't work?
>
> Does it work here?I'm still on the dev branch and almost all of them work, but not all. For example:
https://www.lealternative.net/2020/10/13/giocare-a-tron-online
https://www.lealternative.net/2020/03/25/alternative-ad-android/
https://www.lealternative.net/2023/02/24/native-alpha/These don't work.
In the logs, only the GET request is visible, but without the response.
Most of those that didn't work before now do, such as: https://www.lealternative.net/2025/09/10/abbiamo-provato-la-vpn-a-pagamento-di-duckduckgo/
Also, all Mastodon posts now seem to work, whereas many had problems before.
-
Confirming at this time that at least the first URL shared does not get pulled in. Debugging.
-
ska can you please check that those three posts are actually federated outwards?
The human-readable URLs don't contain the expected
Link
header to the ActivityPub resource.e.g.
link: ; rel="friends-base-url" link: ; rel="https://api.w.org/" link: ; rel="alternate"; title="JSON"; type="application/json" link: ; rel=shortlink
It does contain the shortlink, which I tried to pull with the appropriate
Accept
header, but was sent HTML in response.Perhaps there is a toggle you can press to enable federation on those posts?
-
ska can you please check that those three posts are actually federated outwards?
The human-readable URLs don't contain the expected
Link
header to the ActivityPub resource.e.g.
link: ; rel="friends-base-url" link: ; rel="https://api.w.org/" link: ; rel="alternate"; title="JSON"; type="application/json" link: ; rel=shortlink
It does contain the shortlink, which I tried to pull with the appropriate
Accept
header, but was sent HTML in response.Perhaps there is a toggle you can press to enable federation on those posts?
julian Oh, you're right. I never did it manually and they must have defederated for some reason.
Sorry, but I absolutely hadn't noticed this, so I'd say the problem with NodeBB is solved then