Changing your URL structure does not update remote servers
Changing your URL structure does not update remote servers
| Issue ID: | 3155 |
| Issue Category: | bug |
| Component: | ostatus |
| Priority: | critical |
| Status: | will not fix |
| Assigned: | evan |
| Version: | 0.9 |
| Keywords: | federation ostatus |
there is something wrong with the federation of notices. to track it down @bavatar sent three testnotices:
http://diekershoff.homeunix.net/statusnet/notice/685
http://diekershoff.homeunix.net/statusnet/notice/683
http://diekershoff.homeunix.net/statusnet/notice/680
only the @replies did get federated to @march and @ubuntuusers each.
all others [for example @habi and @direkteaktion] did get all three.
| Attachment | Size |
|---|---|
| bavatar.png | 65.46 KB |
| direkteaktion.png | 101.32 KB |
| habi.png | 67.07 KB |
| march.png | 74.9 KB |
| ubuntuusers.png | 81.83 KB |

Updates
#1
I monitored this thing a little bit, only symptoms though.
From the 17 identica accounts following my account 10 receive my notices and 7 don't. Both of the not-identica accounts from StatusNet receive my notices (maybe low number statistics here?).
If I include them in @-replies the notice arrives. Federated group postings works.
My instance is running StatusNet 0.9.7fix1 on a Debian Squeeze server. It's a new installation after the MySQL database got corrupted and the StatusNet tables could not be recovered. But it's using the old path and account name.
#2
additionally this effects the threading of discussions!
bavatar's notice http://diekershoff.homeunix.net/statusnet/notice/8971 does get federated to status.davidhaberthuer.ch but *not* to identi.ca. compare:
http://diekershoff.homeunix.net/statusnet/conversation/7704#notice-8971
and http://identi.ca/conversation/69979165#notice-72336415
and http://status.davidhaberthuer.ch/conversation/35#notice-48
also habi@identi.ca's notice http://identi.ca/notice/72332543 does *not* get federated to diekershoff.homeunix.net but to status.davidhaberthuer.ch. compare:
http://diekershoff.homeunix.net/statusnet/conversation/7704
and http://identi.ca/conversation/69979165#notice-72332543
and http://status.davidhaberthuer.ch/conversation/35#notice-42
#3
Regarding the last point: I'm currently not subscribed to @habi@identi.ca to avoid username lookup problems when I just address @habi in a new conversation not replying to a notice he send. This dent was never able to reach me.
#4
I did a squeaky-clean fresh install of my federated instance [1] sometimes around the time of this bug/problem. Just to keep in mind that there might be some things related to this.
[1] and lost two weeks of notices, since the restore part of the backup didn't work...
#5
I'm not sure, but think i found another case.
My notice ( http://status.davidhaberthuer.ch/notice/324 ) from conversation http://identi.ca/conversation/70286421 doesn't show up in http://evan.status.net/replies.
I'm not sure because I don't know if my notice should only show up in Evans replies if he's subscribed to me, or if it should only show up in http://evan.status.net/all (which only goes back 11 hours, not the "needed" 20 hours to see my notice)
#6
Notices from @march@identi.ca from yesterday (10. Mai 2011) are not showing up in http://status.davidhaberthuer.ch/all even though we're both subscribed to each other.
Notices which don't arrive:
- http://identi.ca/notice/73128252
- http://identi.ca/notice/73120500
- http://identi.ca/notice/73120589
#7
A new example:
My conversation with glynmoody does show up on their respective conversation pages: http://status.davidhaberthuer.ch/conversation/579 and http://identi.ca/conversation/70785698 but his reply never showed up in http://status.davidhaberthuer.ch/replies and I never got an email notification of his reply
#8
next one:
http://status.davidhaberthuer.ch/conversation/972#notice-1122 did not get delivered to http://identi.ca/march/replies.
and it is not in http://identi.ca/conversation/71470155#notice-73875875
#9
I did a little number count today with reproduce able results. From my 31 followers from identi.ca 16 don't get my postings, 15 do. All 4 of my followers not from identi.ca or the StatusNet-cloud get my dents.
Those identicats who get my dents have subscribed to all times during the lifetime of the server, as have those who don't get the notices. It looks as there is no correlation but I'll look into that aspect later.
#10
I'm having the same issue with my site: http://parlementum.net which recently migrated from a sn cloud hosted instance to my own. Currently I have lost the ability to see posts from 4 people I was subscribed to. A different 3 people can't see my dents even when I use their name. I can't currently subscribe to remote groups, I can see posts to groups I am subscribed to.
#11
I suspect that it might be a caching issue, the status.net servers cache heavily and if you change paths or have a bad config initially the wrong url/ostatus endpoint may be cached. I'll try to get it some more attention.
#12
The problem is that you keep moving your site around, which messes up our PuSH code. Here are the URIs I have for your account, along with the subscriber count for each:
+------------------------------------------------------------+----------+
| uri | count(*) |
+------------------------------------------------------------+----------+
| http://diekershoff.homeunix.net/argh/index.php/user/1 | 1 |
| http://diekershoff.homeunix.net/sn2/index.php/user/1 | 3 |
| http://diekershoff.homeunix.net/statusnet/index.php/user/1 | 75 |
| http://diekershoff.homeunix.net/statusnet/user/1 | 21 |
| http://sn.diekershoff.homeunix.net/user/1 | 5 |
+------------------------------------------------------------+----------+
It would be nice if you could move your site around, change the URLs, and everything would keep working, but that's not how OStatus works right now. It's very dependent on the URLs you use.
My main suggestion here is _don't change your URLs so much_. I think there may be some magic we could do to make the process of switching these things around easier, but right now it's kind of a pain.
#13
It's not that I do these moves intentionally. Maybe StatusNet needs a way to figure out the healthiness of a profile or to "update" a connection.
Anyway I don't see how any of these not valid addresses could be added to the contacts that are currently following me and not getting my dents, as they are subscribed to the correct profile and show up in my subscriber list.
#14
the issue for me was moving from single user cloud hosted to my own hosted multiuser, thus I went from:
http://parlementum.net
to
http://parlementum.net/encyclomundi
Will this sort itself out over time?
Anything I can do to speed it up or ask for a 1 time recache
or is my best bet to set up a fresh install on a different domain with different user name, ie:
http://encyclomundi.org/cer ?
#15
Hello,
Just made the mistake to change URL scheme for my instance, enabling FancyURL and SingleUser mode.
My profile changed from http://status.jbfavre.org/index.php/jbfavre to http://status.jbfavre.org/
20 of my subscribers were updated, the others (45 exactly) weren't.
My subscriptions were OK, at least at the beginning. After a while, I began to see many salmon singature failure preventing messages to be delivered. In fact, messages were correctly received on my server but never delivered locally.
Finally lost any incoming message. I assume my profile was not completly updated in remote DB (mostly on identi.ca).
I tried to run /script/updateprofile.php without any great success.
As far as I've seen for now, I finally fixed all my subscriptions runnning /plugins/OStatus/scripts/update-profile.php for each of my subscriptions. That is, grab all subscriptions in DB with SQL and run the script against each URL.
Will see what happen next.
Finally, I figure aht one thing could make sense to avoid such problems when changing URL scheme. With OStatus, only 2 parts are really important: nickname and domain.
Other things like profile URL can be dynamically discovered.
This way, we coud have a better abstraction between "Who I am" and "How you can contact me".
"How I am" should be nickname@domain.tld while "How you can contact me" should be the URL or, better, nickname@domain.tld + webfinger.
Hope it can help
#16
Watching …
#17
posts from some users on site https://indy.im do not reliably arrive at subscribers on http://identi.ca
For example see this conversation here
https://indy.im/conversation/2179000#notice-2219299
and this post
https://indy.im/notice/2234678
which arrived at this federated statusnet site here
http://diekershoff.homeunix.net/statusnet/notice/141760
but not for subscribers at identi.ca
#18
i'd like to add the following to the complexity of this bug:
@4yrs2l8 receives notices of @bavatar after resubscribing.
look at his subscriptions page: he's following two @bavatars. same URLs but different name in brackets [(bavatar) vs. (tobias d.)].
i went through all my subscriptions and unsubscribed all @bavatars and @habis i found.
then i tried to subscribe to (bavatar) but did not receive any notice.
after that i unsubscribed (bavatar) and subscribed to (tobias d.). but no luck again.
any ideas?
#19
Evan responded to the initial issue, so I am marking this as will not fix, per issue #3500.
March, please create a new issue so your case can get fresh eyes on it.
You can also subscribe to the
RSS feed for updates to this issue.