YunoHost-Apps / pleroma_ynh

Pleroma package for YunoHost: A free, federated social networking server built on open protocols.
https://pleroma.social/
GNU Affero General Public License v3.0
30 stars 11 forks source link

Cannot find subdomain Write Freely account from primary domain Pleroma account on same YNH server #228

Open RichardFoxworthy opened 1 year ago

RichardFoxworthy commented 1 year ago

Describe the bug

I have three domains configured on my YNH server.

I have a Pleroma hosted at a primary domain foxylo.xyz (which is not the default domain for this server), plus I have installed Write Freely on the subdomain blog.foxylo.xyz

My Write Freely blog is configured for Fediverse, but I cannot find, see or follow my Write Freely account from my Pleroma account.

I have confirmed that other Fediverse accounts are able to find, see and follow my Write Freely account.

Context

Steps to reproduce

  1. log into my pleroma account @foxyloxy@foxylo.xyz
  2. search for my write freely account @foxyloxy@blog.foxylo.xyz

Expected behaviour

Expect to see a search result in Pleroma that the actor @foxyloxy@blog.foxylo.xyz exists and can be followed.

However, my Pleroma cannot find @foxyloxy@blog.foxylo.xyz

Logs

Pleroma itself seems to be working as expected - https://paste.yunohost.org/mojewugowa

I suspect this issue may be due to Nginx: logs from /var/log/nginx/blog.foxylo.xyz-access.log after attempting to search for @foxyloxy@blog.foxylo.xyz include this:

127.0.0.1 - - [08/Jan/2023:02:48:49 +0000] "GET /.well-known/host-meta HTTP/1.1" 301 162 "-" "Pleroma 2.4.5; https://foxylo.xyz <example@example.com>"

