[Opensim-dev] (XML-RPC) HTTP/1.0 400 BadRequest: Invalid request line

Ai Austin ai.ai.austin at gmail.com
Sat Oct 25 14:53:16 UTC 2014


>On Fri, 2014-10-24 at 21:59 +0200, Melanie wrote:
> > XMLRPC on Simulators is deprecated even in SL. The SL solution uses
> > one central gateway that operates on object uuids. That gateway was
> > already overloaded 6 years ago and hasn't improved since. ...
> >
> > XMLRPC service in OpenSim was provided to give some kind of
> > compatibility for legacy scripts, but few people use it as far as I
> > know.

We have used, and continue to use on several grids, XML-RPC to 
connect in world communicator objects to our external intelligent 
systems, such as the I-X AI planner and process support aids used in I-Rooms.

The scripts run completely compatibly in SL and OpenSim.

I am not aware that XML-RPC is deprecated inSL, though the HTTP-IN 
mechanism is the more modern scheme that may be more flexible.  If 
someone has a link to a notice that its deprrcated I would appreciate the link.

Melanie is correct that there is a potential bottleneck when using 
XMLRPC in SL as the host is shared for all such usage. But it works 
all the tine for us, I have never seen 50% degradation.  Of course 
you should have scripts that do check that communications works end 
to end an not assume the services may always be up.  When we 
developed the software back in 2006, we used to observe a latency on 
calls of around 3 to 5 seconds so allow for long communications 
delays. But for the appropriate type of communications and where 
queuing is okay it works fine.

The 20800 XML-RPC port needs to be open on the OpenSim.exe machine, 
and remember to set the OpenSim.ini host to the REGION server, not 
the ROBUST grid, if you are running in grid mode.  So theer is one 
XMLRPC port and service per region server instance.





More information about the Opensim-dev mailing list