Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005535opensim[GRID] Hypergridpublic2011-06-08 04:592016-08-08 01:43
Reporteraiaustin 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0005535: HG Cross Grid IM - incorrect messages and server log entries for IM to offline friends on grids configured for offline delivery
DescriptionFrom hyper.germanmgrid.org:8002 grid (on r/15669) when sending an IM to an offline friend on Openvue grid (also on r/16669) message reported is:

System (busy response): Unable to send instant message. User is not logged in.

The Openvue Robust.exe console also shows a stream of messages indicating the message is not queued for dleivery and that no Offline IM service is set up. Which I believe it is.

BUT message is actually queued on Openvue grid and delivered next time avatar logs in. This has also been checked with direct data base record viewer prior to delivery by OpenSim.

Note also 6 attempts to handle the message. However only a single copy was actually queued for delivery as it should be.


OpenSim.exe

12:30:24 - [HG IM SERVICE]: Received message from 7d845bc9-06f0-4edf-8c75-5eeb813a0071 to e24a9015-f5ca-452b-8c95-d32e34cb9d64
12:30:25 - [HG IM SERVICE]: Received message from 7d845bc9-06f0-4edf-8c75-5eeb813a0071 to e24a9015-f5ca-452b-8c95-d32e34cb9d64
12:30:26 - [HG IM SERVICE]: Received message from 7d845bc9-06f0-4edf-8c75-5eeb813a0071 to e24a9015-f5ca-452b-8c95-d32e34cb9d64
12:30:26 - [HG IM SERVICE]: Received message from 7d845bc9-06f0-4edf-8c75-5eeb813a0071 to e24a9015-f5ca-452b-8c95-d32e34cb9d64
12:30:26 - [HG IM SERVICE]: Received message from 7d845bc9-06f0-4edf-8c75-5eeb813a0071 to e24a9015-f5ca-452b-8c95-d32e34cb9d64
12:30:26 - [HG IM SERVICE]: Received message from 7d845bc9-06f0-4edf-8c75-5eeb813a0071 to e24a9015-f5ca-452b-8c95-d32e34cb9d64


Robust.exe

12:30:24 - [HG IM SERVICE]: Received message from 7d845bc9-06f0-4edf-8c75-5eeb813a0071 to e24a9015-f5ca-452b-8c95-d32e34cb9d64
12:30:24 - [HG IM SERVICE]: User is not present. Checking location with User Agent service
12:30:24 - [HG IM SERVICE]: Unable to locate user e24a9015-f5ca-452b-8c95-d32e34cb9d64
12:30:24 - [HG IM SERVICE]: No offline IM service, message not saved
12:30:25 - [HG IM SERVICE]: Received message from 7d845bc9-06f0-4edf-8c75-5eeb813a0071 to e24a9015-f5ca-452b-8c95-d32e34cb9d64
12:30:25 - [HG IM SERVICE]: User is not present. Checking location with User Agent service
12:30:25 - [HG IM SERVICE]: Unable to locate user e24a9015-f5ca-452b-8c95-d32e34cb9d64
12:30:25 - [HG IM SERVICE]: No offline IM service, message not saved
12:30:26 - [HG IM SERVICE]: Received message from 7d845bc9-06f0-4edf-8c75-5eeb813a0071 to e24a9015-f5ca-452b-8c95-d32e34cb9d64
12:30:26 - [HG IM SERVICE]: User is not present. Checking location with User Agent service
12:30:26 - [HG IM SERVICE]: Unable to locate user e24a9015-f5ca-452b-8c95-d32e34cb9d64
12:30:26 - [HG IM SERVICE]: No offline IM service, message not saved
12:30:26 - [HG IM SERVICE]: Received message from 7d845bc9-06f0-4edf-8c75-5eeb813a0071 to e24a9015-f5ca-452b-8c95-d32e34cb9d64
12:30:26 - [HG IM SERVICE]: User is not present. Checking location with User Agent service
12:30:26 - [HG IM SERVICE]: Unable to locate user e24a9015-f5ca-452b-8c95-d32e34cb9d64
12:30:26 - [HG IM SERVICE]: No offline IM service, message not saved
12:30:26 - [HG IM SERVICE]: Received message from 7d845bc9-06f0-4edf-8c75-5eeb813a0071 to e24a9015-f5ca-452b-8c95-d32e34cb9d64
12:30:26 - [HG IM SERVICE]: User is not present. Checking location with User Agent service
12:30:26 - [HG IM SERVICE]: Unable to locate user e24a9015-f5ca-452b-8c95-d32e34cb9d64
12:30:26 - [HG IM SERVICE]: No offline IM service, message not saved
12:30:26 - [HG IM SERVICE]: Received message from 7d845bc9-06f0-4edf-8c75-5eeb813a0071 to e24a9015-f5ca-452b-8c95-d32e34cb9d64
12:30:26 - [HG IM SERVICE]: User is not present. Checking location with User Agent service
12:30:26 - [HG IM SERVICE]: Unable to locate user e24a9015-f5ca-452b-8c95-d32e34cb9d64
12:30:26 - [HG IM SERVICE]: No offline IM service, message not saved
Additional InformationOpenvue Robust.HG.ini extract

