Commenting assets service from [ServiceList] is enough to disable it binding to a network port, but don't comment anything in [AssetService]. The asset service is needed by multiple other services, so it needs to have a configuration there too.

On 3/2/2016 7:12 AM, ssm2017 wrote:
hello
here are what i have done (using 0.8.2.1-post_fixes + mono 3.2.8/debian 8/64b) :

using 3 separated vm with 3 separated ips.

first, i am creating a single robust grid instance with fsassets :
1/ install a test grid with all services in single robust instance
2/ attach a simulator with one region
3/ connect a client and create a box then take the box.
everything is ok

then i am creating a separated robust grid instance :

robust.ini :
1/ comment assets service from [ServiceList]
2/ comment everything in [AssetService]
3/ add : AssetServerURI = "assets.tb.francogrid.org:8003 <http://assets.tb.francogrid.org:8003>" to [AssetService]
4/ start robust --> no errors

then i am creating a separated robust asset (still with fsassets) :

robust.ini :
1/ comment all the services except the assets
2/ configure fsassets the same way as a single robust instance
3/ start robust --> no errors

then i am trying to start the simulator changing only :
GridCommon.ini :
1/ set AssetServerURI = "assets.tb.francogrid.org:8003 <http://assets.tb.francogrid.org:8003>" to [AssetService]

and the simulator is stopping returning an error (see below).

notes :
- i have tested with or without hypergrid. --> same error
- i have tested with all the services enabled on the assets robust instance. --> same error - i am able to POST and GET assets to the assets robust instance using curl from the simulator vm and from outside (it looks like fsassets is working).

is it a bug or a configuration issue ?

here is the log :

14:58:28 - [WORLD MAP]: Storing map tile 2fa42696-08fd-4200-afb1-cdbc8a77d8ed for test1 14:58:28 - [ASSET CONNECTOR]: Unable to send asset 2fa42696-08fd-4200-afb1-cdbc8a77d8ed to asset server. Reason: assets.tb.francogrid.org:8003/assets/ <http://assets.tb.francogrid.org:8003/assets/> System.NotSupportedException: assets.tb.francogrid.org:8003/assets/ <http://assets.tb.francogrid.org:8003/assets/> at System.Net.WebRequest.GetCreator (System.String prefix) [0x00000] in <filename unknown>:0 at System.Net.WebRequest.Create (System.Uri requestUri) [0x00000] in <filename unknown>:0 at System.Net.WebRequest.Create (System.String requestUriString) [0x00000] in <filename unknown>:0 at OpenSim.Framework.SynchronousRestObjectRequester.MakeRequest[AssetBase,String] (System.String verb, System.String requestUrl, OpenSim.Framework.AssetBase obj, Int32 pTimeout, Int32 maxConnections, IServiceAuth auth) [0x00000] in <filename unknown>:0 at OpenSim.Framework.SynchronousRestObjectRequester.MakeRequest[AssetBase,String] (System.String verb, System.String requestUrl, OpenSim.Framework.AssetBase obj, Int32 pTimeout, IServiceAuth auth) [0x00000] in <filename unknown>:0 at OpenSim.Framework.SynchronousRestObjectRequester.MakeRequest[AssetBase,String] (System.String verb, System.String requestUrl, OpenSim.Framework.AssetBase obj, IServiceAuth auth) [0x00000] in <filename unknown>:0 at OpenSim.Services.Connectors.AssetServicesConnector.Store (OpenSim.Framework.AssetBase asset) [0x00000] in <filename unknown>:0

14:58:28 - [STARTUP]: Registration of region with grid failed, aborting startup due to assets.tb.francogrid.org:8003/assets/602da974-70b1-49b7-89c2-b31531bbcb1c <http://assets.tb.francogrid.org:8003/assets/602da974-70b1-49b7-89c2-b31531bbcb1c> at System.Net.WebRequest.GetCreator (System.String prefix) [0x00000] in <filename unknown>:0 at System.Net.WebRequest.Create (System.Uri requestUri) [0x00000] in <filename unknown>:0 at System.Net.WebRequest.Create (System.String requestUriString) [0x00000] in <filename unknown>:0 at OpenSim.Framework.SynchronousRestObjectRequester.MakeRequest[Int32,Boolean] (System.String verb, System.String requestUrl, Int32 obj, Int32 pTimeout, Int32 maxConnections, IServiceAuth auth) [0x00000] in <filename unknown>:0 at OpenSim.Framework.SynchronousRestObjectRequester.MakeRequest[Int32,Boolean] (System.String verb, System.String requestUrl, Int32 obj, Int32 pTimeout, IServiceAuth auth) [0x00000] in <filename unknown>:0 at OpenSim.Framework.SynchronousRestObjectRequester.MakeRequest[Int32,Boolean] (System.String verb, System.String requestUrl, Int32 obj, IServiceAuth auth) [0x00000] in <filename unknown>:0 at OpenSim.Services.Connectors.AssetServicesConnector.Delete (System.String id) [0x00000] in <filename unknown>:0 at OpenSim.Region.CoreModules.World.WorldMap.WorldMapModule.GenerateMaptile (System.Drawing.Bitmap mapbmp) [0x00000] in <filename unknown>:0 at OpenSim.Region.CoreModules.World.WorldMap.WorldMapModule.GenerateMaptile () [0x00000] in <filename unknown>:0 at OpenSim.Region.Framework.Scenes.Scene.RegenerateMaptile () [0x00000] in <filename unknown>:0 at OpenSim.Region.Framework.Scenes.Scene.RegisterRegionWithGrid () [0x00000] in <filename unknown>:0 at OpenSim.OpenSimBase.CreateRegion (OpenSim.Framework.RegionInfo regionInfo, Boolean portadd_flag, Boolean do_post_init, IScene& mscene) [0x00000] in <filename unknown>:0





_______________________________________________
Opensim-users mailing list
[email protected]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users

_______________________________________________
Opensim-users mailing list
[email protected]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users

Reply via email to