MantisBT - opensim
View Issue Details
0008165opensim[GRID] Hypergridpublic2017-05-12 06:142017-05-13 12:22
aiaustin 
UbitUmarov 
highblockalways
assignedopen 
PCWindows10
master (dev code) 
master (dev code) 
opensim-0.9.1-1356-g9c46e49
Grid (Multiple Regions per Sim)
BulletSim
.NET / Windows64
None
Firestorm 5.10.1.52150
0008165: HG teleport fails between grids on latest dev master version (1356)
A teleport attempt using osTeleportAgent is failing to work between two grids that have just been updated from 1340 to 1356 (opensim-0.9.0-1356-g9c46e49.zip). It gives a message in the viewer of "Teleport failed.". Teleport from a 1357 grid to OSGrid region works.

It appears to throw a System.NullReferenceException: Object reference not set to an instance of an object

in the destination grid Robust.exe window.

A jump from one of the updated grids TO an OSGrid region works.
E.g. on 12th May 2017... http://ai.vue.ed.ac.uk:8002 [^] AiLand region - use one of the teleport buttons at the top right on the thumbnails board to try go to http://virtual.aiai.ed.ac.uk:8002 [^] Openvue and it fails. Try to go to the OSGrid region and it works.

Note the grids may be downgraded back to 1340 temporarily.
14:10:05 - [GATEKEEPER SERVICE]: Login request for Ai.Austin @ai.vue.ed.ac.uk:8002 @ http://ai.vue.ed.ac.uk:8002/ [^] (ff0a6e25-15cf-4294-9374-4ce8cdec65eb) at 9c8b6f8f-8178-4a69-92dc-9feba4646e6b using viewer Firestorm-Releasex64 5.0.1.52150, channel Firestorm-Releasex64, IP 129.215.219.148, Mac 0c4a2423f7752f2109243ae3bcc8583d, Id0 8090712aa5f9b24d4ef4e0fea686dac0, Teleport Flags: ViaLogin. From region Vue-Port (7d6d7132-1d16-475b-830a-9301fb78e1e2) @ http://hg.osgrid.org:80/ [^]
14:10:05 - [GATEKEEPER SERVICE]: Verifying http://virtual.aiai.ed.ac.uk:8002 [^] against http://virtual.aiai.ed.ac.uk:8002 [^]
14:10:05 - [GATEKEEPER SERVICE]: Identity verified for Ai.Austin @ai.vue.ed.ac.uk:8002 @ http://ai.vue.ed.ac.uk:8002/ [^]
14:10:05 - [BASE HTTP SERVER]: HandleRequest() threw exception System.NullReferenceException: Object reference not set to an instance of an object.
   at OpenSim.Services.HypergridService.GatekeeperService.LoginAgent(GridRegion source, AgentCircuitData aCircuit, GridRegion destination, String& reason) in d:\Temp\opensim-0.9.0-1356-g9c46e49\OpenSim\Services\HypergridService\GatekeeperService.cs:line 379
   at OpenSim.Server.Handlers.Hypergrid.GatekeeperAgentHandler.CreateAgent(GridRegion source, GridRegion gatekeeper, GridRegion destination, AgentCircuitData aCircuit, UInt32 teleportFlags, Boolean fromLogin, EntityTransferContext ctx, String& reason) in d:\Temp\opensim-0.9.0-1356-g9c46e49\OpenSim\Server\Handlers\Hypergrid\AgentHandlers.cs:line 67
   at OpenSim.Server.Handlers.Simulation.AgentPostHandler.DoAgentPost(Hashtable request, Hashtable responsedata, UUID id) in d:\Temp\opensim-0.9.0-1356-g9c46e49\OpenSim\Server\Handlers\Simulation\AgentHandlers.cs:line 477
   at OpenSim.Server.Handlers.Simulation.AgentPostHandler.ProcessRequest(String path, Stream request, IOSHttpRequest httpRequest, IOSHttpResponse httpResponse) in d:\Temp\opensim-0.9.0-1356-g9c46e49\OpenSim\Server\Handlers\Simulation\AgentHandlers.cs:line 409
   at OpenSim.Framework.Servers.HttpServer.BaseStreamHandler.Handle(String path, Stream request, IOSHttpRequest httpRequest, IOSHttpResponse httpResponse) in d:\Temp\opensim-0.9.0-1356-g9c46e49\OpenSim\Framework\Servers\HttpServer\BaseStreamHandler.cs:line 72
   at OpenSim.Framework.Servers.HttpServer.BaseHttpServer.HandleRequest(OSHttpRequest request, OSHttpResponse response) in d:\Temp\opensim-0.9.0-1356-g9c46e49\OpenSim\Framework\Servers\HttpServer\BaseHttpServer.cs:line 561