[HGInstantMessageService]
    LocalServiceModule = "OpenSim.Services.HypergridService.dll:HGInstantMessageService"
    GridService = "OpenSim.Services.GridService.dll:GridService"
    PresenceService = "OpenSim.Services.PresenceService.dll:PresenceService"
    UserAgentService = "OpenSim.Services.HypergridService.dll:UserAgentService"

    ; This should always be true in the Robust config
    InGatekeeper = True

[Messaging]
    ; If you have an Offline IM server, set the vars in this section, so that
    ; incomming IMs to local users from foreign grids can be saved
    ;
    ;# {OfflineMessageURL} {OfflineMessageModule:OfflineMessageModule} {URL of offline messaging service} {}
    ;; URL of web service for offline message storage
    OfflineMessageURL = http://our-web-host/services/im/offline.php [^]

    ;; Control whether group messages are forwarded to offline users.
    ;; Default is true.
    ;; This applies to the core groups module (Flotsam) only.
    ForwardOfflineGroupMessages = true
TagsNo tags attached.
Git Revision or version number0.7.2 dev master
Run Mode Grid (Multiple Regions per Sim)
Physics EngineODE
Script Engine
Environment.NET / Windows32
Mono VersionNone
ViewerSL Viewer 2.6.8
Attached Files

- Relationships

-  Notes
(0018611)
aiaustin (developer)
2011-06-08 08:42
edited on: 2011-06-08 08:47

I know OSGrid now may be out of sync and an giving unreliable indication of the way it will eventually work when all systems are on r/15669 or later and are properly configured.. but I am notign this as I am sure misconfigurations will occur frequenmtly, and off behavopir may be an indiocartion of somethign that can be made more robust to one end beign in bad shape.

I note that OSGrid to Openvue grid friends IM when an Openvue avatar is offline comes through twice to Openvue's working offline IM delivery when the Openvue avatar next logs on.

[08:31] HG Tester: (Saved Wed Jun 08 16:32:01 2011)test from OSGrid
[08:31] HG Tester: (Saved Wed Jun 08 16:32:01 2011)test from OSGrid

HG Tester is on OSGrid and Ai Austin on Openvue grid for these examples.

Then I went online and the next messages came though singly (though OS Grid indicated Openvue avatar was not online, and vice versa as its not yet on r./16669 or later). Note that even though only one copy of the message came through it was shown in offline delivered format - prefixed by "(Saved Wed Jun 08 16:35:00 2011)" - even though the Openvue user was online at the time:

[08:32] HG Tester: (Saved Wed Jun 08 16:35:00 2011)test
[08:32] HG Tester: (Saved Wed Jun 08 16:35:14 2011)test 2

