View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000102 | opensim-SC | Bug | public | 2019-08-11 00:26 | 2019-08-14 16:20 |
Reporter | Taylor | Assigned To | onefang | ||
Priority | high | Severity | major | Reproducibility | random |
Status | resolved | Resolution | fixed | ||
Product Version | 0.9.0.1 RC0 | ||||
Target Version | 0.9.0.1 RC1 | Fixed in Version | 0.9.0.1 RC1 | ||
Summary | 0000102: ROBUST believes offline user is online. | ||||
Description | User Valerie Nirvana is unable to log in, and upon login receives an error saying she is already logged in. With only myself logged in to the grid, ROBUST reports (through 'show grid users online') that there are two users currently online. 00:22:29 - [LLOGIN SERVICE]: Login failed for Valerie Nirvana, reason: already logged in | ||||
Steps To Reproduce | I searched the only two in-world regions that Valerie has access to for her avatar, and she's not there. I IMed her in-world, and received a message stating that she is not logged in. I kicked user from all four running regions to try and nudge something in to realising she's offline (nothing happened, as she's not there). Re-checked ROBUST with 'show grid users online'. Still two users online (myself and mystery user). I am unable to make the grid realise she is offline, and she has been unable to log in since her avatar setup session yesterday. | ||||
Additional Information | Perhaps ROBUST could use a force logout or force user offline thing? More to the point, however, this shouldn't be happening. | ||||
Tags | No tags attached. | ||||
This is a known problem called "ghosted avatar". With SL there's about half a dozen ways of telling if someone is online, and they all disagree. It's even documented. OpenSim might have one or two more. In Valarie's case, there are four database tables that suggested she may or may not be online. Presence said she is online, but not in any region. GridUser gave a login time that was before her logout time, which implies she's logged out. hg_traveling_data said she's currently hypergridding to nowhere, 10 times. tokens said she had logged on "recently" and had an authentication token, but doesn't track if she's online now. I cleared her out of Presence, hg_traveling_data, and tokens. Hopefully that does the trick. I'll leave this issue open, coz yeah things need to be fixed. |
|
The "kick user" command should clear people out of Presence and hg_traveling_data, perhaps tokens as well. Also it shouldn't be happening in the first place, though that might be very hard to track down, as it only happens rarely. On the other hand it seems to happen often to Smoothie in IG, so maybe it's some sort of client side issue triggering it? |
|
The "kick user" command has a --force option. In the typical "ghosted avatar" case, the avatars record in the Presence table says they are not in any sim at all. The "kick user" command only checks for user matches with the users in that particular sim. The sim console "kick user" command is per sim, so the owners of sims (if they are running external to the grid like my test sims in MG) are the ones that get to choose who to kick. So as things stand, there's no point modifying the sim "kick user" command, even with the --force option, to make sure the Presence table is cleared of their record, they are not "in" the sim anyway, so wont match. ROBUST has no kick user command. It should have one. It's not something I want to add to 0.9.0.1 though. Too much work and I'm trying to get this thing released. I used to have a script that runs once an hour, which checked for these "ghost avatars" and clears out the Presence table. It also added people to the grid support group, a function I have now moved to OpenSim_SC itself. That script stopped working after an upgrade ta PHP, it was written in PHP. I'm tempted to just rewrite that part of the script in some other language. |
|
What are your thoughts Taylor? Just clear out ghosts regularly the way I did long ago? | |
For the immediate future, giving me a way to clear out the ghosts? Or check for ghosts every 10 minutes, and clearing them out automatically? Both are still work-arounds, and don't address the (unknown) cause. I will continue to monitor Valerie's logins now she's changed to FireStorm 5.1.7, but seeing Smoothie Girl has these issues on Singularity, I'm not terribly confident right now. |
|
I've had a better idea. At the point where it's about to say "You are already logged on" it should check for a ghost, remove the ghost if found, then just let them logon. I'll have to double check they are not out hypergridding. It will have to print a "ghost avatar exorcised" warning / error message on the console. Still a work around, but it doesn't happen often enough, under conditions I can control enough, to hunt down the real bug. And considering everything will get rewritten for SledjHamr eventually, slapping another bandaid on this OpenSim thing that is held together by gum and hope, is my preferred method of dealing with this. |
|
There should be a "not really fixed, but worked around" status. Not yet tested for HGers. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2019-08-11 00:26 | Taylor | New Issue | |
2019-08-11 00:26 | Taylor | Status | new => assigned |
2019-08-11 00:26 | Taylor | Assigned To | => onefang |
2019-08-11 10:19 | onefang | Note Added: 0000146 | |
2019-08-11 10:21 | onefang | Priority | urgent => high |
2019-08-11 10:21 | onefang | Reproducibility | always => random |
2019-08-11 10:33 | onefang | Note Added: 0000147 | |
2019-08-11 10:45 | onefang | Note Edited: 0000147 | |
2019-08-11 10:45 | onefang | Target Version | => 0.9.0.1 RC1 |
2019-08-12 18:06 | onefang | Note Added: 0000154 | |
2019-08-12 22:22 | onefang | Status | assigned => feedback |
2019-08-12 22:22 | onefang | Note Added: 0000157 | |
2019-08-13 00:18 | Taylor | Note Added: 0000158 | |
2019-08-13 00:18 | Taylor | Status | feedback => assigned |
2019-08-13 15:13 | onefang | Note Added: 0000160 | |
2019-08-14 10:49 | onefang | Note Edited: 0000160 | |
2019-08-14 16:20 | onefang | Status | assigned => resolved |
2019-08-14 16:20 | onefang | Resolution | open => fixed |
2019-08-14 16:20 | onefang | Fixed in Version | => 0.9.0.1 RC1 |
2019-08-14 16:20 | onefang | Note Added: 0000162 |