MantisBT - opensim
View Issue Details
0005136opensim[GRID] Hypergridpublic2010-10-24 13:502011-05-06 18:52
master (dev code) 
0.7.1 Dev Master
Grid (Multiple Regions per Sim)
.NET / Windows32
0005136: osTeleportAgent no longer works with host:port:region format
It seems that osTeleportAgent does not now work if the host:port or host:port:region name formats are used.
No tags attached.
child of 0005135closed WhiteStar osTeleportAgent cause Viewer Internal Error on Arrival = 50% crash rate 
rtf Part_1_osTeAg_script.rtf (11,222) 2010-12-19 10:14
rtf Part_2_osTeAg_script.rtf (2,273) 2010-12-19 10:14
rtf Part_3_osTeAg_script.rtf (3,621) 2010-12-19 10:15
txt Error_Report_01.txt (7,504) 2010-12-20 17:13
txt teleport_fail.txt (679,765) 2011-01-06 16:45
txt scripts_issue.txt (777,665) 2011-01-06 16:45
txt other_error.txt (5,024) 2011-01-06 16:46
Issue History
2010-10-24 13:50aiaustinNew Issue
2010-10-24 13:50aiaustinGit Revision => 0.7.1 Dev master
2010-10-24 13:50aiaustinSVN Revision => 14247
2010-10-24 13:50aiaustinRun Mode => Grid (Multiple Regions per Sim)
2010-10-24 13:50aiaustinPhysics Engine => ODE
2010-10-24 13:50aiaustinEnvironment => .NET / Windows32
2010-10-24 13:50aiaustinMono Version => None
2010-10-24 13:51aiaustinGit Revision0.7.1 Dev master => 0.7.1 Dev Master
2010-10-24 13:51aiaustinDescription Updated
2010-10-24 13:52aiaustinSVN Revision14247 => 14257
2010-10-24 14:35WhiteStarRelationship addedchild of 0005135
2010-11-16 19:49aiaustinNote Added: 0017309
2010-11-16 22:34MarckNote Added: 0017311
2010-12-12 20:51BruceNote Added: 0017574
2010-12-12 20:51BruceNote Edited: 0017574
2010-12-13 01:22aiaustinNote Added: 0017578
2010-12-13 01:23aiaustinNote Edited: 0017578
2010-12-13 05:20aiaustinNote Edited: 0017578
2010-12-13 06:29BruceNote Added: 0017582
2010-12-13 07:31aiaustinNote Added: 0017584
2010-12-19 09:58DivaNote Added: 0017641
2010-12-19 10:14BruceFile Added: Part_1_osTeAg_script.rtf
2010-12-19 10:14BruceFile Added: Part_2_osTeAg_script.rtf
2010-12-19 10:15BruceFile Added: Part_3_osTeAg_script.rtf
2010-12-19 10:17BruceNote Added: 0017642
2010-12-19 11:03BruceNote Added: 0017643
2010-12-19 11:28DivaNote Added: 0017644
2010-12-19 11:36BruceNote Added: 0017645
2010-12-19 12:25BruceNote Added: 0017646
2010-12-19 17:18MarckNote Added: 0017647
2010-12-20 14:40BruceNote Added: 0017659
2010-12-20 17:13BruceFile Added: Error_Report_01.txt
2010-12-20 17:34BruceNote Added: 0017661
2010-12-20 17:35BruceNote Edited: 0017661
2010-12-20 17:36BruceNote Edited: 0017661
2011-01-05 19:16DivaNote Added: 0017768
2011-01-06 03:23aiaustinNote Added: 0017772
2011-01-06 03:24aiaustinNote Edited: 0017772
2011-01-06 08:26BruceNote Added: 0017775
2011-01-06 08:44aiaustinNote Added: 0017776
2011-01-06 16:45BruceFile Added: teleport_fail.txt
2011-01-06 16:45BruceFile Added: scripts_issue.txt
2011-01-06 16:46BruceFile Added: other_error.txt
2011-01-06 16:54BruceNote Added: 0017786
2011-01-06 17:00BruceNote Edited: 0017786
2011-01-07 07:17DivaStatusnew => resolved
2011-01-07 07:17DivaResolutionopen => fixed
2011-01-07 07:17DivaAssigned To => Diva
2011-01-07 07:17DivaNote Added: 0017797
2011-05-06 18:52chi11kenStatusresolved => closed

