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

Remote follow doesn't works #736

Closed
rhaamo opened this issue Apr 2, 2017 · 16 comments
Closed

Remote follow doesn't works #736

rhaamo opened this issue Apr 2, 2017 · 16 comments

Comments

@rhaamo
Copy link

rhaamo commented Apr 2, 2017

I have installed my own mastodon instance and it seems to works except that issue.

I have tried to "remote follow" someone using mastodon.social instance button, but the form threw an error saying Could not find the required redirect URL for your account.

I have then tried from my instance, by searching using the syntax username@mastodon.social, I can then click on follow but that's all, my timelines doesn't updates and I doesn't appears to the user's followers list.

I have no errors in my logs, and sidekiq seems to be running without issues (no failed jobs).
The "virtual" account is created in my instance but I see PuSH subscription expires Not subscribed is that related too ?

What can be wrong or what can I have missed about that feature ?

@rhaamo
Copy link
Author

rhaamo commented Apr 3, 2017

Deleted database and FLUSHALL of redis then re-ran migrations and account creation but still the same problem.

Any hints how to debug this ?

@rhaamo
Copy link
Author

rhaamo commented Apr 3, 2017

Well It was a SSL issue. Used FULLCHAIN instead of CERT and it works.

@rhaamo rhaamo closed this as completed Apr 3, 2017
@Ell
Copy link

Ell commented Apr 5, 2017

@rhaamo I'm running into this exact issue, can you give any more details on what the cause was?

@dstengele
Copy link

@Ell Check your SSL/TLS configuration. I ran into this problem with Instances that were available over IPv6 as well as IPv4. The sample nginx config does not include a listen directive for IPv6, so this can cause problems.

@davidcelis
Copy link
Contributor

@derintendant Could you provide an example of what the IPv6 listen directive would look like? I have one but it still isn't working for me:

server {
  listen 80;
  listen [::]:80;
  server_name example.com;
  return 301 https://$host$request_uri;
}

server {
  listen 443 ssl;
  listen [::]:443 ssl;
  server_name example.com;

  # …
}

@maop
Copy link

maop commented Apr 7, 2017

Thank you, i deleted the ipv6 part in my nginx conf... also now put the fullchain cert. And now "Remote Follow" works just fine!

But now in the federated timeline i can't see their posts, follows, etc... :-/ any ideas?

@colegleason
Copy link

@maop can you give an example? Remote follow isn't working for me either and I think it might be related.

@maop
Copy link

maop commented Apr 7, 2017

@colegleason i just deleted this line in my nginx config:
listen [::]:80;
And used the fullchain.cert that let's encrypt gives me instead of just domain.cert

That's all i did.

Regarding the federated timeline in another issue they said:

That's expected behavior. The Federated Timeline is made from the toots by people that are on your instance, and the ones by people on remote instances that people on your instance follow, since they started following them. If you don't follow anyone, or follow a few people and they haven't tooted since you started following them, you shouldn't see anything in there
#1104 (comment)

So i guess mine is working fine, just not a lot users yet...

Since commenting on this issue i have added several users from 3 different instances, and everything works fine avatars, profile image, etc.... i just can't see their entire "follow list" only people i know or are in my instance ... i would guess this is intended.

@colegleason
Copy link

Ah, I think I have the reverse problem. I can follow others, but they can't follow me from a different instance.

@colegleason
Copy link

Oh no, actually I also see "Could not find the required redirect URL for your account" if I try to remote follow someone from the web page. I am already using fullchain though, and I commented out the line you mentioned.

@maop
Copy link

maop commented Apr 7, 2017

have you restarted everything? nginx, mastodon-web.service, mastodon-sidekiq ?

@colegleason
Copy link

Yeah, I also rebuilt everything with latest pull.

@colegleason
Copy link

@maop Should LOCAL_HTTPS be set to true?

@maop
Copy link

maop commented Apr 7, 2017

i have it set to true yeah...
i just followed the "production guide" last night... left everything that didn't need change untouch

Also i don't use docker, everything was done in a LXC container.

@sys0dm1n
Copy link

I had the same issue, by removing let's Encypt location block everything worked fine:
location ~ /.well-known { allow all; }
I hope this might help others with my case.

@almet
Copy link

almet commented Apr 18, 2017

Using haproxy, I had trouble with this. I needed to add some headers from my load balancer / SSL termination endpoint. Here is the configuration file in case it helps. https://github.com/almet/infra/blob/master/haproxy/haproxy.cfg#L163-L166

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

No branches or pull requests

8 participants