Virtual-Universe / Virtual-Universe-Release

Stable release repository for the Virtual Universe Open Source Project Arm. For bleeding edge development code please see the Virtual-Universe/Virtual-Dev or the Virtual-Universe/Virtual-Universe-Early-Dev repository. Please use this repository for production level grids.
https://virtual-planets.org
7 stars 6 forks source link

Region creation failor #4

Closed RyujinnJakka closed 8 years ago

RyujinnJakka commented 8 years ago

We could not find the estate service for this region. Please make sure that your URLs are correct in grid mode.

If you chose mainland or just estate no matter what this message appears. Ubuntu Server 15.04 64bit been trying to resolve this issue in configs with out having to touch code with no lead way.This same issue was in white-core. Using a single server instance. Will do further testing. If what i do must be done for all linux users then this is a fail. Setting up a grid on the user end shouldn't be so cumbersome.

further note autodetect ip. This is a fail. When server has and internal and external ip's for private networking it detects only the internal/private ip and not the external.

RyujinnJakka commented 8 years ago

Sep 24 01:40:26 - We could not find the estate service for this region. Please make sure that your URLs are correct in grid mode. Press enter to try again. []: Estate owner name (Gotei 13/User Name) [Gotei 13]: Sep 24 01:45:43 - [Estate]: The user, Gotei 13, has no estates currently. Do you want to 'park' the region with the system owner/estate? (yes/no) [yes]: Sep 24 01:46:04 - An error was encountered linking the region to 'Universe Estate'! Possibly a problem with the server connection, please link this region later. Sep 24 01:46:04 - [Backup Module]: Loading objects for Soul Society from FileBasedDatabase Sep 24 01:46:04 - [Backup Module]: Loaded 0 object(s) in Soul Society Sep 24 01:46:04 - [EVENT MANAGER]: Delegate for TriggerIncomingLandDataFromStorage failed - continuing. System.NullReferenceException: Object reference not set to an instance of an object at Universe.Modules.Land.ParcelManagementModule.ResetSimLandObjects () [0x00000] in :0 at Universe.Modules.Land.ParcelManagementModule.EventManagerOnIncomingLandDataFromStorage (System.Collections.Generic.List1 data, Vector2 parcelOffset) [0x00000] in <filename unknown>:0 at Universe.Framework.SceneInfo.EventManager.TriggerIncomingLandDataFromStorage (System.Collections.Generic.List1 landData, Vector2 parcelOffset) [0x00000] in :0 at Universe.Modules.Land.ParcelManagementModule.ResetSimLandObjects () [0x00000] in :0 at Universe.Modules.Land.ParcelManagementModule.EventManagerOnIncomingLandDataFromStorage (System.Collections.Generic.List1 data, Vector2 parcelOffset) [0x00000] in <filename unknown>:0 at Universe.Framework.SceneInfo.EventManager.TriggerIncomingLandDataFromStorage (System.Collections.Generic.List1 landData, Vector2 parcelOffset) [0x00000] in :0 Sep 24 01:46:04 - [Backup Module]: Starting scripts in Soul Society Sep 24 01:46:06 - [EVENT MANAGER]: Delegate for StartupComplete failed - continuing. System.NullReferenceException: Object reference not set to an instance of an object at Universe.Modules.GlobalEnvironment.SunModule.EventManager_OnStartupComplete (IScene scene, System.Collections.Generic.List1 data) [0x00000] in <filename unknown>:0 at Universe.Framework.SceneInfo.EventManager.TriggerStartupComplete (IScene scene, System.Collections.Generic.List1 StartupData) [0x00000] in :0 at Universe.Modules.GlobalEnvironment.SunModule.EventManager_OnStartupComplete (IScene scene, System.Collections.Generic.List1 data) [0x00000] in <filename unknown>:0 at Universe.Framework.SceneInfo.EventManager.TriggerStartupComplete (IScene scene, System.Collections.Generic.List1 StartupData) [0x00000] in :0 Sep 24 01:46:06 - [MapTileGenerator]: Generating Maptile for Soul Society, using WarpTileRenderer Sep 24 01:46:06 - [SceneManager]: Startup Complete. This took 6m 3.916s Sep 24 01:46:06 - [File Based Simulation Data]: Backing up Soul Society Sep 24 01:46:06 - [File Based Simulation Data]: Saved Backup for region Soul Society Sep 24 01:46:14 - [MapTileGenerator]: Maptile generation took 8588 ms

