Skip to content
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

Federation: Unable to follow my Writefreely instance #367

Closed
theodotos opened this issue Aug 11, 2020 · 1 comment
Closed

Federation: Unable to follow my Writefreely instance #367

theodotos opened this issue Aug 11, 2020 · 1 comment

Comments

@theodotos
Copy link

Describe the bug

I have setup a selfhosted WriteFreely instance but I'm having some problem with Federation.

The federation api seems to be working:

$ # curl -s https://theo-andreou.org/api/nodeinfo | python -m json.tool
{
    "metadata": {
        "invites": false,
        "maxBlogs": 1,
        "nodeDescription": "A Weblog about Cyprus, Free Software and the space between (by Theodotos Andreou)",
        "nodeName": "Mouflons and Penguins",
        "publicReader": false,
        "software": {
            "follow": "https://writing.exchange/@write_as",
            "github": "https://github.com/writeas/writefreely",
            "homepage": "https://writefreely.org"
        }
    },
    "openRegistrations": false,
    "protocols": [
        "activitypub"
    ],
    "services": {
        "inbound": [],
        "outbound": [
            "rss2.0"
        ]
    },
    "software": {
        "name": "writefreely",
        "version": "0.12.0"
    },
    "usage": {
        "localPosts": 3,
        "users": {
            "activeHalfyear": 1,
            "total": 1
        }
    },
    "version": "2.0"
}

... but I get these in the logs when I try to follow my blog from a Mastodon instance:

192.241.206.104 - - [08/Aug/2020:16:03:49 +0300] "GET /.well-known/webfinger?resource=acct:theo@theo-andreou.org HTTP/1.1" 404 0 "-" "http.rb/4.3.0 (Mastodon/3.1.1; +http
s://social.librem.one/)"
192.241.206.104 - - [08/Aug/2020:16:03:50 +0300] "GET /.well-known/host-meta HTTP/1.1" 200 222 "-" "http.rb/4.3.0 (Mastodon/3.1.1; +https://social.librem.one/)"
192.241.206.104 - - [08/Aug/2020:16:03:50 +0300] "GET /.well-known/webfinger?resource=acct:theo@theo-andreou.org HTTP/1.1" 404 0 "-" "http.rb/4.3.0 (Mastodon/3.1.1; +http
s://social.librem.one/)"

Steps to reproduce (if necessary)

Steps to reproduce the behavior:

  1. Go to a Mastodon instance
  2. Search for @theo@theo-andreou.org
  3. Nothing happens

Expected behavior

I should be able to see the @theo@theo-andreou.org account appearing when I search for it.

Application configuration

  • Single mode
  • Database? mysql
  • Open registration? no
  • Federation enabled? yes
  • Version 0.12.0 (from releases)
@theodotos
Copy link
Author

I turns out I was using the wrong port on the (webfinger|nodeinfo|host-meta) location block.

https://discuss.write.as/t/federation-activated-but-not-working/1703

Sorry for the noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant