Would you like to react to this message? Create an account in a few clicks or log in to continue.

Official Community Forums
 
HomeHome  SearchSearch  Latest imagesLatest images  RegisterRegister  Log in  The Wiki  Website  github Project  

 

 Local Login

Go down 
2 posters
AuthorMessage
awaredev
Experienced Newbie
Experienced Newbie
awaredev


Posts : 32
Join date : 2012-06-29
Location : Halifax, NS, Canada

Local Login Empty
PostSubject: Local Login   Local Login EmptySat 7 Jul - 15:24

Hi All-

Finally got my server running (there is 1 error in Instance, but still shows to be running).

I downloaded the MultiverseSetup.EXE and patched the client. Tried running the client with several different switches to bypass the Master servers and access sampleworld, but the client still seems to want to log into the master servers.

It shows the following message:

This is an entry for localhost. It simply returns 'localhost' as the proxy server...


What am I missing? I've tried
MultiverseClient.exe" --development --noupdate --world_settings_file world_settings1.xml
and tried
MultiverseClient.exe" --development --noupdate world localhost --world_settings_file world_settings1.xml

But am getting nowhere. Do I need to create a local account?

Thanks
Back to top Go down
awaredev
Experienced Newbie
Experienced Newbie
awaredev


Posts : 32
Join date : 2012-06-29
Location : Halifax, NS, Canada

Local Login Empty
PostSubject: Re: Local Login   Local Login EmptyTue 24 Jul - 11:06

Got the server running error free- but still can't get either of the clients to log into the local server. The client always asks for username and password, but will not connect
Back to top Go down
Delurin
Head of Platform Development
avatar


Posts : 424
Join date : 2011-08-03

Local Login Empty
PostSubject: Re: Local Login   Local Login EmptyFri 27 Jul - 7:35

Just to make sure you created a file world_settings1.xml in Multiverse World Browser/Config that specifies a world name, an account num, and has <server hostname="localhost" port="5040"/> ?
Back to top Go down
awaredev
Experienced Newbie
Experienced Newbie
awaredev


Posts : 32
Join date : 2012-06-29
Location : Halifax, NS, Canada

Local Login Empty
PostSubject: Re: Local Login   Local Login EmptyMon 30 Jul - 7:10

I have the world Settings file- It looks like a connection is starting, but the Proxy Engine shows this:

Code:
INFO  [2012-07-25 17:25:48,617] TcpAccept            ProxyPlugin: CONNECTION remote=TCP(/127.0.0.1:7859)
DEBUG [2012-07-25 17:25:48,878] StatusReporting      Engine.StatusReportingThread.run: count of status reporting plugins is 1
DEBUG [2012-07-25 17:25:48,878] StatusReporting      Engine.StatusReportingThread: 1 plugins, 0% CPU
DEBUG [2012-07-25 17:25:48,878] ClientIO            EventServer.parsebytes: id=825111854
ERROR [2012-07-25 17:25:48,878] ClientIO            found no event class for oid 30064771086, id 825111854
ERROR [2012-07-25 17:25:48,879] ClientIO            Event.parseBytes, dumping stack for thread ClientIO
      at multiverse.server.plugins.ProxyPlugin.processPacket(ProxyPlugin.java:784)
      at multiverse.server.network.ClientTCPMessageIO.handleMessageData(ClientTCPMessageIO.java:79)
      at multiverse.msgsys.MessageIO.addAgentData(MessageIO.java:272)
      at multiverse.msgsys.MessageIO.handleReadyChannel(MessageIO.java:226)
      at multiverse.msgsys.MessageIO.doMessageIO(MessageIO.java:150)
      at multiverse.msgsys.MessageIO.run(MessageIO.java:110)
      at java.lang.Thread.run(Unknown Source)
ERROR [2012-07-25 17:25:48,879] ClientIO            Engine: could not parse packet data, remote=TCP(/127.0.0.1:7859)

It looks like the proxy doesn't understand the client's connection request? Then replies in a way the client doesn't understand causing it to not instantiate the connection (or some other object) resulting in the client crash

Client log shows this:

Code:
WARN  [2012-07-29 17:08:17,027] Exception            Got an exception in world connect: System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
  at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
  at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
  --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
  at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
  at System.IO.BinaryReader.ReadInt32()
  at Multiverse.Network.IncomingMessage.ReadInt32()
  at Multiverse.Network.IncomingMessage.ReadBytes()
  at Multiverse.Network.WorldTcpMessageFactory.ReadMessage(IncomingMessage inMessage)
  at Multiverse.Network.NetworkHelper.GetCharacterEntries(String clientVersion)
  at Multiverse.Network.NetworkHelper.TcpWorldConnect(String hostname, Int32 port, String clientVersion)
  at Multiverse.Network.NetworkHelper.ConnectToLogin(String worldId, String clientVersion)
  at Multiverse.Base.Client.DoWorldConnect()
