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 issue (follow requests) from GoToSocial #2

Closed
wuchyi opened this issue Aug 2, 2024 · 5 comments
Closed

Federation issue (follow requests) from GoToSocial #2

wuchyi opened this issue Aug 2, 2024 · 5 comments
Assignees

Comments

@wuchyi
Copy link

wuchyi commented Aug 2, 2024

I have been attempting to follow several federated Flipboard accounts from my GoToSocial account, but I am receiving an http error 500 in response.

Attached below are the logs on the follow request (sanitised):

timestamp="02/08/2024 05:06:58.924" func=server.init.func1.Logger.14.1 level=INFO latency="17.968367ms" userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0" method=POST statusCode=200 path=/api/v1/accounts/<REDACTED>/follow clientIP=<REDACTED> requestID=vfm7p4ch04001ysr2jw0 msg="OK: wrote 179B"
timestamp="02/08/2024 05:06:58.926" func=workers.(*Processor).ProcessFromClientAPI level=INFO activityType=Create objectType=Follow fromAccount=<REDACTED> msg="processing from client API"
timestamp="02/08/2024 05:06:58.930" func=federation.(*federatingActor).Send level=INFO msg="send activity Follow via outbox https://social.<REDACTED>/users/<REDACTED>/outbox"
timestamp="02/08/2024 05:07:00.468" func=server.init.func1.Logger.14.1 level=INFO latency="575.193µs" userAgent="Flipboard ActivityPub/1.0.0 (+https://flipboard.com)" method=GET statusCode=200 path=/users/<REDACTED>/main-key clientIP=<REDACTED> pubKeyID=https://flipboard.com/actor#main-key requestID=yfq7p4ch04000v1jgrn0 msg="OK: wrote 558B"
timestamp="02/08/2024 05:07:00.717" func=httpclient.(*Client).DoOnce level=ERROR method=POST url=https://flipboard.com/inbox contentType="application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"" attempt=0 pubKeyID=https://social.<REDACTED>/users/<REDACTED>/main-key msg="http response: 500 Internal Server Error"
timestamp="02/08/2024 05:07:09.391" func=httpclient.(*Client).DoOnce level=ERROR method=POST url=https://flipboard.com/inbox contentType="application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"" attempt=0 pubKeyID=https://social.<REDACTED>/users/<REDACTED>/main-key msg="http response: 500 Internal Server Error"

On another Flipboard account:

timestamp="02/08/2024 05:15:32.065" func=server.init.func1.Logger.14.1 level=INFO latency="4.990966ms" userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0" method=POST statusCode=200 path=/api/v1/accounts/<REDACTED>/follow clientIP=<REDACTED> requestID=bjyr64ch04000ybx1rng msg="OK: wrote 178B"
timestamp="02/08/2024 05:15:32.067" func=workers.(*Processor).ProcessFromClientAPI level=INFO activityType=Create objectType=Follow fromAccount=<REDACTED> msg="processing from client API"
timestamp="02/08/2024 05:15:32.079" func=federation.(*federatingActor).Send level=INFO msg="send activity Follow via outbox https://social.<REDACTED>/users/<REDACTED>/outbox"
timestamp="02/08/2024 05:15:32.751" func=httpclient.(*Client).DoOnce level=INFO method=GET url=https://flipboard.com/.well-known/webfinger?resource=acct%3A<REDACTED>%40flipboard.com attempt=0 pubKeyID=https://social.<REDACTED>/users/<REDACTED>/main-key msg="200 OK"
timestamp="02/08/2024 05:15:32.983" func=httpclient.(*Client).DoOnce level=ERROR method=POST url=https://flipboard.com/inbox contentType="application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"" attempt=0 pubKeyID=https://social.<REDACTED>/users/<REDACTED>/main-key msg="http response: 500 Internal Server Error"
timestamp="02/08/2024 05:15:33.653" func=httpclient.(*Client).DoOnce level=INFO method=GET url=https://flipboard.com/users/<REDACTED> attempt=0 pubKeyID=https://social.<REDACTED>/users/<REDACTED>/main-key msg="200 OK"
timestamp="02/08/2024 05:15:33.663" func=dereferencing.(*Dereferencer).RefreshAccountAsync.func1 level=ERROR msg="error fetching account featured collection: dereferenceCollection: error dereferencing : invalid http request: empty url host"
timestamp="02/08/2024 05:15:33.906" func=httpclient.(*Client).DoOnce level=INFO method=GET url=https://flipboard.com/users/<REDACTED>/followers attempt=0 pubKeyID=https://social.<REDACTED>/users/<REDACTED>/main-key msg="200 OK"
timestamp="02/08/2024 05:15:34.150" func=httpclient.(*Client).DoOnce level=INFO method=GET url=https://flipboard.com/users/<REDACTED>/following attempt=0 pubKeyID=https://social.<REDACTED>/users/<REDACTED>/main-key msg="200 OK"
timestamp="02/08/2024 05:15:34.394" func=httpclient.(*Client).DoOnce level=INFO method=GET url=https://flipboard.com/users/<REDACTED>/outbox attempt=0 pubKeyID=https://social.<REDACTED>/users/<REDACTED>/main-key msg="200 OK"

Publishing these here after our brief conversation in hopes we can try to drill down the actual issue! Tagging in GtS devs @tsmethurst and @NyaaaWhatsUpDoc if that's ok too since they were also part of the initial conversation.

@wuchyi
Copy link
Author

wuchyi commented Aug 16, 2024

Writefreely has just pushed a new bug fix that has apparently fixed a follow bug from GoToSocial. Might be related? writefreely/writefreely#1000

@jasonculverhouse
Copy link
Contributor

Just FYI we are looking to this issue a fix should be deployed soon.

@jasonculverhouse jasonculverhouse self-assigned this Aug 30, 2024
@tsmethurst
Copy link

Oh nice one, great to hear :)

@jasonculverhouse
Copy link
Contributor

This should work now. I was able to perform mutual follows between a flipboard.com and an account on a gotosocial server.

image

@tsmethurst
Copy link

Brilliant, nice one :)

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

3 participants