/var/log/nginx/blog.foxylo.xyz-access.log
198.58.122.231 - - [07/Jan/2023:23:14:09 +0000] "GET /api/nodeinfo HTTP/1.1" 200 453 "-" "fedimapper"
198.58.122.231 - - [07/Jan/2023:23:14:09 +0000] "GET /api/v1/instance HTTP/1.1" 404 19 "-" "fedimapper"
127.0.0.1 - - [07/Jan/2023:23:25:04 +0000] "GET /.well-known/host-meta HTTP/1.1" 301 162 "-" "Pleroma 2.4.5; https://foxylo.xyz <example@example.com>"
127.0.0.1 - - [07/Jan/2023:23:33:52 +0000] "GET /.well-known/host-meta HTTP/1.1" 301 162 "-" "Pleroma 2.4.5; https://foxylo.xyz <example@example.com>"
109.70.100.35 - - [07/Jan/2023:23:35:34 +0000] "GET /api/v1/instance HTTP/2.0" 404 19 "-" "FediList agent (https://fedilist.com/)"
109.70.100.35 - - [07/Jan/2023:23:35:35 +0000] "GET /.well-known/nodeinfo HTTP/2.0" 200 115 "-" "FediList agent (https://fedilist.com/)"
109.70.100.35 - - [07/Jan/2023:23:35:36 +0000] "GET /api/nodeinfo HTTP/2.0" 200 453 "-" "FediList agent (https://fedilist.com/)"
198.58.122.231 - - [08/Jan/2023:00:08:11 +0000] "GET /robots.txt HTTP/1.1" 404 15 "-" "fedimapper"
198.58.122.231 - - [08/Jan/2023:00:08:11 +0000] "GET /.well-known/host-meta HTTP/1.1" 200 221 "-" "fedimapper"
198.58.122.231 - - [08/Jan/2023:00:08:12 +0000] "GET / HTTP/1.1" 200 9212 "-" "fedimapper"
198.58.122.231 - - [08/Jan/2023:00:08:12 +0000] "GET /.well-known/nodeinfo HTTP/1.1" 200 115 "-" "fedimapper"
198.58.122.231 - - [08/Jan/2023:00:08:12 +0000] "GET /api/nodeinfo HTTP/1.1" 200 453 "-" "fedimapper"
198.58.122.231 - - [08/Jan/2023:00:08:12 +0000] "GET /api/v1/instance HTTP/1.1" 404 19 "-" "fedimapper"
134.155.96.78 - - [08/Jan/2023:00:31:23 +0000] "GET /api/v1/instance HTTP/2.0" 404 19 "-" "Java-http-client/17.0.5"
2a01:4f8:162:6027::2 - - [08/Jan/2023:00:44:40 +0000] "GET / HTTP/1.1" 200 9212 "-" "Ruby, mastodon 0.1.1"
198.58.122.231 - - [08/Jan/2023:01:02:16 +0000] "GET /robots.txt HTTP/1.1" 404 15 "-" "fedimapper"
198.58.122.231 - - [08/Jan/2023:01:02:16 +0000] "GET /.well-known/host-meta HTTP/1.1" 200 221 "-" "fedimapper"
198.58.122.231 - - [08/Jan/2023:01:02:17 +0000] "GET / HTTP/1.1" 200 9212 "-" "fedimapper"
198.58.122.231 - - [08/Jan/2023:01:02:17 +0000] "GET /.well-known/nodeinfo HTTP/1.1" 200 115 "-" "fedimapper"
198.58.122.231 - - [08/Jan/2023:01:02:17 +0000] "GET /api/nodeinfo HTTP/1.1" 200 453 "-" "fedimapper"
198.58.122.231 - - [08/Jan/2023:01:02:17 +0000] "GET /api/v1/instance HTTP/1.1" 404 19 "-" "fedimapper"
2a01:4f8:162:6027::2 - - [08/Jan/2023:01:37:31 +0000] "GET /api/v1/instance HTTP/1.1" 404 19 "-" "Ruby, mastodon 0.1.1"
2a0b:fb00:9:0:91:230:22:21 - - [08/Jan/2023:01:40:44 +0000] "HEAD / HTTP/1.1" 200 0 "-" "Friendica 'Giant Rhubarb' 2022.10-1484; https://friendica.erabo.de"
2a0b:fb00:9:0:91:230:22:21 - - [08/Jan/2023:01:40:45 +0000] "GET /.well-known/x-nodeinfo2 HTTP/1.1" 404 19 "-" "Friendica 'Giant Rhubarb' 2022.10-1484; https://friendica.erabo.de"
2a0b:fb00:9:0:91:230:22:21 - - [08/Jan/2023:01:40:45 +0000] "GET /.well-known/nodeinfo HTTP/1.1" 200 115 "-" "Friendica 'Giant Rhubarb' 2022.10-1484; https://friendica.erabo.de"
2a0b:fb00:9:0:91:230:22:21 - - [08/Jan/2023:01:40:45 +0000] "GET /api/nodeinfo HTTP/1.1" 200 453 "-" "Friendica 'Giant Rhubarb' 2022.10-1484; https://friendica.erabo.de"
2a0b:fb00:9:0:91:230:22:21 - - [08/Jan/2023:01:40:46 +0000] "GET /api/v1/directory?limit=1 HTTP/1.1" 404 19 "-" "Friendica 'Giant Rhubarb' 2022.10-1484; https://friendica.erabo.de"
2a0b:fb00:9:0:91:230:22:21 - - [08/Jan/2023:01:40:46 +0000] "GET /poco HTTP/1.1" 404 5031 "-" "Friendica 'Giant Rhubarb' 2022.10-1484; https://friendica.erabo.de"
2a0b:fb00:9:0:91:230:22:21 - - [08/Jan/2023:01:40:46 +0000] "GET /api/v1/instance/activity HTTP/1.1" 404 19 "-" "Friendica 'Giant Rhubarb' 2022.10-1484; https://friendica.erabo.de"
159.196.229.70 - - [08/Jan/2023:01:47:43 +0000] "GET / HTTP/1.1" 200 9212 "-" "Ruby, mastodon 0.1.1"
198.58.122.231 - - [08/Jan/2023:01:56:21 +0000] "GET /robots.txt HTTP/1.1" 404 15 "-" "fedimapper"
198.58.122.231 - - [08/Jan/2023:01:56:21 +0000] "GET /.well-known/host-meta HTTP/1.1" 200 221 "-" "fedimapper"
198.58.122.231 - - [08/Jan/2023:01:56:21 +0000] "GET / HTTP/1.1" 200 9212 "-" "fedimapper"
198.58.122.231 - - [08/Jan/2023:01:56:22 +0000] "GET /.well-known/nodeinfo HTTP/1.1" 200 115 "-" "fedimapper"
198.58.122.231 - - [08/Jan/2023:01:56:22 +0000] "GET /api/nodeinfo HTTP/1.1" 200 453 "-" "fedimapper"
198.58.122.231 - - [08/Jan/2023:01:56:22 +0000] "GET /api/v1/instance HTTP/1.1" 404 19 "-" "fedimapper"
2a01:4f8:162:6027::2 - - [08/Jan/2023:01:58:33 +0000] "GET /api/v1/instance/peers HTTP/1.1" 404 19 "-" "Ruby, mastodon 0.1.1"
2a01:4f8:221:11e:8000:0:bc28:aaee - - [08/Jan/2023:02:15:49 +0000] "GET /api/v1/instance/ HTTP/1.1" 404 19 "-" "mastodonpy"
2a01:4f8:162:6027::2 - - [08/Jan/2023:02:17:21 +0000] "GET /api/v1/instance/domain_blocks HTTP/1.1" 404 19 "-" "Ruby, mastodon 0.1.1"
2a01:4f8:162:6027::2 - - [08/Jan/2023:02:25:32 +0000] "GET /api/v1/streaming/health HTTP/1.1" 404 19 "-" "Ruby, mastodon 0.1.1"
185.86.151.168 - - [08/Jan/2023:02:35:10 +0000] "GET /api/v1/instance HTTP/2.0" 404 19 "-" "FediList agent (https://fedilist.com/)"
185.86.151.168 - - [08/Jan/2023:02:35:11 +0000] "GET /.well-known/nodeinfo HTTP/2.0" 200 115 "-" "FediList agent (https://fedilist.com/)"
185.86.151.168 - - [08/Jan/2023:02:35:12 +0000] "GET /api/nodeinfo HTTP/2.0" 200 453 "-" "FediList agent (https://fedilist.com/)"
127.0.0.1 - - [08/Jan/2023:02:48:49 +0000] "GET /.well-known/host-meta HTTP/1.1" 301 162 "-" "Pleroma 2.4.5; https://foxylo.xyz <example@example.com>"
198.58.122.231 - - [08/Jan/2023:02:50:26 +0000] "GET /robots.txt HTTP/1.1" 404 15 "-" "fedimapper"
198.58.122.231 - - [08/Jan/2023:02:50:26 +0000] "GET /.well-known/host-meta HTTP/1.1" 200 221 "-" "fedimapper"
198.58.122.231 - - [08/Jan/2023:02:50:27 +0000] "GET / HTTP/1.1" 200 9212 "-" "fedimapper"
198.58.122.231 - - [08/Jan/2023:02:50:27 +0000] "GET /.well-known/nodeinfo HTTP/1.1" 200 115 "-" "fedimapper"
198.58.122.231 - - [08/Jan/2023:02:50:27 +0000] "GET /api/nodeinfo HTTP/1.1" 200 453 "-" "fedimapper"
198.58.122.231 - - [08/Jan/2023:02:50:27 +0000] "GET /api/v1/instance HTTP/1.1" 404 19 "-" "fedimapper"
bugsysop commented 1 year ago

Tried a search, my Pleroma can’t find none of @foxyloxy@foxylo.xyz and @foxyloxy@blog.foxylo.xyz

PericlesSyC commented 4 months ago

The same on my server. I have a Pleroma instance mumm.pepecyb.de and (among others) a Hubzilla hub hub.pericles.hu .

My main Hubzilla channel is not found (AP is activated). Likewise my other channels or the channel of a user who is registered with my hub.

So it doesn't seem to be limited to Write Freely.

Various Hubzilla channels of known users are found, but many more are not.

However, the channels are all found by Mastodon, for example (external instance), or by Misskey, Sharkey, Iceshrimp...

So Pleroma is not usable for me.