No tags attached.
Issue History
2017-05-12 06:14aiaustinNew Issue
2017-05-12 06:14aiaustinStatusnew => assigned
2017-05-12 06:14aiaustinAssigned To => UbitUmarov
2017-05-12 06:18aiaustinDescription Updatedbug_revision_view_page.php?rev_id=6163#r6163
2017-05-12 06:18aiaustinSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=6165#r6165
2017-05-12 06:28aiaustinDescription Updatedbug_revision_view_page.php?rev_id=6166#r6166
2017-05-12 06:30aiaustinGit Revision or version number => opensim-0.9.1-1356-g9c46e49
2017-05-12 06:30aiaustinDescription Updatedbug_revision_view_page.php?rev_id=6167#r6167
2017-05-12 06:31aiaustinSummaryHG teleport fails between grids on latest dev master version () => HG teleport fails between grids on latest dev master version (1356)
2017-05-12 06:31aiaustinDescription Updatedbug_revision_view_page.php?rev_id=6168#r6168
2017-05-12 06:36aiaustinNote Added: 0031841
2017-05-12 06:41aiaustinNote Added: 0031842
2017-05-12 06:43UbitUmarovNote Added: 0031843
2017-05-12 06:56aiaustinNote Added: 0031844
2017-05-12 06:57aiaustinNote Edited: 0031844bug_revision_view_page.php?bugnote_id=31844#r6170
2017-05-12 07:13aiaustinNote Added: 0031845
2017-05-12 07:14aiaustinNote Edited: 0031845bug_revision_view_page.php?bugnote_id=31845#r6172
2017-05-12 07:16aiaustinNote Edited: 0031845bug_revision_view_page.php?bugnote_id=31845#r6173
2017-05-12 07:20aiaustinNote Edited: 0031845bug_revision_view_page.php?bugnote_id=31845#r6174
2017-05-12 07:27UbitUmarovNote Added: 0031846
2017-05-12 07:45aiaustinNote Added: 0031847
2017-05-12 07:47UbitUmarovNote Added: 0031848
2017-05-13 12:22aiaustinNote Added: 0031851
2017-05-13 12:23aiaustinNote Edited: 0031851bug_revision_view_page.php?bugnote_id=31851#r6176

Notes
(0031841)
aiaustin   
2017-05-12 06:36   
Issue appears to be when the SOURCE grid is the latest versions e.g. 1356 or 1357. The destination grid is not the issue.

I reverted one grid to 1340 and could teleport to a 1357 grid fine.

But logged on initially to a 1357 grid I could not teleport to a 1340 grid.
(0031842)
aiaustin   
2017-05-12 06:41   
AiLand and Openvue grids now set back to 1340 (12-May-2017)
(0031843)
UbitUmarov   
2017-05-12 06:43   
yeap my bad, sorry
changed master
(0031844)
aiaustin   
2017-05-12 06:56   
(edited on: 2017-05-12 06:57)
Will test shortly. Thanks.

