* a bit of additional debugging:
parent
38e76d71ac
commit
5ddb8b535e
|
@ -135,8 +135,6 @@ namespace OpenSim.Services.HypergridService
|
|||
{
|
||||
m_log.DebugFormat("[USER AGENT SERVICE]: Request to login user {0} {1} (@{2}) to grid {3}",
|
||||
agentCircuit.firstname, agentCircuit.lastname, ((clientIP == null) ? "stored IP" : clientIP.Address.ToString()), gatekeeper.ServerURI);
|
||||
|
||||
m_log.Debug("LATG final server uri -> " + finalDestination.ServerURI );
|
||||
// Take the IP address + port of the gatekeeper (reg) plus the info of finalDestination
|
||||
GridRegion region = new GridRegion(gatekeeper);
|
||||
region.ServerURI = gatekeeper.ServerURI;
|
||||
|
@ -150,12 +148,13 @@ namespace OpenSim.Services.HypergridService
|
|||
// Generate a new service session
|
||||
agentCircuit.ServiceSessionID = region.ServerURI + ";" + UUID.Random();
|
||||
TravelingAgentInfo old = UpdateTravelInfo(agentCircuit, region);
|
||||
|
||||
m_log.Debug("region ServerURI -> " + region.ServerURI);
|
||||
|
||||
bool success = false;
|
||||
string myExternalIP = string.Empty;
|
||||
string gridName = gatekeeper.ServerURI;
|
||||
|
||||
m_log.Debug("m_grid - " + m_GridName + ", gn - " + gridName);
|
||||
|
||||
if (m_GridName == gridName)
|
||||
success = m_GatekeeperService.LoginAgent(agentCircuit, finalDestination, out reason);
|
||||
else
|
||||
|
|
|
@ -566,6 +566,7 @@ namespace OpenSim.Services.LLLoginService
|
|||
|
||||
private GridRegion FindForeignRegion(string domainName, uint port, string regionName, out GridRegion gatekeeper)
|
||||
{
|
||||
m_log.Debug("attempting to findforeignregion " + domainName + ":" + port.ToString() + ":" + regionName);
|
||||
gatekeeper = new GridRegion();
|
||||
gatekeeper.ExternalHostName = domainName;
|
||||
gatekeeper.HttpPort = port;
|
||||
|
@ -631,11 +632,9 @@ namespace OpenSim.Services.LLLoginService
|
|||
gatekeeper = new GridRegion(destination);
|
||||
gatekeeper.ExternalHostName = hostName;
|
||||
gatekeeper.HttpPort = (uint)port;
|
||||
|
||||
}
|
||||
else // login to foreign grid
|
||||
{
|
||||
gatekeeper.ServerURI = m_GatekeeperURL;
|
||||
}
|
||||
m_log.Debug("no gatekeeper detected..... using " + m_GatekeeperURL);
|
||||
}
|
||||
|
||||
bool success = false;
|
||||
|
|
Loading…
Reference in New Issue