From 8239e29be7b44da3ed75f3487ccf76015b2d2a33 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Mon, 11 Jul 2016 22:31:32 +0100 Subject: Change the user verification call back to use the host name instead of the IP address. Fixes NGINX on OSGrid getting confuzzled. --- OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs') diff --git a/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs b/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs index 1dcc82a..1b45bcf 100644 --- a/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs +++ b/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs @@ -572,7 +572,11 @@ namespace OpenSim.Services.Connectors.Hypergrid XmlRpcResponse response = null; try { - response = request.Send(m_ServerURL, 10000); + // We can not use m_ServerURL here anymore because it causes + // the HTTP request to be built without a host name. This messes + // with OSGrid's NGINX and can make OSGrid avatars unable to TP + // to other grids running recent mono. + response = request.Send(m_ServerURLHost, 10000); } catch (Exception e) { -- cgit v1.1