The Ai Austin on Openvue grid went offline again, and HG Tester on OSGrid sent Im with "test 3"... and received an indication it could not be delivered... when in fact it was. But, on logging back in as Ai Austin on Openvue I got TWO copies again.

[08:38] HG Tester: (Saved Wed Jun 08 16:39:52 2011)test 3
[08:38] HG Tester: (Saved Wed Jun 08 16:39:52 2011)test 3

(0018616)
Diva (administrator)
2011-06-08 13:50

It seems that you are reporting 2 different issues. This commit addresses the first. please file a separate mantis for the second.

[13:46] <CIA-52> opensim: diva * r90f657d77d2d /OpenSim/Services/HypergridService/HGInstantMessageService.cs: Deleted wrong debug message.

IM is not just the message itself. Before the message is delivered, there is a special "Typing..." message that is delivered. So for most IM messages, there's actually 2 independent IMs being sent around.
(0018640)
aiaustin (developer)
2011-06-10 07:24
edited on: 2011-06-10 07:27

Just to make it clear ALL those messages were from one IM message delivery attempt, not several.

I will await OSGrid update and then test these issues again to Openvue again.

(0030989)
aiaustin (developer)
2016-08-06 01:16

Update in August 2016 with recent OpenSim 0.9.0 dev master... opensim-0.9.0-566-g60b08b5.zip

IMs work fine between users on different grids (e.g. to a HG friend) when they are ONLINE... its delivered fine to the other grid. But, even when offline IM is supported on BOTH grids, the sender IM does not try to leave the message for the other grid user (offline HG friend)... instead reporting..

 (busy response): Unable to send instant message. User is not logged in.

Expected behaviour would be that if Offline IM was supported on both source and destination grids, then the message should be left for delivery on the destination grid when the HG friend comes online.
(0030992)
Lotek (reporter)
2016-08-07 22:34

I see this too.. message from my Osgrid avi to an offline Hypergrid alt (Kitely) did not get delivered. But is this an OpenSim problem or just a bug in Osgrid?

[22:20] System (busy response): Unable to send instant message. User is not logged in.

Btw, message from Kitely avi to offline Osgrid avi gives the same. No message received on Osgrid avi.

[22:30] System (busy response): Unable to send instant message. User is not logged in.

Strange enough I did get an offline tonight from a user from Metropolis but perhaps they where on my osgrid sim while they left the message. I think offlines are stored to be sent in the database of whichever sim you are at that time but correct me if wrong.
(0030993)
aiaustin (developer)
2016-08-08 01:43

It is a problem in all OpenSim grids, not just an OSGrid issue. My tests were between two separate grids (not OSGRid) on latest 0.9.0 dev master... but the issue has been present for some time (always?)

- Issue History
Date Modified Username Field Change
2011-06-08 04:59 aiaustin New Issue
2011-06-08 04:59 aiaustin Git Revision => 0.7.2 dev master
2011-06-08 04:59 aiaustin SVN Revision => 15669
2011-06-08 04:59 aiaustin Run Mode => Grid (Multiple Regions per Sim)
2011-06-08 04:59 aiaustin Physics Engine => ODE
2011-06-08 04:59 aiaustin Environment => .NET / Windows32
2011-06-08 04:59 aiaustin Mono Version => None
2011-06-08 04:59 aiaustin Viewer => SL Viewer 2.6.8
2011-06-08 07:38 aiaustin Additional Information Updated
2011-06-08 08:42 aiaustin Note Added: 0018611
2011-06-08 08:47 aiaustin Note Edited: 0018611
2011-06-08 13:50 Diva Note Added: 0018616
2011-06-10 07:24 aiaustin Note Added: 0018640
2011-06-10 07:27 aiaustin Note Edited: 0018640
2016-08-06 01:16 aiaustin Note Added: 0030989
2016-08-07 22:34 Lotek Note Added: 0030992
2016-08-08 01:43 aiaustin Note Added: 0030993


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker