#dev 2023-08-07
2023-08-07 UTC
# osa_k It shows up only after I manually ran `curl -X POST -i -d source=https://ap.brid.gy/convert/web/https://social.mikutter.hachune.net/users/osa_k/statuses/110841748303822746 -d target=https://osak.jp/posts/ja/breath-of-the-wild/ https://webmention.io/osak.jp/webmention`. I don't know the exact source URL Bridgy Fed would use, but the reply wasn't automatically synced
# osa_k Here's the log link corresponding to that reply https://fed.brid.gy/log?path=%2F_ah%2Fqueue%2Fwebmention%2C%2Finbox&start_time=1691310860&key=https%3A%2F%2Fsocial.mikutter.hachune.net%2Fusers%2Fosa_k%2Fstatuses%2F110841748303822746%2Factivity
# osa_k It barely shows a log message about searching for log messages then reporting no logs found 🤔
# osa_k also, more or less, the other reply to the article isn't synced to webmention.io (I didn't change any configs between two replies) https://social.mikutter.hachune.net/@osa_k/110841715843010389
Dan, IWSlackGateway and [snarfed] joined the channel
# [snarfed] hi again osa_k! you're right about those Bridgy Fed URLs and the redirects. wm receivers are supposed to follow source URL redirects, and I'm pretty sure http://webmention.io has done that for a long time now
# [snarfed] here's the http://webmention.io status URL for the webmention: https://webmention.io/osak.jp/webmention/TKyZd7obVjsldG90Na5v . it says the source doc doesn't link to the target. but fetching https://ap.brid.gy/convert/web/https:/social.mikutter.hachune.net/users/osa_k/statuses/110841748303822746/activity (and following redirects), it definitely does. so I'm not sure what happened
[tantek] joined the channel
# osa_k Hey snarfed, thanks for the response! I looked into the code a bit further and started to suspect that webmention.io doesn't handle redirects in reality.
# osa_k So far as I can tell webmention.io seems to delegate microformat parsing to xray.p3k.io (https://github.com/aaronpk/webmention.io/blob/main/helpers/xray.rb#L10). But if I pass the ap.brid.gy URL, it isn't following redirect http://xray.p3k.io/parse?url=https%3A%2F%2Fap.brid.gy%2Fconvert%2Fweb%2Fhttps%3A%2Fsocial.mikutter.hachune.net%2Fusers%2Fosa_k%2Fstatuses%2F110841748303822746%2Factivity&pretty=true
# osa_k hmm, that XRay service is disabling redirect following for `brid.gy` links 🤔 https://github.com/aaronpk/XRay/blob/main/lib/helpers.php#L44
# osa_k [snarfed], do you know any context by any chance? The webmention.io-XRay stack doesn't seem to expect Bridgy to return redirects
# [snarfed] Funny, skimming the first page of https://github.com/aaronpk/webmention.io/issues, I suspect this is the root cause of many of them
# osa_k whoa, didn't imagine my adventure results in such a big found! Thanks [snarfed] 🙂
eitilt and tbbrown joined the channel
# capjamesg The diagrams at the bottom of https://github.com/jcsalterego/Contrails are interesting (Bluesky).
eitilt, [Caleb_Hearth], btrem, sp1ff, gRegorLove_, [schmarty], [KevinMarks], [jacky], tei_ and tei_1 joined the channel; vilhalmer left the channel