Resolving www.urza9814.com (www.urza9814.com)... 192.168.1.34
Connecting to www.urza9814.com (www.urza9814.com)|192.168.1.34|:443... connected.
HTTP request sent, awaiting response... 200 OK
Saving to: 'actor'
actor 100%[=========================================================================================>] 862 --.-KB/s in 0s
2021-01-30 17:59:56 (17.0 MB/s) - 'actor' saved [862/862]
root@mastodon:~# cat actor
"publicKeyPem": "-----BEGIN PUBLIC KEY-----MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1MFF5JcUZN2t3HeRgpYTlFqHVSau9YJGmlRxqfcbtKlshaZTMNSO3Diko0Xnb8U42IBd+hJF0I+O+Jg48GFQG6xavmNxTiJS8dCc7i3BTaZxMUY985xa8ijqppRbrzsLXdD28QTNVS7FpnBwfq7zz0FDNSyrR4UA1oiCZsKcixEtaZRPahRBMu4ptOd7i5CjhRPZ+40D4cxPLl7jfxeLy2n7Q3kKOAYul8vc83KkIbXSYITn18gkWUzwvrUB+vTPHKw+dmjHIiV9xhL+4n/ROi+T2NwxffKgwAbScdIYUX8ThE78I2Yrt+1CYzBU/hhK5gu8kQuWni2iRklzY3YOtwIDAQAB-----END PUBLIC KEY-----"
And the IP of that web server is added in the ALLOWED_PRIVATE_ADDRESSES in mastodon’s .env.production file. Nothing is logged in the web server logs. I do get a 401 logged in the nginx logs on the Mastodon server:
192.168.1.34 - - [30/Jan/2021:18:03:03 +0000] "POST /inbox HTTP/1.1" 401 85 "-" "http.rb/4.4.1"
I also did a sanity check by configuring a second mastodon server, and those two servers can’t communicate either so there may be some deeper issue. After I added the servers to each others’ ALLOWED_PRIVATE_ADDRESSES list, they admin accounts can find each other in the search box if I enter the full username, and I see the user photo show up, and I can send a follow request or send a direct message…but none of those ever appear from the other user’s account. I don’t see any errors in the logs when I try to send messages between the two servers. One account is locked, the other is not, but either way they show their own requests as pending but from the other server no request every shows up, no message ever shows up, everything seems to just silently fail!
Neither server is currently accessible from the outside internet, but as I understand it that shouldn’t be an issue. They can communicate on the local network, and they do have valid SSL certs (from lets encrypt, although I generate those through a pfsense plugin rather than the commands in the tutorial). Both Mastodon servers are the same version, same container template, installed following the same tutorial only one day apart.
(Sorry about the many posts, but I figure I’ll either get yelled at for making many posts or I’ll get yelled at for not including the actual JSON and error messages…ya can’t win with this three url policy )