INFO  [2012-07-29 17:08:17,085] ClientAPI            WindowSize not initialized
ERROR [2012-07-29 17:08:17,215] Exception            Object reference not set to an instance of an object.
ERROR [2012-07-29 17:08:17,216] Exception            Exiting client due to exception: System.NullReferenceException: Object reference not set to an instance of an object.
  at Axiom.SceneManagers.Multiverse.TerrainManager.set_CameraLocation(Vector3 value)
  at Axiom.SceneManagers.Multiverse.TerrainManager.UpdateCamera(Camera camera)
  at Axiom.SceneManagers.Multiverse.SceneManager.UpdateSceneGraph(Camera cam)
  at Axiom.Core.SceneManager.RenderScene(Camera camera, Viewport viewport, Boolean showOverlays)
  at Axiom.Graphics.RenderTarget.Update()
  at Axiom.Graphics.RenderWindow.Update()
  at Axiom.RenderSystems.DirectX9.D3DRenderWindow.Update()
  at Axiom.Graphics.RenderSystem.UpdateAllRenderTargets()
  at Axiom.Core.Root.RenderOneFrame()
  at Axiom.Core.Root.StartRendering()
  at Multiverse.Base.Client.Start()
  at Multiverse.MultiverseClient.Main(String[] args)
INFO  [2012-07-29 17:08:17,217] MultiverseClient    Exiting client