RyujinnJakka commented 8 years ago

when proceeding to login anyways after the formentioned we recive:

Sep 24 01:50:02 - [ConnectionBegin]: Region Soul Society authenticated and authorized incoming root agent 66a8faee-aa5d-4de9-917c-67734ab8b8dd (circuit code 1326450264) Sep 24 01:50:02 - [File Based Simulation Data]: Not saving backup, not required Sep 24 01:50:05 - [EVENT MANAGER]: Delegate for TriggerOnNewClient failed - continuing. System.NullReferenceException: Object reference not set to an instance of an object at Universe.Modules.Permissions.PermissionsModule.InternalIsAdministrator (UUID user, Boolean checkGodStatus) [0x00000] in :0 at Universe.Modules.Permissions.PermissionsModule.IsGod (UUID user, IScene scene) [0x00000] in :0 at Universe.Framework.SceneInfo.ScenePermissions+cAnonStorey1F.<>m0 (Universe.Framework.SceneInfo.IsGodHandler h) [0x00000] in :0 at System.Linq.Enumerable.All[IsGodHandler](IEnumerable1 source, System.Func2 predicate) [0x00000] in :0 at Universe.Framework.SceneInfo.ScenePermissions.IsGod (UUID user) [0x00000] in :0 at Universe.Modules.Estate.EstateManagementModule.sendRegionHandshake (IClientAPI remoteClient) [0x00000] in :0 at Universe.Modules.Estate.EstateManagementModule.EventManager_OnNewClient (IClientAPI client) [0x00000] in :0 at Universe.Framework.SceneInfo.EventManager.TriggerOnNewClient (IClientAPI client) [0x00000] in :0 at Universe.Modules.Permissions.PermissionsModule.InternalIsAdministrator (UUID user, Boolean checkGodStatus) [0x00000] in :0 at Universe.Modules.Permissions.PermissionsModule.IsGod (UUID user, IScene scene) [0x00000] in :0 at Universe.Framework.SceneInfo.ScenePermissions+cAnonStorey1F.<>m0 (Universe.Framework.SceneInfo.IsGodHandler h) [0x00000] in :0 at System.Linq.Enumerable.All[IsGodHandler](IEnumerable1 source, System.Func2 predicate) [0x00000] in :0 at Universe.Framework.SceneInfo.ScenePermissions.IsGod (UUID user) [0x00000] in :0 at Universe.Modules.Estate.EstateManagementModule.sendRegionHandshake (IClientAPI remoteClient) [0x00000] in :0 at Universe.Modules.Estate.EstateManagementModule.EventManager_OnNewClient (IClientAPI client) [0x00000] in :0 at Universe.Framework.SceneInfo.EventManager.TriggerOnNewClient (IClientAPI client) [0x00000] in :0 Sep 24 01:50:05 - [EVENT MANAGER]: Delegate for TriggerOnNewClient failed - continuing. System.NullReferenceException: Object reference not set to an instance of an object at Universe.Modules.Land.ParcelManagementModule.EventManagerOnNewClient (IClientAPI client) [0x00000] in :0 at Universe.Framework.SceneInfo.EventManager.TriggerOnNewClient (IClientAPI client) [0x00000] in :0 at Universe.Modules.Land.ParcelManagementModule.EventManagerOnNewClient (IClientAPI client) [0x00000] in :0 at Universe.Framework.SceneInfo.EventManager.TriggerOnNewClient (IClientAPI client) [0x00000] in :0 Sep 24 01:50:05 - [LLUDPSERVER]: Handling UseCircuitCode request from 104.187.92.41:58260 took 134ms Sep 24 01:50:05 - [LLCLIENTVIEW]: Caught exception while processing OpenMetaverse.Packets.CompleteAgentMovementPacket for Ryujin Jakka, Argument is out of range. Parameter name: index at Universe.Modules.Estate.EstateSettingsModule.OnAllowedIncomingTeleport (UUID userID, IScene scene, Vector3 Position, UInt32 TeleportFlags, OpenMetaverse.Vector3& newPosition, System.String& reason) [0x00000] in :0 at Universe.Framework.SceneInfo.ScenePermissions.AllowedIncomingTeleport (UUID userID, Vector3 Position, UInt32 TeleportFlags, OpenMetaverse.Vector3& newPosition, System.String& reason) [0x00000] in :0 at Universe.Region.ScenePresence.CompleteMovement (IClientAPI client) [0x00000] in :0 at Universe.ClientStack.LLClientView.HandleCompleteAgentMovement (IClientAPI sender, OpenMetaverse.Packets.Packet Pack) [0x00000] in :0 at Universe.ClientStack.LLClientView.ProcessSpecificPacketAsync (System.Object state) [0x00000] in :0 Sep 24 01:50:10 - [SyncMessagePoster]: Caught exception when attempting to post to http://188.166.84.195:9001/syncmessage/: System.NullReferenceException: Object reference not set to an instance of an object at Universe.Modules.Voice.GenericVoiceModule.syncRecievedService_OnMessageReceived (OpenMetaverse.StructuredData.OSDMap message) [0x00000] in :0 at Universe.Services.SyncMessageRecievedService+cAnonStorey0.<>m0 (Universe.Framework.Services.MessageReceived messagedelegate) [0x00000] in :0 at System.Linq.Enumerable+cIterator10`2[Universe.Framework.Services.MessageReceived,OpenMetaverse.StructuredData.OSDMap].MoveNext () [0x00000] in :0 at System.Linq.Enumerable+cIterator1E`1[OpenMetaverse.StructuredData.OSDMap].MoveNext () [0x00000] in :0 at Universe.Services.SyncMessageRecievedService.FireMessageReceived (OpenMetaverse.StructuredData.OSDMap message) [0x00000] in :0 at Universe.Services.SyncMessagePosterService.GetInternal (Boolean remote, System.String url, OpenMetaverse.StructuredData.OSDMap request) [0x00000] in :0

