jOpenSimWorld

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

Unable to connect to Search Server

7 years 5 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 5 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.082 seconds

Search

Donate jOpenSim

Please consider supporting our efforts.

Amount

Our Regions

Region: Loc X: Loc Y:
Agora 1000 998
BareBad… 997 997
Bohemas 996 998
BoraBor… 1002 999
Crystal… 1001 1000
DeepTho… 1005 998
FoToSan… 999 995
jCity 1001 997
jOpenWe… 1000 999
JuniorT… 1002 1001
Kanadah… 1002 1000
LindaKe… 1000 997
LittleC… 996 997
MonteSc… 1001 1001
Naos 999 999
Pangaea 1005 1003
RiverSi… 999 1000
Sakani 999 998
Snambin 1001 998
Tartola 997 998
ViewerH… 1002 998
WaterWo… 1001 999
WilderK… 1000 1000

jOpenSimWorld

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