Comments (9)
As a test I created this entry which had an In-Reply-To link to this toot. I ended up getting two replies, one from the http and one from the https version (which is annoying but not unexpected); they both came from the same fake https://fed.brid.gy/r/http://beesbuzz.biz/ user, but had different URLs:
https://fed.brid.gy/r/http://beesbuzz.biz/blog/chatter/6525-ActivityPub-test
https://fed.brid.gy/r/https://beesbuzz.biz/blog/chatter/6525-ActivityPub-test
On my instance they appear as the following toots:
https://queer.party/web/statuses/101852022941916960
https://queer.party/web/statuses/101852022734688958
So, okay, it seems that at least replies are working now, which is an improvement, although the way follows work could be a bit better, especially with sites that support both http and https. Some sort of ping consolidation would be nice to have; unfortunately for Reasons I can't simply only send webmentions from one or the other (although I have an open issue on my webmention conduit).
The queer.party profile for the bridged site is https://queer.party/web/accounts/78606, which shows 0 toots and 2 replies. It also still shows my follow relationship as "pending," rather than "following."
I know we've discussed the inability to send new posts in the past but per this closed issue it seems that the functionality has been added. I'm just not sure how to actually get it to work...
from bridgy-fed.
thanks for the sleuthing and details @fluffy-critter, and sorry for the trouble!
looking at bridgy fed's logs, it's only ever received one ActivityPub Follow
request to /beesbuzz.biz/inbox
, from @[email protected] at 2019-04-01 10:21:33 PDT. it replied by sending the AP Accept
request below to https://dragon.style/users/fluffy/inbox, and Mastodon responded with HTTP 202, which it uses to mean it may or may not actually honor the request, depending on the signature and other requirements/heuristics that i don't always fully understand, and that sometimes change over time.
{
"@context": "https://www.w3.org/ns/activitystreams",
"object": {
"object": "https://fed.brid.gy/beesbuzz.biz",
"type": "Follow",
"actor": "https://dragon.style/users/fluffy"
},
"type": "Accept",
"id": "tag:fed.brid.gy:accept/beesbuzz.biz/https://dragon.style/29f91e37-9580-4b84-bf42-11916220ac61",
"actor": "https://fed.brid.gy/beesbuzz.biz"
}
(also, just fyi, you're not actually advertising a webmention endpoint on http://beesbuzz.biz/ or https://beesbuzz.biz/ right now, in either HTML or headers. some of bridgy fed's features will still work despite that, as you noticed, but it's not ideal.)
from bridgy-fed.
Yeah, I only advertise webmention endpoints on individual items, because I don't see the point to getting a ping/mention on a site. Previously I was advertising it on index pages as well but that just resulted in a lot of useless spam. I could reenable that if that makes bridgy fed work better though, but I'm at least able to receive replies to individual items; see the "responses" section at http://beesbuzz.biz/blog/chatter/6525-ActivityPub-test
Before I opened this ticket I tried unfollowing from @[email protected] and refollowing and still had the pending-follow thing happen. Just now I did that again and now it seems to be following correctly? Weird. And @[email protected] got my latest blog entry on the timeline, too (see https://dragon.style/web/statuses/101853758066434482). Huh.
So, I guess whatever wasn't working before is working now? Weird.
Anyway, I guess this issue is resolved-ish, but I'll keep it open for now in case something weird happens in the next few days. Also I'd like an answer regarding the index-page webmention endpoint. :)
from bridgy-fed.
Okay so I ended up adding the webmention endpoint to my top-level site index, and then tried sending a mention to my site from queer.party. No mention came through, but the fed.brid.gy log showed:
Source | Target | Protocol | Status | Time (click for log) |
---|---|---|---|---|
queer.party/ac4a7684-4ca8-... | beesbuzz.biz | activitypub | error | 2019-04-02 01:05:46 |
Unfortunately the timestamp doesn't link to any error log.
I had restarted my edge server and verified that the rel="webmention"
link was available before I sent the test ping (and this should have also invalidated any cache that talks to it), but is fed.brid.gy maybe caching webmention endpoints for some period of time?
Also I'm sorry for what my feed did to the logs when it apparently backfilled. :)
from bridgy-fed.
thanks for the details! not sure what happened with the unhappy follows earlier.
Also I'd like an answer regarding the index-page webmention endpoint. :)
bridgy fed sends webmentions to your home page for follows and unfollows. details on https://indieweb.org/follow#Implementations etc.
Okay so I ended up adding the webmention endpoint to my top-level site index, and then tried sending a mention to my site from queer.party.
looking at https://queer.party/@fluffy/101854077916187182 now. not sure what's up, i'll update when i know more.
from bridgy-fed.
heh, i forgot, converting @-mentions on Mastodon to webmentions to your home page just isn't implemented yet. i'll keep this open as a feature request to implement it.
from bridgy-fed.
Ah, that makes sense. It does look like follow mentions do come through, at least, although webmention.io doesn’t support u-follow-of
just yet. aaronpk/webmention.io#117
from bridgy-fed.
i've deployed this, so bridgy fed should now convert mastodon @-mentions to homepage webmentions. i tried @-mentioning my site in https://mastodon.technology/@snarfed/101936926634354766 , and mastodon (2.8.0) correctly shows that the activity includes a Mention
tag of my site (below), and even cc's it, but mastodon didn't send the activity to bridgy fed. not sure why yet.
curl -H 'Accept: application/activity+json' -v https://mastodon.technology/users/snarfed/statuses/101936926634354766
:
{
"@context": "...",
"id": "https://mastodon.technology/users/snarfed/statuses/101936926634354766",
"type": "Note",
"summary": null,
"inReplyTo": null,
"published": "2019-04-16T17:01:01Z",
"url": "https://mastodon.technology/@snarfed/101936926634354766",
"attributedTo": "https://mastodon.technology/users/snarfed",
"to": ["https://www.w3.org/ns/activitystreams#Public"],
"cc": [
"https://mastodon.technology/users/snarfed/followers",
"https://fed.brid.gy/snarfed.org"
],
"sensitive": false,
"atomUri": "https://mastodon.technology/users/snarfed/statuses/101936926634354766",
"conversation": "tag:mastodon.technology,2019-04-16:objectId=16360399:objectType=Conversation",
"content": "<p>testing @-mentions with <a href=\"https://fed.brid.gy/\" rel=\"nofollow noopener\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">fed.brid.gy/</span><span class=\"invisible\"></span></a>. hi <span class=\"h-card\"><a href=\"https://fed.brid.gy/r/https://snarfed.org/\" class=\"u-url mention\">@<span>snarfed.org</span></a></span>!</p>",
"tag": [{
"type": "Mention",
"href": "https://fed.brid.gy/snarfed.org",
"name": "@[email protected]"
}],
"..."
}
from bridgy-fed.
maybe snarfed.org is just configured wrong for bridgy fed. i tried again and @-mentioned some other users, and it happily sent homepage wms for all three of them. yay. tentatively closing.
from bridgy-fed.
Related Issues (20)
- router memory leak? HOT 4
- Add Bluesky team's interop test cases
- web <=> Bluesky: Allow specifying `rkey` for Bluesky posts HOT 3
- Bluesky => AP: custom usernames in handles HOT 3
- web: extract pictures from RSS/Atom HOT 4
- web => Bluesky: always include embed with original post link HOT 1
- Remove old Nostr spam accounts HOT 4
- Link to user page from profile bio footer
- ActivityPub payload missing `PropertyValue` definition in the context HOT 2
- can't bridge a web site if it's already serving AP
- AP -> AT Quotes don't get bridged if the post is long HOT 5
- add a way to see interactions/replies from non-bridged users HOT 2
- Bluesky => AP: Expire and refresh DID docs HOT 3
- Web feed polling: better error handling
- web.brid.gy internal server error HOT 3
- Web: #nobridge not working for jeromebertaux.be HOT 2
- ATProto => AP: if a non-bridged user replies, send them a DM opt-in request HOT 6
- User page: update profile button doesn't work for web sites with www subdomains HOT 1
- AP => ATProto: trim mentions at the beginning of replies HOT 4
- Threads support (blocked on Threads) HOT 4
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 bridgy-fed.