Firewall was told to let the Client through, and I opened up the server ports. Even turned the firewall off (although as the Proxy saw the connection, I figured it wasn't the firewall anyway).

Any thoughts?

Thanks
Back to top Go down
awaredev
Experienced Newbie
Experienced Newbie
awaredev


Posts : 32
Join date : 2012-06-29
Location : Halifax, NS, Canada

Local Login Empty
PostSubject: Re: Local Login   Local Login EmptyThu 9 Aug - 5:18

Running Windows 7- I'm thinking that I may have not properly installed Bonjour for my platform and this could be causing the network communication breakdown?

Will try running the server from the command line BAT file and see if the client is able to communicate correctly.
Back to top Go down
awaredev
Experienced Newbie
Experienced Newbie
awaredev


Posts : 32
Join date : 2012-06-29
Location : Halifax, NS, Canada

Local Login Empty
PostSubject: Re: Local Login   Local Login EmptyWed 15 Aug - 9:48

Can't get the server running through Batch file- Cygwin works OK, BUT-

The Client crashes out with the following error:

Quote :
WARN [2012-08-14 19:39:10,830] Exception Got an exception in world connect: System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
at System.IO.BinaryReader.ReadInt32()
at Multiverse.Network.IncomingMessage.ReadInt32()
at Multiverse.Network.IncomingMessage.ReadBytes()
at Multiverse.Network.WorldTcpMessageFactory.ReadMessage(IncomingMessage inMessage)
at Multiverse.Network.NetworkHelper.GetCharacterEntries(String clientVersion)
at Multiverse.Network.NetworkHelper.TcpWorldConnect(String hostname, Int32 port, String clientVersion)
at Multiverse.Network.NetworkHelper.ConnectToLogin(String worldId, String clientVersion)
at Multiverse.Base.Client.DoWorldConnect()
ERROR [2012-08-14 19:39:11,481] Exception Object reference not set to an instance of an object.
ERROR [2012-08-14 19:39:11,482] Exception Exiting client due to exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Axiom.SceneManagers.Multiverse.TerrainManager.set_CameraLocation(Vector3 value)
at Axiom.SceneManagers.Multiverse.TerrainManager.UpdateCamera(Camera camera)
at Axiom.SceneManagers.Multiverse.SceneManager.UpdateSceneGraph(Camera cam)
at Axiom.Core.SceneManager.RenderScene(Camera camera, Viewport viewport, Boolean showOverlays)
at Axiom.Graphics.RenderTarget.Update()
at Axiom.Graphics.RenderWindow.Update()
at Axiom.RenderSystems.DirectX9.D3DRenderWindow.Update()
at Axiom.Graphics.RenderSystem.UpdateAllRenderTargets()
at Axiom.Core.Root.RenderOneFrame()
at Axiom.Core.Root.StartRendering()
at Multiverse.Base.Client.Start()
at Multiverse.MultiverseClient.Main(String[] args)





In Proxy.out I find this:

Quote :
INFO [2012-08-14 19:39:00,275] TcpAccept ProxyPlugin: CONNECTION remote=TCP(/127.0.0.1:22470)
DEBUG [2012-08-14 19:39:00,295] ClientIO EventServer.parsebytes: id=825111854
ERROR [2012-08-14 19:39:00,295] ClientIO found no event class for oid 30064771086, id 825111854
ERROR [2012-08-14 19:39:00,296] ClientIO Event.parseBytes, dumping stack for thread ClientIO
at multiverse.server.plugins.ProxyPlugin.processPacket(ProxyPlugin.java:784)
at multiverse.server.network.ClientTCPMessageIO.handleMessageData(ClientTCPMessageIO.java:79)
at multiverse.msgsys.MessageIO.addAgentData(MessageIO.java:272)
at multiverse.msgsys.MessageIO.handleReadyChannel(MessageIO.java:226)
at multiverse.msgsys.MessageIO.doMessageIO(MessageIO.java:150)
at multiverse.msgsys.MessageIO.run(MessageIO.java:110)
at java.lang.Thread.run(Unknown Source)
ERROR [2012-08-14 19:39:00,296] ClientIO Engine: could not parse packet data, remote=TCP(/127.0.0.1:22470)

Looks like I'm connecting, but that the server doesn't understand the client and so won't respond. Any insight?

Please?
Back to top Go down
Guest
Guest
avatar



Local Login Empty
PostSubject: My local login   Local Login EmptyWed 15 Aug - 11:10

I run it locally on WinXP with
multiverseclient.exe --development --noupdate

( I have also connected with: multiverseclient.exe --development --noupdate --world sampleworld )

AND when I connect locally I do NOT get the login page

That is connecting to local servers without running a master server.


In my WinXP C:\Documents and Settings\User\My Documents\Multiverse World Browser\Config
world_settings.xml
Code:
<client_config>
  <loopback_world_response world_id="sampleworld">
    <account id_number="1"/>
    <server hostname="localhost" port="5040"/>
    <patcher_url href="http://update.multiverse.net/patcher/world_patcher.html"/>
  <!-- <patcher_url href="C:\multiverse\website\update\patcher"/> -->
  <update_url href="http://update.multiverse.net/sampleworld/update/"/> 
  <!--  <update_url href="E:\Program Files\Multiverse Software Foundation\Multiverse Client\SampleAssets"/> -->
  <!-- my standalone Test -->
  <!-- <standalone script="Standalone.py"/>  -->
  </loopback_world_response>
</client_config>


I have run mine with the firewall and virus scanners on full steam and no problems. Normally tho I turn em off.

I have no idea re: Bonjour. I do have a recent Itunes installed however.

Haven't encountered your error yet. Can't be much help there.

Don't give up! cheers
Back to top Go down
awaredev
Experienced Newbie
Experienced Newbie
awaredev


Posts : 32
Join date : 2012-06-29
Location : Halifax, NS, Canada

Local Login Empty
PostSubject: Re: Local Login   Local Login EmptyWed 15 Aug - 11:28

Thanks for the reply-

Upon checking the port#, I thought maybe that was the issue, (I had it for 5050 which is the proxy server, not 5040, the Wmgr).

With the correct port, the Client errors with this:

Quote :
WARN [2012-08-14 21:27:35,283] Exception Got an exception in world connect: System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.__Error.EndOfFile()
at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
at System.IO.BinaryReader.ReadInt32()
at Multiverse.Network.IncomingMessage.ReadInt32()
at Multiverse.Network.IncomingMessage.ReadBytes()
at Multiverse.Network.WorldTcpMessageFactory.ReadMessage(IncomingMessage inMessage)
at Multiverse.Network.NetworkHelper.GetCharacterEntries(String clientVersion)
at Multiverse.Network.NetworkHelper.TcpWorldConnect(String hostname, Int32 port, String clientVersion)
at Multiverse.Network.NetworkHelper.ConnectToLogin(String worldId, String clientVersion)
at Multiverse.Base.Client.DoWorldConnect()
ERROR [2012-08-14 21:27:35,441] Exception Object reference not set to an instance of an object.
ERROR [2012-08-14 21:27:35,441] Exception Exiting client due to exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Axiom.SceneManagers.Multiverse.TerrainManager.set_CameraLocation(Vector3 value)
at Axiom.SceneManagers.Multiverse.TerrainManager.UpdateCamera(Camera camera)
at Axiom.SceneManagers.Multiverse.SceneManager.UpdateSceneGraph(Camera cam)
at Axiom.Core.SceneManager.RenderScene(Camera camera, Viewport viewport, Boolean showOverlays)
at Axiom.Graphics.RenderTarget.Update()
at Axiom.Graphics.RenderWindow.Update()
at Axiom.RenderSystems.DirectX9.D3DRenderWindow.Update()
at Axiom.Graphics.RenderSystem.UpdateAllRenderTargets()
at Axiom.Core.Root.RenderOneFrame()
at Axiom.Core.Root.StartRendering()
at Multiverse.Base.Client.Start()
at Multiverse.MultiverseClient.Main(String[] args)

And there are no client related errors in either Proxy or WorldManager. However- this seems odd- Shouldn't I be using the proxy port to connect the client to?
Back to top Go down
Guest
Guest
avatar



Local Login Empty
PostSubject: Not sure   Local Login EmptyWed 15 Aug - 13:34

afaik this is the world_settings_sample.xml that installs with the client and shows port 5040

<client_config>
<loopback_world_response world_id="sampleworld">
<account id_number="1"/>
<server hostname="localhost" port="5040"/>
<patcher_url href="http://update.multiverse.net/patcher/world_patcher.html"/>
<update_url href="http://update.multiverse.net/sampleworld/update/"/>
</loopback_world_response>
</client_config>


Not yet up to speed on exactly what Multiverse uses for each server.

My efforts were a combination of trial and error, googling, wiki searches and help from Shane. Very Happy
Back to top Go down
Guest
Guest
avatar



Local Login Empty
PostSubject: Not sure   Local Login EmptyWed 15 Aug - 14:02

All of these are just guesses at this point...


When I see "Object reference not set to an instance of an object." it means it's looking for something that's not there.

When I see it preceeded by "Unable to read beyond the end of the stream.", to me that means either
something is stopping it from reading or the file isn't readable. Maybe it's corrupted, don't know.

Make a copy of your current directory and swap in a fresh copy?

A fresh copy of sampleworld.mvw?

Did you make changes to any of the startup files multiverse.properties or startup_instance.py?
Asset repository set through the tools? Not sure about spaces in the paths to files.

At this point sometimes just swapping stuff fixes it
and then it becomes apparent who the culprit was.

Roll stuff back and make one change at a time is all I can suggest.


I'm using files from
server_20120322.zip
ClientSetup.msi from http://sourceforge.net/projects/multiverse3d/

Also with respect to start-multiverse.bat see this thread where Shane walked me through some mods
https://multiverse.forumotion.co.uk/t220-server-startup-failed-solved

The stock server startup files work for me with Shane's mods to start-multiverse.bat.






Back to top Go down
Guest
Guest
avatar



Local Login Empty
PostSubject: Also   Local Login EmptyWed 15 Aug - 14:18

I'm no science guru but I remember one of my professors
doing "knockout" studies with genes in his lab.

Basically he was just deactivating a gene and seeing what happened.

Not all that scientific but when you have no clue what something does it's a valid technique.

Try moving stuff, removing things, commenting things, run the client and see what the error message(s) are.

Change paths and see what you get. Move the asset repository somewhere else.

Poke it and see the response.

Might be surprised.

Cheers
Back to top Go down
awaredev
Experienced Newbie
Experienced Newbie
awaredev


Posts : 32
Join date : 2012-06-29
Location : Halifax, NS, Canada

Local Login Empty
PostSubject: Re: Local Login   Local Login EmptyWed 15 Aug - 22:32

I think I'll try a fresh install of the client and server, then make the necessary adjustments that I know get the server running. I tweaked a few too many things, one of which was swapping the ports for Proxy and Wmgr.

The "Unable to read beyond the end of the stream" is because I changed the client port to target the Wmgr- Wmgr doesn't talk to the client, so the client gets no acknowledgement that it's data was sent.

When I'm pointing to the proxy, the error is the earlier one, that no response was received back. It is paired with a CLIENTIO error on the proxy, which states that the OID (Object Identifier) sent in the client's message does not match a recognised OID to identify a process for handling the client message. The client is acknowledged, but gets no response (timeout).

In both cases, with no response data to convert into a server message object, we get the Null pointer exception (I think) because the client is trying to process a non-existent response.

Anyways- Hopefully starting over will give a successful attempt (So far, I get the splash screen-login screen is skipped- but the world never manifests itself).
Back to top Go down
awaredev
Experienced Newbie
Experienced Newbie
awaredev


Posts : 32
Join date : 2012-06-29
Location : Halifax, NS, Canada

Local Login Empty
PostSubject: Re: Local Login   Local Login EmptyFri 17 Aug - 13:09

Yep-

I had installed 2 versions of the client while trying to get the server to run. They buggered each other. Once I uninstalled and removed the leftover files then reinstalled the correct one, I could get it all working (except the NYC demo server- but that's a video card issue).

Now to try and get the MasterServer running Smile
Back to top Go down
Guest
Guest
avatar



Local Login Empty
PostSubject: Congratulations!   Local Login EmptySat 18 Aug - 3:07

Congratulations!

Good Job! Very Happy

Glad you got it working!
Back to top Go down
Sponsored content





Local Login Empty
PostSubject: Re: Local Login   Local Login Empty

Back to top Go down
 
Local Login
Back to top 
Page 1 of 1
 Similar topics
-
» Local Login Notes
» client startup and die
» Demo World Available - New York Times Square
» Login process
» Client Login Screen

Permissions in this forum:You cannot reply to topics in this forum
 :: Development :: Getting Started-
Jump to: