Comments (8)
So this issue is not really fixed, but the error is just handled differently?
from gotosocial.
This is a threads bug afaik. They're returning HTML in response to valid ActivityPub json requests, for whatever reason. Nothing we can do about it from our side.
The 500 error on the other hand, we should do something about, because that's a bit weird. But I'd rather have a separate issue for that.
from gotosocial.
Once the Threads federation is GA and if the issue persists I would like to look at it further, for the moment this is a bit up in the air.
from gotosocial.
I would be curious to know why something isn't working, so do feel free to gather that info and report it back here for documentation's sake. That said, we're not really interested as a team in putting any effort in to debugging Meta's implementation for them, or in implementing any workarounds for them. If it doesn't work it's up to them to fix it, in other words. They certainly have the resources. I wrote a bit about it from my own account here if you're interested: https://gts.superseriousbusiness.org/@dumpsterqueer/statuses/01HHSFN874A3RSJPKXJCX7RD9E
from gotosocial.
That's quite an interesting post, thanks!
I've been checking the Threads ActivityPub endpoint and comparing the implementations of other server software instances until I came across this Pleroma issue, is it possible that Threads is filtering GTS requests because it doesn't comply with the AP spec to the letter? (I want to imagine that other implementations that are this strict also give problems with GTS?)
from gotosocial.
Unlikely imo. We use the instance Actor for barely anything, unlike other implementations. Here's what a GoToSocial instance actor looks like:
{
"@context": [
"https://www.w3.org/ns/activitystreams",
"http://joinmastodon.org/ns",
"https://w3id.org/security/v1"
],
"discoverable": false,
"featured": "https://gts.superseriousbusiness.org/users/gts.superseriousbusiness.org/collections/featured",
"followers": "https://gts.superseriousbusiness.org/users/gts.superseriousbusiness.org/followers",
"following": "https://gts.superseriousbusiness.org/users/gts.superseriousbusiness.org/following",
"id": "https://gts.superseriousbusiness.org/users/gts.superseriousbusiness.org",
"inbox": "https://gts.superseriousbusiness.org/users/gts.superseriousbusiness.org/inbox",
"manuallyApprovesFollowers": true,
"name": "gts.superseriousbusiness.org",
"outbox": "https://gts.superseriousbusiness.org/users/gts.superseriousbusiness.org/outbox",
"preferredUsername": "gts.superseriousbusiness.org",
"publicKey": {
"id": "https://gts.superseriousbusiness.org/users/gts.superseriousbusiness.org/main-key",
"owner": "https://gts.superseriousbusiness.org/users/gts.superseriousbusiness.org",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwDgpQpA+CHbJTvLKfgzv\njE9K8C+9O/r7Yj1FxXsXvFL3HxCBtuoIMTCpcgR0A4UK7HIlcFesj5BsvVzFGBsP\nER38D7tkalrqNptTILVw5dBQrXb4ecKbTaamwTZfqR3Q645+n3x0OfQ6EIhTvAK1\nfvjc8+lifmaCjylDQArp3uHOqkdufoKPl6RM2F8W9BY6S+JOGfIqitOjpn38qqBa\noOSWCwZ6/HyDzwrBEK5AvY9gnFwp9uMIP4rhnIyalOCoxaxJR/HZwQmqAS6LS+s6\n810m1kggwfnVt9YS/PHx6ARGLDgXFGK+BXrZjgcisedOxpABDXnw62rrT1mK+9+m\nQQIDAQAB\n-----END PUBLIC KEY-----\n"
},
"tag": [],
"type": "Person",
"url": "https://gts.superseriousbusiness.org/@gts.superseriousbusiness.org"
}
Our outgoing Accept header looks like this btw:
Accept: application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\",application/activity+json
I wouldn't be surprised if Threads was not correctly parsing that Accept header. That would explain why they're serving HTML in response (though they should probably serve Not Acceptable, but that's another story).
But yeah, like I said, we're not going to put time and effort into debugging this for them. We've got better things to focus on.
from gotosocial.
I'm going to close this as #2550 should fix this problem. It'll get release with 0.14, or can be tried out with a current snapshot build.
from gotosocial.
this issue is not really fixed
As I wrote above, this looks like a threads bug, so not something we can (or ought to) fix from our side. The 500 error from GtS on the other hand we can (and did) fix. And also:
we're not really interested as a team in putting any effort in to debugging Meta's implementation for them, or in implementing any workarounds for them. If it doesn't work it's up to them to fix it, in other words
If Facebook had an issue tracker for threads, someone could open an issue there. If threads was an open source project, we could look at the code and immediately know what's up, but... 🤷
from gotosocial.
Related Issues (20)
- [feature] Configuration Variable to disable domain check for OAuth HOT 4
- [bug] I can't unfollow dead accounts HOT 5
- [bug] panic: interface conversion: *stdlib.Conn is not bundb.conn: missing method Exec HOT 3
- [development] Provide a shell.nix for development HOT 4
- [bug] POST /api/v1/admin/custom_emojis does not work without a filename HOT 3
- [bug] Search for account URL doesn't always work when redirected HOT 7
- [bug] Import/Export UI flow can cause a 404 HOT 1
- [bug] Searching with URL redirects does not function HOT 1
- [bug] `POST /api/v1/admin/custom_emojis` does not validate shortcode content, only length HOT 2
- [bug] Flaky `TestPage/minID,_maxID_and_limit_set` test on x86_64-linux since 0.13.0
- [bug] notifications from DMs between local users shown as from yourself HOT 2
- [bug] GoToSocial with S3 backend on the same webserver using SNI and different certificates over HTTP/2 causes media to not load for some clients due to HTTP 421 HOT 7
- [bug] GoToSocial does not receive follow accept from WriteFreely HOT 2
- [feature/admin] Silence/limit instances to slow down federation HOT 1
- [feature] Selective federation features HOT 1
- [feature] Allow an option for users to automatically reject follow requests
- [feature/admin] Allow enabling very basic anti-spam heuristics to drop messages coming in via the fedi API HOT 2
- [bug] Report Category always shows as "other" HOT 2
- [bug] Federation with Activity-Relay HOT 3
- [feature] `blocklist-silenced` and `allowlist-silenced` federation modes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gotosocial.