{"action":"created","issue":{"url":"https://api.github.com/repos/diaspora/diaspora/issues/6405","labels_url":"https://api.github.com/repos/diaspora/diaspora/issues/6405/labels{/name}","comments_url":"https://api.github.com/repos/diaspora/diaspora/issues/6405/comments","events_url":"https://api.github.com/repos/diaspora/diaspora/issues/6405/events","html_url":"https://github.com/diaspora/diaspora/issues/6405","id":106541722,"number":6405,"title":"Issues with webfinger and federation with Hubzilla/Redmatrix","user":{"login":"jeroenpraat","id":3049892,"avatar_url":"https://avatars.githubusercontent.com/u/3049892?v=3","gravatar_id":"","url":"https://api.github.com/users/jeroenpraat","html_url":"https://github.com/jeroenpraat","followers_url":"https://api.github.com/users/jeroenpraat/followers","following_url":"https://api.github.com/users/jeroenpraat/following{/other_user}","gists_url":"https://api.github.com/users/jeroenpraat/gists{/gist_id}","starred_url":"https://api.github.com/users/jeroenpraat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeroenpraat/subscriptions","organizations_url":"https://api.github.com/users/jeroenpraat/orgs","repos_url":"https://api.github.com/users/jeroenpraat/repos","events_url":"https://api.github.com/users/jeroenpraat/events{/privacy}","received_events_url":"https://api.github.com/users/jeroenpraat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-15T12:06:29Z","updated_at":"2015-09-15T20:46:24Z","closed_at":null,"body":"[Here](https://gurus.red/channel/one/&f=&mid=df1309f763ccf60d61b46dddaa932806df38de0586bbae8616a1c37e168947ca@gurus.red) Mike MacGirvin says:\r\n> Significant changes were made to Diaspora 25 days related to webfinger discovery. They don't seem to be able to discover redmatrix/hubzilla channels any more via old webfinger (and no, they haven't implemented the new webfinger either). I've looked over the changes and don't see anything obvious, but I don't have a Diaspora test site or logfile access on that side. This will probably a Diaspora dev with federation knowledge to sort out. Existing connections may or may not work, but it looks like new connections are stuffed.\r\n\r\nI have Hubzilla (fka Redmatrix) log with Diaspora specific information. What I did was first creating a new test account on my Hubzilla hub (https://hubzilla.nl), followed by trying to connect to 2 different Diaspora test accounts (1 on Geraspora, 1 on Framasphere, both running the newest stable D* version). Connection requests are never received on the 2 Diaspora test accounts. Existing Diaspora<>Hubzilla/Redmatrix connections seems to be working normally. \r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26698678-issues-with-webfinger-and-federation-with-hubzilla-redmatrix?utm_campaign=plugin&utm_content=tracker%2F522&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F522&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/diaspora/diaspora/issues/comments/140534077","html_url":"https://github.com/diaspora/diaspora/issues/6405#issuecomment-140534077","issue_url":"https://api.github.com/repos/diaspora/diaspora/issues/6405","id":140534077,"user":{"login":"redmatrix","id":11742850,"avatar_url":"https://avatars.githubusercontent.com/u/11742850?v=3","gravatar_id":"","url":"https://api.github.com/users/redmatrix","html_url":"https://github.com/redmatrix","followers_url":"https://api.github.com/users/redmatrix/followers","following_url":"https://api.github.com/users/redmatrix/following{/other_user}","gists_url":"https://api.github.com/users/redmatrix/gists{/gist_id}","starred_url":"https://api.github.com/users/redmatrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redmatrix/subscriptions","organizations_url":"https://api.github.com/users/redmatrix/orgs","repos_url":"https://api.github.com/users/redmatrix/repos","events_url":"https://api.github.com/users/redmatrix/events{/privacy}","received_events_url":"https://api.github.com/users/redmatrix/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T20:46:24Z","updated_at":"2015-09-15T20:46:24Z","body":"I have created an account for test purposes \"trouble@macgirvin.com\". If I search for this channel from the Diaspora navbar it consistently returns \"no one was found\". E.g. a person object is never created after webfinger lookup. On the hubzilla side I can see that the host-meta and personal XRD are fetched using classic (circa 2010) xml based webfinger. Our XRD contents have not changed since this was last known to be working. I get the same results for trouble@zothub.com, which is a redmatrix site and the Diaspora has not changed there and which has successfully worked with Diaspora in the past. My initial guess without having access to Diaspora logs is that there is a subtle difference in our XRD format (which we made compatible with Diaspora some time ago) and that Diaspora is now doing stricter checking of the XRD.  \r\n\r\nI do see that Diaspora now has a salmon endpoint mentioned in the personal XRD and the host-meta is no longer accessible from a browser (Firefox) without providing .xml suffix. This may require an appropriate Accept: header from Firefox. I believe we are serving the XRDs as text/xml (as we always have) in case this information is relevant. \r\n\r\nI must question whether the salmon rel link is a legitimate salmon endpoint or just pointing to the user/member's receive endpoint for \"Diaspora salmon\" - which is not salmon protocol compliant. I suspect it's pointing to an illegal salmon endpoint because there is no salmon public key provided. I am loathe to add such an endpoint because it requires supporting the 4 or 5 different variants of salmon that were legally specified by that specification; none of which are supported by Diaspora to my knowledge.  I could just support \"the latest\" but again this isn't compatible with Diaspora in any way, shape or form and neither is Diaspora compatible with it. Anyway, I mention this endpoint because the \"user discover\" tests may require this XRD declaration as part of their validity checking. In any event I recommend it either be renamed to 'diaspora-salmon' - or Diaspora made salmon protocol compliant.\r\n\r\nAnyway we mostly need somebody to look at the logs on that side and let us know what is failing in user discovery via webfinger so we can come up with a fix on our side.     "}}