RyujinnJakka commented 8 years ago

After manually creating an estate with my user account and linking region:

ge failed - continuing. System.ArgumentNullException: Argument cannot be null. Parameter name: source at System.Linq.Check.SourceAndPredicate (System.Object source, System.Object predicate) [0x00000] in :0 at System.Linq.Enumerable.All[LandData](IEnumerable1 source, System.Func2 predicate) [0x00000] in :0 at Universe.Modules.Land.ParcelManagementModule.EventManagerOnIncomingLandDataFromStorage (System.Collections.Generic.List1 data, Vector2 parcelOffset) [0x00000] in <filename unknown>:0 at Universe.Framework.SceneInfo.EventManager.TriggerIncomingLandDataFromStorage (System.Collections.Generic.List1 landData, Vector2 parcelOffset) [0x00000] in :0 at System.Linq.Check.SourceAndPredicate (System.Object source, System.Object predicate) [0x00000] in :0 at System.Linq.Enumerable.All[LandData](IEnumerable1 source, System.Func2 predicate) [0x00000] in :0 at Universe.Modules.Land.ParcelManagementModule.EventManagerOnIncomingLandDataFromStorage (System.Collections.Generic.List1 data, Vector2 parcelOffset) [0x00000] in <filename unknown>:0 at Universe.Framework.SceneInfo.EventManager.TriggerIncomingLandDataFromStorage (System.Collections.Generic.List1 landData, Vector2 parcelOffset) [0x00000] in :0 Sep 24 01:54:15 - [Backup Module]: Starting scripts in Soul Society Sep 24 01:5

NoahStarfinder commented 8 years ago

I will have a look at this.

This looks like the Estate Connector isn't functioning correctly. Also if you could let us know if you are running in Standalone or Grid Mode, Are you running the servers on virtual machines, which database are you using i.e SQLite or MySQL (mariadb is equivelant to MySQL) this will be helpful.

Noah Starfinder Core Developer In-Galaxy Services & Features Developer Second Galaxy Development Team

emperorstarfinder commented 8 years ago

Interesting,

We haven't yet tested on Ubuntu 15.04 so there is the possibility your seeing things that aren't present with Ubuntu 14.04.3 LTS.

Autodetect IP - During configuration you are asked for the IP address i.e. HostName (or external ip) in both the Universe.Server.exe and Universe.exe. If you have split all the grid services up into seperate servers then you need to reflect those urls in Config/Grid/ServerConfiguration/GridSetup.ini.example (be sure to save this file as GridSetup.ini).