2010-11-16 19:49   
Does Marck's patch for [^] resolve this issue too?
2010-11-16 22:34   
Yes, 0005211 should resolve this issue. However, it does not address 0005135.
2010-12-12 20:51   
This has reappeared with r14645 for certain osTeleportAgent scripts which worked fine with host:port or host:port:region format for hyperlinked regions.

2010-12-13 01:22   
(edited on: 2010-12-13 05:20)
Bruce check if the failing regions relate to ones you set up as hyperlinks on your map. It could be that these conflict with OSTeleportAgent scripted jumps?

I cleared out all my old style map hyperlinks.

Unfortunately I also observed two crashes on arrival at Ansky grid from Openvue via map clicks yesterday... But I am still investigating the circumstances.

2010-12-13 06:29   
Ai, the osTeleporterAgent scrip in question is using the name of hyperlinked regions. Those names are manually listed in a notecard. I think this no longer works because the names of hyperlinked regions now contain the prefix "http://" [^] and a trailing "/", as you can see in Map for hyperlinked regions these days (a short name for any such region was, in my humble opinion, much more 'user friendly'). Perhaps the script would work again if the "http://" [^] prefix and trailing "/" could be hidden, e.g. "" instead of "". [^]
2010-12-13 07:31   
That is a separate issue Bruce... I can verify that an OSTeleportAgent request using the destination with

host:port:region name works... with no http:// on front or training slash on end... which is what OSTeleportAgent is meant to do

It can ALSOP uise a local map region name... which includes your own regions AND the map name for linked regions, whichas you rigtly say now have a new format of http://host:port[:region]/ [^] with region name not showing if a link is done to teh default region for a grid, and with http:// on front and / on end even in the friendly map name.

Maybe Diva could consider NOT using the http:// and trailing slash in the local name as those are superflouus and wasting space on labels in the map. They ARE of course needed in teh actual address maintaine d in the link-region data base table which can be listed via "show hyperlinks" command in the relevant console. Then the hyperlinked map cell name would be the same format as used in OSTeleportAgent which would seem to make sense?
2010-12-19 09:58   
Please add a script that has problems, so that I can understand what's going on.
2010-12-19 10:17   
3 files for osTeleportAgent script uploaded (place all 3 in a prim of any shape).
2010-12-19 11:03   
Actually the correct syntax for link-region is apparently: http://host:port/ [^] [region] and not http://host:port[:region]/. [^] I checked with both and only the first incantation will link a region in my case (r/14693, standalone multiple regions, .Net, Win2k3/32, ODE, etc).
2010-12-19 11:28   
Yes, the syntax has changed. Does this change the problem reported in this issue?
2010-12-19 11:36   
Sorry, it does not solve the problem. It could be a win32/.net issue because apparently that script works for Marck on his standalone (I think he is on Linux). The script returns "could not find [region name]" in most cases. It does not understand the new syntax as it is probably looking for a region name and not an URI. All linked regions which were created before the new syntax came into effect must be unlinked otherwise when you open Map the instances crashes (again this is on windows 32 with my setup).
2010-12-19 12:25   
Running the attached script under r/14693:

The opensim.exe console reports:
16:09:07 - [GRID SERVICE]: GetRegionsByName
16:09:07 - [GRID SERVICE]: Found 0 regions
16:09:07 - [HYPERGRID LINKER]: Link to, in 11234-0
16:09:07 - [GATEKEEPER SERVICE CONNECTOR]: Linking to [^]
16:09:08 - [HYPERGRID LINKER]: Region already exists in coordinates 9000 9003

The viewer reports:
The region 'Vue-5000' could not be found.

Show hyperlinks lists Vue-5000 correctly as: " [^] Vue-5000"

GetRegionsByName may be the culprit ?
2010-12-19 17:18   
The issue described by Bruce occurs when a storage provider other than NullRegionData is used for region storage with the GridService.

