Hmmm that had no effect.. I actually had the Nginx forwarding that info already..
But it is looking like there is a communication error some where.. I also get this error in the OpenSim.log
2013-11-06 15:47:10,560 DEBUG - OpenSim.Region.CoreModules.Framework.UserManagement.UserManagementModule [USER MANAGEMENT MODULE]: No grid user found for 0a009e79-7c56-11e2-b122-000c76240986
and not just for one user, but looks like for all the users on the grid.. that error is when I log on the grid. Something is not being passed properly.. Not sure where to turn now..
Here is my vhost.conf for nginx
server {
listen 80;
server_name login.virtualrealmsgrid.com hg.virtualrealmsgrid.com
access_log /var/log/nginx/vrgmain.log;
error_log /var/log/nginx/errorvrgm.log;
#access_log logs/host.access.log main;
location / {
proxy_pass http://10.10.10.10:8002; <---- I changed the actual address just for example here..
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#proxy_set_header X-Forwarded-For $remote_addr; <----- I tried both one at a time no effect
proxy_max_temp_file_size 1m;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
}
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}
listen 80;
server_name login.virtualrealmsgrid.com hg.virtualrealmsgrid.com
access_log /var/log/nginx/vrgmain.log;
error_log /var/log/nginx/errorvrgm.log;
#access_log logs/host.access.log main;
location / {
proxy_pass http://10.10.10.10:8002; <---- I changed the actual address just for example here..
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#proxy_set_header X-Forwarded-For $remote_addr; <----- I tried both one at a time no effect
proxy_max_temp_file_size 1m;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
}
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}
Perhaps someone can shed some more insight into things..
Thanks
Todd
-------- Original Message --------
Subject: Re: [Opensim-users] Hypergrid issues after installing Nginx
Reverse Proxy
From: Michael Emory Cerquoni <[email protected]>
Date: Wed, November 06, 2013 3:44 pm
To: OpenSim Users Mailing List <[email protected]>
Teravus posted this here 3-4 weeks ago it may help you out > http://www.networkinghowtos.com/howto/set-the-x-forwarded-for-header-on-a-nginx-reverse-proxy-setup/
On Wed, Nov 6, 2013 at 5:42 PM, Timothy Rogers <[email protected]> wrote:
One issue I ran into when I was setting up Apache Reverse Proxy, I
noticed I never told it to forward headers, that may be one of your
issues if it is not forwarding the proper header information. I am not
to sure how NiGNX handles headers through reverse proxy.
> _______________________________________________
On Wed, Nov 6, 2013 at 5:18 PM, <[email protected]> wrote:
> Hi I setup a Nginx Reverse Proxy on my grid. Now I no one can hypergrid in
> or out.
>
> I did check connectivity thru the Proxy server and it works. I can log in
> via the new login Uri: login.virtualrealmsgrid.com and I can even log in
> with the new hypergrid address hg.virtualrealmsgrid.com as the login url..
> SO I know the proxy server is working.
>
> Trying to hypergrid in to the grid from another grid I get this result.
>
> If I log into Osgrid or Craftworld I search for hg.virtualrealmsgrid.com in
> the map they find the grid. But when I try to teleport to I get Problem
> Destination. I look at my robust log and there is nothing about hypergrid
> in from either grid.
> If I open my port 8002 on my router I see an attempt at hypergrid but the
> error I get is:
> 2013-11-06 04:01:48,202 DEBUG -
> OpenSim.Services.HypergridService.GatekeeperService [GATEKEEPER SERVICE]:
> Verifying http://virtualrealmsgrid.com:8002 against
> http://hg.virtualrealmsgrid.com
>
> virtualrealmsgrid.com:8002 use to be the Login URI and Hypergate info..
> with the Proxy it is:
>
> login URI = "login.virtualrealmsgrid.com"
>
> hypergrid info for the grid is:
> HomeURI = "http://hg.virtualrealmsgrid.com"
>
> GatekeeperURI = "http://hg.virtualrealmsgrid.com"
>
>
> When I log in to the grid as a local user I get some errors in the
> OpenSim.log when I try to hypergrid. these are:
>
> 2013-11-06 16:25:51,857 DEBUG - OpenSim.Framework.WebUtil [WEB UTIL]:
> ServiceOSD request 1506
> http://184.70.53.242/homeagent/a887910d-072c-42f2-92ae-17e69f65d118/ POST
> FAILED: [NotFound] Not Found
>
> 2013-11-06 16:25:51,864 DEBUG - OpenSim.Framework.WebUtil [WEB UTIL]:
> ServiceOSD request 1507
> http://184.70.53.242/homeagent/a887910d-072c-42f2-92ae-17e69f65d118/ POST
> FAILED: [NotFound] Not Found
> 2013-11-06 16:25:51,866 WARN -
> OpenSim.Services.Connectors.Simulation.SimulationServiceConnector [REMOTE
> SIMULATION CONNECTOR]: Failed to create agent Todd Davis at remote simulator
>
> 2013-11-06 16:25:51,868 DEBUG -
> OpenSim.Region.CoreModules.Framework.EntityTransfer.EntityTransferModule
> [ENTITY TRANSFER MODULE]: Teleport of Todd Davis from Mezzo Realm to Lbsa
> Plaza was refused because Service request failed: [NotFound] Not Found
>
>
>
> Also I get one error when I log off the grid as a user in the OpenSim.log.
>
> 2013-11-06 16:26:24,869 DEBUG -
> OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector [USER AGENT
> CONNECTOR]: Unable to contact remote server http://184.70.53.242/ for
> GetBoolResponse
>
> The setup for the grid is the only the hypergrid server information is
> exposed to the internet ie: all the 8002 connectors pass through the proxy
> and the 8003 connectors are on a internal network ip system.. Save I have a
> SRAS Asset server running that is on 8004 and that is exposed to the
> internet also (that is another question but it needs to wait).
>
> I have checked and rechecked to make sure all references to old
> virtualrealmsgrid.com:8002 are changed to new proxy URIs.. I have even
> gone through all my databases to make sure nothing shows
> virtualrealmsgrid:8002
>
> So the long and short of this is I think there is something not pointing
> properly in either the Robust.HG.ini, OpenSim.ini or GridCommon.ini not
> talking to the hypergrid connectors..
>
> Thanks for the help in advance..
>
> Todd
>
>
>
> Opensim-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/opensim-users
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users
--
Michael Emory Cerquoni
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users
_______________________________________________ Opensim-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/opensim-users