Estate Service - It should also be noted we have changed the estate service a bit as well. It no longer is part of the region services this is now handled through the grid services.

Noah you might want to test this on both Ubuntu 14.04.3 LTS and 15.04 to see if there is something going on that we aren't aware of. Also test it in Mono 4.0.3 which is the most current mono released by the mono-project.

greythane commented 8 years ago

The base code is tested on Mac OS X (BSD based), Windows & Linux (but I have not checked using the latest at this time) BTW: Using Mono 4.0.4 for the *nix verification

Some corrections to the estate services that were missed have been applied.

NoahStarfinder commented 8 years ago

Okay apparently he is using Ubuntu 15.04 I haven't tested it on that yet so still need to see whats going on with the IP detection though that shouldn't be an issue really if the initial configuration is done properly and configuration files are correct unless Ubuntu 15.04 has something going on we aren't aware of as I don't see an issue on Ubuntu 14.04.3 LTS

RyujinnJakka commented 8 years ago

ubuntu 15.04 server doing grid mode and using grid and region server on same server (normally never do) and using mysql for this testing eveything is localized on the same server.

Also I should mention on linuz we do not use zlib.net we use zlib and the build needs to be fixed to accommodate this will eliminate a plethora of warnings

NoahStarfinder commented 8 years ago

We are aware of the warnings and will clean them up over time. They don't actually break the build but rather are just giving us info on things that we need to deal with at some point. As for the Zlib.net.dll we use that as part of maintaining compatibility with WhiteCore. Also it should be noted that we are in the process of refining the code so alot of these warnings may get dealt with in the phase we are in at the moment. This is part of why we have not publicly released Version 1.0.1 yet.

The estate issue appears to be corrected as of last night. As for the external IP address issue it will auto detect the IP during configuration steps initially and will ask you for the url to the grid during the configuration process.

We will leave this issue open until you pull last nights commits and see if that works for you to eliminate the estate error messages. If it works please let us know so we can close this issue out.

Noah Starfinder Core Developer In-Galaxy Services & Features Developer Second Galaxy Development Team

RyujinnJakka commented 8 years ago

I just saw the commit. I will pull it now and rebuild and launch and update. As for addressing things at this stage im trying to approach the code as an end user not a developer. So I am doing everything i can to skip looking at any code and just passing notes until i have completed testing the system. I would also like to appoligise for the delay in my testing I had alot of things to clear off of my plate first.

As for the external ip that functions well but not when a server has both an internal and external network. the system detects the internal network and sets that as the ip for the system rather then the external. Maybe when more then one ip is found you are offered a choice to choose which ip should be used? Remember some servers have multiple external ip's as well its really down to how one sets up their server or with whom they are hosting it with.

RyujinnJakka commented 8 years ago

ok region creation went off with out a htich this time. Thanks to all who worked on the issue. Login was successful. but this came up after avatar factory.

Sep 25 10:18:51 - [Avatar Factory]: Handle initial appearance send for 90670ed6-6a50-4554-8548-26faec0e2150 root: # Missing method log4net.Config.BasicConfigurator::Configure(IAppender) in assembly /Universe/trunk/VirtualUniverse/bin/log4net.dll, referenced in assembly /Universe/trunk/VirtualUniverse/bin/OpenMetaverse.dll

avatar remains a cloud. will try to create a look and proceed from there.

NoahStarfinder commented 8 years ago

Actually the initial configuration at the end will ask you for the url to the grid server that is the address you must point your region server to in order to have it communicate with the grid server. In Universe.Server.ini under [Network] you can set the external IP same with Universe.ini but yes in Ubuntu it will detect the external IP as well. If it is not detecting the external IP on your machine that that is likely an issue on your actual machine. I would recommend you run in Ubuntu 14.04.3 as that is the stable Ubuntu version. You shouldn't ever run a production grid on a beta version of a operating system. Also be sure you are using Mono 4.0.x as it is the most current. This way you will avoid some issues.

Emperor will be putting documentation on the website this weekend that will help guide everyone in configurations as well.

Avatar appearance - Also here please open a new issue and provide further details on the error your getting including the full error message if this persists so we can have a look in case we have something going on.

I will close this particular issue so we don't get confused.

Noah Starfinder Core Developer In-Galaxy Services & Features Developer Second Galaxy Development Team