Hi list!
I have two Gnu Social installations on separate local network machines and I would like them to speak to eachother through a PuSH (pubsubhubbub) 0.4 server that is also on my local network. I want them to do this because I would in the future want to move this whole setup to the I2P network, which is an encrypted overlay network, much like TOR. I have a basic install of GNU Social and a manual .well-known/ setup for WebFinger which means I need to setup an XML-file for every user. The servers are running on the IP-addresses that follows:
GnuSocial 1: 192.168.1.165
GnuSocial 2: 192.168.1.245
PuSH-server: 192.168.1.107
On both GNU Social installations I've setup
config["feedsub"]["fallback_hub"] = '
http://192.168.1.107/hub.php';
config["ostatus"]["hub"] = '
http://192.168.1.107/hub.php';
However, when subscribing to feeds between the hubs, I don't seem to use the PuSH-hub but some internal thing. The documentation around these things seems a bit sparse, so I haven't been able to find much info on how to go about these things.
My WebFinger files look along these lines (for user "subhub1" on server "192.168.1.165"):
<?xml version="1.0" encoding="UTF-8"?>
<XRD xmlns="
http://docs.oasis-open.org/ns/xri/xrd-1.0">
<Subject>
acct:address@hidden</Subject>
<Alias>
acct:address@hidden</Alias>
<Alias>
http://192.168.1.165/user/1</Alias>
<Link rel="
http://webfinger.net/rel/profile-page"
type="text/html"
href="" href="http://192.168.1.165/user/1">http://192.168.1.165/user/1"/>
<Link rel="
http://schemas.google.com/g/2010#updates-from"
type="application/atom+xml"
href="" href="http://192.168.1.165/api/statuses/user_timeline/1.atom">http://192.168.1.165/api/statuses/user_timeline/1.atom"/>
<Link rel="
http://gmpg.org/xfn/11"
type="text/html"
href="" href="http://192.168.1.165/user/1">http://192.168.1.165/user/1"/>
<Link rel="describedby"
type="application/rdf+xml"
href="" href="http://192.168.1.165/username/foaf">http://192.168.1.165/username/foaf"/>
<Link rel="
http://salmon-protocol.org/ns/salmon-replies"
href="" href="http://192.168.1.165/main/salmon/user/1">http://192.168.1.165/main/salmon/user/1"/>
<Link rel="
http://salmon-protocol.org/ns/salmon-mention"
href="" href="http://192.168.1.165/main/salmon/user/1">http://192.168.1.165/main/salmon/user/1"/>
<Link rel="
http://ostatus.org/schema/1.0/subscribe"
template="
http://192.168.1.165/main/ostatussub?profile="">"/>
</XRD>
Is there something I need to change in the above file/settings to get this working?
When publishing an update on server 192.168.1.245 I get connected to the PuSH-server which tells me that it's received a publish requests, but since it has no track of any subscribers, nothing gets pushed to the other server.