jOpenSimWorld

Grid Status: Online
Total Regions: 23
Visitors (30 Days): 7
Total Residents: 491
Online Now: 0
Hypergriders online: 0

Unable to connect to Search Server

7 years 10 months ago #2631 by fungi
Here is the problem as it presents itself.

The opensim and jopensim are on the same vm on my network natted to a public ip and since they are sharing an public ip in the vps on this vm, and they share a local ip since they are on the same vps. I access the sim using domain names from the opensim browser and it works, but I am getting this error related to jopensimsearch interface.php and exceptions.

im hoping you can see this and give me a better idea of how to correct this.

I can access the other services and websites on this vm from behind the router even on the same vps.
How can I convince this to work :)

The information from interface.log
########## 24.05.2017 11:10:49 ##### search register host online ##########
Registering host 72.253.111.168 with port 9000 at timestamp 1495660249



########## 24.05.2017 11:10:59 ##### reaction in registersearch.php ##########


2017-05-24 11:11:00 Request coming from 10.10.13.108


########## 24.05.2017 11:11:00 ##### input ##########
'<?xml version="1.0" encoding="utf-8"?><methodCall><methodName>init_SearchDataUpdate</methodName><params><param><value><struct><member><name>updateInterval</name><value><i4>1200</i4></value></member><member><name>openSimServIP</name><value><string> 72.253.111.168:9000/ </string></value></member></struct></value></param></params></methodCall>'

2017-05-24 11:11:00 No access for 10.10.13.108 at line 599 in /home/rainbowhq/public_html/3d/components/com_opensim/interface.php


########## 24.05.2017 11:11:00 ##### response for unknown ##########
'
response for unknown method :

\'\''

AND the info from the opensim console
1:11:00 - [jOpenSimSearch]: (3GetHashCode) Unable to connect to Search Server ht
/3d/components/com_opensim/interface.php. Exception -946748416
11:11:00 - [jOpenSimSearch]: (3data) Unable to connect to Search Server ht
/3d/components/com_opensim/interface.php. Exception System.Xml.XmlException
11:11:00 - [jOpenSimSearch]: (3HelpLink) Unable to connect to Search Server ht
/3d/components/com_opensim/interface.php. Exception
11:11:00 - [jOpenSimSearch]: (3InnerException) Unable to connect to Search Server ht
/3d/components/com_opensim/interface.php. Exception
11:11:00 - [jOpenSimSearch]: (3LineNumber) Unable to connect to Search Server ht
/3d/components/com_opensim/interface.php. Exception 1
11:11:00 - [jOpenSimSearch]: (3LinePosition) Unable to connect to Search Server ht
/3d/components/com_opensim/interface.php. Exception 1
11:11:00 - [jOpenSimSearch]: (3Source) Unable to connect to Search Server ht
/3d/components/com_opensim/interface.php. Exception System.Xml
11:11:00 - [jOpenSimSearch]: (3SourceUri) Unable to connect to Search Server ht
/3d/components/com_opensim/interface.php. Exception
11:11:00 - [jOpenSimSearch]: (3StackTrace) Unable to connect to Search Server ht
/3d/components/com_opensim/interface.php. Exception at Mono.Xml2.XmlTextReader.Read () [0x00000] in <filename unknown>:0
at System.Xml.XmlTextReader.Read () [0x00000] in <filename unknown>:0
at Nwc.XmlRpc.XmlRpcResponseDeserializer.Deserialize (System.IO.TextReader xmlData) [0x00000] in <filename unknown>:0
at Nwc.XmlRpc.XmlRpcRequest.Send (System.String url, Int32 timeout) [0x00000] in <filename unknown>:0
at jOpenSim.Search.jOpenSimSearch.GenericXMLRPCRequest (System.Collections.Hashtable ReqParams, System.String method) [0x00000] in <filename unknown>:0
11:11:00 - [jOpenSimSearch]: (3TargetSite) Unable to connect to Search Server ht
/3d/components/com_opensim/interface.php. Exception Boolean Read()
11:11:00 - [jOpenSimSearch]: (3ToString) Unable to connect to Search Server ht
/3d/components/com_opensim/interface.php. Exception System.Xml.XmlException: Document element did not appear. Line 1, position 1.
at Mono.Xml2.XmlTextReader.Read () [0x00000] in <filename unknown>:0
at System.Xml.XmlTextReader.Read () [0x00000] in <filename unknown>:0
at Nwc.XmlRpc.XmlRpcResponseDeserializer.Deserialize (System.IO.TextReader xmlData) [0x00000] in <filename unknown>:0
at Nwc.XmlRpc.XmlRpcRequest.Send (System.String url, Int32 timeout) [0x00000] in <filename unknown>:0
at jOpenSim.Search.jOpenSimSearch.GenericXMLRPCRequest (System.Collections.Hashtable ReqParams, System.String method) [0x00000] in <filename unknown>:0
11:11:00 - [jOpenSimSearch]: initDataUpdate returned error: Unable to search at this time.
11:11:00 - [MUTE LIST]: Mute list enabled
11:11:00 - [OFFLINE MESSAGING]: Offline messages enabled
11:11:00 - [LLLOGIN IN CONNECTOR]: Starting...
11:11:00 - [RADMIN]: Creating default avatar entries
11:11:00 - [RADMIN]: No default avatar information available
11:11:00 - [RADMIN]: Default avatars not loaded
Currently selected region is Default Region
PLEASE WAIT FOR LOGINS TO BE ENABLED ON REGIONS ONCE SCRIPTS HAVE STARTED. Non-script portion of startup took 0m 13s.
INITIALIZATION COMPLETE FOR Default Region - LOGINS ENABLED
11:11:02 - [SCENE COMMUNICATION SERVICE]: Informing 0 neighbours that region Default Region is up
Region (Default Region) #

Please Log in or Create an account to join the conversation.

7 years 10 months ago #2632 by foto50
Hi fungi

When regions start up, the simulator writes it's IP into the mysql table 'regions' into the column 'serverIP'. This should be a public IP and never a local one.

For security, jOpenSim does not allow any request from another IP than those registered in this table:
2017-05-24 11:11:00 No access for 10.10.13.108 at line 599 in /home/rainbowhq/public_html/3d/components/com_opensim/interface.php
But if you connect to the grid via the local network, the region will rather use its local IP instead of the official one registered for the simulator ... this can cause jOpenSim refusing to talk with this region.

To avoid this "confusion", you could force the region to use it's official IP by changing in it's Region.ini the line
ExternalHostName = SYSTEMIP
to
ExternalHostName = ip.address.from.regions

Hope this helps

Greetz
FoTo50

Please Log in or Create an account to join the conversation.

Time to create page: 0.096 seconds