Commit 3b4af8a0dc30e65b6f5c12d9f312f83be7ed240d (r/14697) should fix this, please test.
2010-12-20 14:40   
Thank you Diva for looking into this and thank you Marck for fixing it in r/14697. Confirming osTeleportAgent script working properly again. Tested on r/14699.
2010-12-20 17:34   
(edited on: 2010-12-20 17:36)
Re.: Mantis 5135 (reported as solved). Teleporting using osTeleportAgent from one region to another region within the same grid ("home grid") does not appear to be resolved (error report attached). Teleporting to the first region is fine but the agent may arrive as a cloud. Teleporting to a second region as a cloud is possible but not as a fully rendered agent. Teleporting to a second region as a fully rendered agent will crash the viewer (Imprudence 1.3.0) and opensim.exe (r/14699, standalone multiple regions, .Net, Win2k3/32, ODE, etc). Teleporting to the third region as a cloud will only crash the viewer. Teleporting to regions located outside the home grid to other HG enabled regions appears to be fine (tested with 4 HG enabled regions).

2011-01-05 19:16   
Is this solved?
If not, can you please provide an updated summary of how to repro?
2011-01-06 03:23   
(edited on: 2011-01-06 03:24)
In my tests with r/14741 most recently (and now interacting between Openvue Grid and OSGrid) the osTeleportAgent scripts all seem to work fine with SL Viewer 1.23.5.

2011-01-06 08:26   
Problem reported by me on 2010-12-20 at 17:34 concerning mantis 5135 persists and is worse in r14740 in as much as a second inter-grid teleport crashes the viewer each time. It could be a latency problem or date coming too fast for the viewer. Opensim.exe console did not generate any red warning messages. Will test with head tonight and report my findings here tomorrow. (tested r14370, 14722 and r/14740; standalone multiple regions; hyperlink enabled; .Net; Win2k3/32; ODE; mySQL; flotsam cache; Imprudence 1.3.0).
2011-01-06 08:44   
I had one viewer crash today with SL 1.23.5 and r/14747 (5-Jan-2011) when going to Ansky grid from Openvue grid. It crashed on the attempt to use the Ansky hypergrid link-region map tile to come back home to Openvue.

But all my other HG jumps between Openvue Grid, OSGrid Wright Plaza and my own two regions on OSGRid (Vue-3200 and Vue-6400) and across to Diva's UCI Grid test setup worked fine using ostelePortAgent scripts for internal and HG jumps.
2011-01-06 16:54   
(edited on: 2011-01-06 17:00)
Steps to recreate:

1. Enable StandalonHypergrid architecture with r14750 using Win2k3/32; .NET; mySQL; ODE; xEngine; flotsam cache; Imprudence 1.3.0

2. Create a home grid consisting of 6 regions, each having about 4,000 objects and 200 scripts.

3. check that all 6 regions are ready, i.e. "server_startup,1,0" on channel -800

4. Use object with osTeleportAgent script to teleport WITHIN home grid (teleporting outside home grid to HG regions using same interface works almost every time).

1. Could teleport to 3 regions in home grid before teleport to 4th region in home grid failed (see teleport_fail.txt)

2. Region to which the teleport was attempted and failed disappeared from mini map.

3. After this, successfully managed to teleport to 2 regions in home grid, including back to home region but delay from initiating teleport to arrival varied between 1 to 4 minutes (home region had longest delay).

5. Agent stayed fully rendered at all times and viewer never crashed.

6. objects set to touch/grab do not show a hand and objects with door or sit script operate 180 degrees in reverse (no errors in opensim.exe console but maybe scripts_issues.txt may show what is causing this). Restaring opensim.exe two or three times appears to resolve this.

7. opensim.exe console showed 2 unrelated red error messages (see other_error.txt).

Overall opensimulator at r/14750 works much better for me. Thank you to all the developers who contributed to these improvements.

2011-01-07 07:17   
I'm closing this, since it looks like the issue with osteleport not working for hyperlinks is fixed. The remaining issues seem to be related to teleports in general.