The UUID in that line is I believe the new God level user UUID? Would it not be best to have that as a constant tied to the other places its used? Or even just for uniformity if it has to be given as a constant in the separate modules?

(0031845)
aiaustin   
2017-05-12 07:13   
(edited on: 2017-05-12 07:20)
With 1359 on both AiLand and Openvue I am still seeing an error... different line... I will check if its finger problems at my end... [it seems not... 1359 still fails if source region is 1359 rather than 1340)]...

15:11:43 - [GATEKEEPER SERVICE]: Verifying http://ai.vue.ed.ac.uk:8002 [^] against h
ttp://ai.vue.ed.ac.uk:8002 [^]
15:11:43 - [GATEKEEPER SERVICE]: Identity verified for Ai Austin @ http://virtua [^]
l.aiai.ed.ac.uk:8002/
15:11:43 - [BASE HTTP SERVER]: HandleRequest() threw exception System.NullRefere
nceException: Object reference not set to an instance of an object.
   at OpenSim.Services.HypergridService.GatekeeperService.LoginAgent(GridRegion
source, AgentCircuitData aCircuit, GridRegion destination, String& reason) in d:
\Temp\opensim-0.9.0-1359-g5e577ba\OpenSim\Services\HypergridService\GatekeeperSe
rvice.cs:line 388
   at OpenSim.Server.Handlers.Hypergrid.GatekeeperAgentHandler.CreateAgent(GridR
egion source, GridRegion gatekeeper, GridRegion destination, AgentCircuitData aC
ircuit, UInt32 teleportFlags, Boolean fromLogin, EntityTransferContext ctx, Stri
ng& reason) in d:\Temp\opensim-0.9.0-1359-g5e577ba\OpenSim\Server\Handlers\Hyper
grid\AgentHandlers.cs:line 67
   at OpenSim.Server.Handlers.Simulation.AgentPostHandler.DoAgentPost(Hashtable
request, Hashtable responsedata, UUID id) in d:\Temp\opensim-0.9.0-1359-g5e577ba
\OpenSim\Server\Handlers\Simulation\AgentHandlers.cs:line 477
   at OpenSim.Server.Handlers.Simulation.AgentPostHandler.ProcessRequest(String
path, Stream request, IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
in d:\Temp\opensim-0.9.0-1359-g5e577ba\OpenSim\Server\Handlers\Simulation\AgentH
andlers.cs:line 409
   at OpenSim.Framework.Servers.HttpServer.BaseStreamHandler.Handle(String path,
 Stream request, IOSHttpRequest httpRequest, IOSHttpResponse httpResponse) in d:
\Temp\opensim-0.9.0-1359-g5e577ba\OpenSim\Framework\Servers\HttpServer\BaseStrea
mHandler.cs:line 72
   at OpenSim.Framework.Servers.HttpServer.BaseHttpServer.HandleRequest(OSHttpRe
quest request, OSHttpResponse response) in d:\Temp\opensim-0.9.0-1359-g5e577ba\O
penSim\Framework\Servers\HttpServer\BaseHttpServer.cs:line 561

(0031846)
UbitUmarov   
2017-05-12 07:27   
yeackkk same bug...
and yes its the grid god uuid, for now in several places in code both region/robust. To cleanup later.
(0031847)
aiaustin   
2017-05-12 07:45   
AiLand and Openvue now on opensim-0.9.0-1360-gd08df7b.zip

Teleports using osTeleportAgent scripted objects between these grids now work.

Maybe its worth checking the download announced just today by OSGrid (built from OpenSimulator git hash : 8bdd4c3ed9cef20bcee931b287c9c4124b409186) as it may be a faulty version?
(0031848)
UbitUmarov   
2017-05-12 07:47   
yes dan is following this
(0031851)
aiaustin   
2017-05-13 12:22   
(edited on: 2017-05-13 12:23)
osgrid.org download as at this time still has a faulty version. I let Dan banner know via IM on osgrid.org.