MantisBT - opensim
View Issue Details
0008268opensim[GRID] Hypergridpublic2017-11-19 06:442018-08-24 12:19
Chris Weymann 
patch feedbackopen 
WindowsServer 2016Standard
master (dev code) 
Grid (1 Region per Sim)
.NET / Windows64
0008268: [PATCH] Avatars who are not in the homegrid dont get notifications of online status from friends.
Avatars who are traveling in the HG dont get notifications of changes of his friends online/offline status.

The reason is that HG status notifications are not implemented.
OpenSim/Services/HypergridService/HGFriendsService.cs (Line 280)

1) Make an avatar in 2 differend grids.
2) Make a friendship of this 2 avatars.
3) Go with Avatar 1 in an other grids
4) Log On/ Log off with Avatar 2

You dont see the current online/offline status of Avatar 2 at Avatar 1 friendlist.
No tags attached.
patch ForwardHGStatusnotifications.patch (4,226) 2017-11-19 06:44
Issue History
2017-11-19 06:44Chris WeymannNew Issue
2017-11-19 06:44Chris WeymannFile Added: ForwardHGStatusnotifications.patch
2017-11-19 06:45Chris WeymannNote Added: 0032454
2017-11-19 06:45Chris WeymannStatusnew => patch included
2017-11-20 12:38aiaustinSummaryAvatare who are not in the homegrid dont get notifications of online status from friends. => Avatars who are not in the homegrid dont get notifications of online status from friends.
2017-11-20 15:55UbitUmarovNote Added: 0032455
2017-11-20 18:10Chris WeymannNote Added: 0032456
2017-11-21 01:00UbitUmarovNote Added: 0032457
2017-11-21 10:48Chris WeymannNote Added: 0032458
2017-12-30 03:58gimisaNote Added: 0032481
2017-12-30 05:35gimisaNote Edited: 0032481bug_revision_view_page.php?bugnote_id=32481#r6523
2017-12-30 06:25gimisaNote Edited: 0032481bug_revision_view_page.php?bugnote_id=32481#r6524
2017-12-30 06:26gimisaNote Edited: 0032481bug_revision_view_page.php?bugnote_id=32481#r6525
2018-08-24 12:19Fly-Man-Statuspatch included => patch feedback
2018-08-24 12:19Fly-Man-SummaryAvatars who are not in the homegrid dont get notifications of online status from friends. => [PATCH] Avatars who are not in the homegrid dont get notifications of online status from friends.

Chris Weymann   
2017-11-19 06:45   
I added this feature.
2017-11-20 15:55   
Don't think this is it (even if it does appear to work in your testing)
But will get back to this issue and test your suggestion when I am in conditions to setup 2 test grids
Unless a college can do it first :)
Chris Weymann   
2017-11-20 18:10   
I know it's not a 100% good solution but this is one of the main problems that i and my friends have.
We are a group of 15 people all with their own server and grid. We often visit each other about the HG and therefore this problem occurs quite often and is slowly a bit annoying.
It is also more affected than just the online status. You also cannot send teleport requests to friends who are not online.
2017-11-21 01:00   
Yes several issues and not only HG ones
Friends simple do not scale well. If your home region has low bandwidth, better you do not have many.
Chris Weymann   
2017-11-21 10:48   
The regions are not at home. We all have real servers in a data center with a gigabit connection.
There are no problems as long as everyone is in their home grid. Then everything works fine with the friendships and teleports.
Only then someone is not in his homegrid the problems are there.
2017-12-30 03:58   
(edited on: 2017-12-30 06:26)
I cannot comment for other features of HG Friends . But for IMs with 090 or 091 built latest what I observerd is if both HG avatar are on their own local grids IMs work. If one of them is moving out to an other grid the situation varies but often it will continue working.

I have tested your patch and it does not change the above . When HG avatar is offline the message is not forward and neither saved for when the avatar come back on line.( which would be a nice to have !! )

Online indication is interesting. I have withness that it fail to be reliable for two HG Friends logging in their grid .This dependant on friends so it not easy to reproduce . But for some friends , the first of the two online will receive the correct notification about online presence of the other but the echo online presennce is not posted.

That is GRID-A AVI-A and GRID-B AVI-B. AVI-A and AVI-B are estaclished friends. When AVI-A log first in GRID-A remaining LOCAL in GRID-A, and AVI-B log after AVI-B is show online in status of AVI-A but the opposition does not happen , AVI-A online status is OFF in AVI-B .

Now if the secret key is bypassed on HGFriendService from the online status function then Online indication works for above case as it should. THat is when AVI-A is present in GRID-A and AVI-B is present in GRID-B the indication appears correcly . When AVI-A move to GRID-C the presence indentication stay same .

When AVI-A is moved back to GRID-C and then AVI-B gets online indication stay off line until AVI-A get on local online indication of HG friend removing the online secret key solved the issue.