Official Community Forums
 
HomeHome  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  The Wiki  Website  github Project  

Share | 
 

 Client Connection Issues/Questions

View previous topic View next topic Go down 
AuthorMessage
Draxthis
Experienced Newbie
Experienced Newbie
avatar

Posts : 26
Join date : 2012-01-08
Location : US

PostSubject: Client Connection Issues/Questions   Thu 2 Jan - 14:39

Hello,
I searched through the forums and have managed to work my way through most of the steps to get a development environment up and running.  I was able to get the servers running and get a master server running.  However, I have been completely unsuccessful at getting the client to connect to the server.

The problem is I keep getting "the remote server returned an error: (404) Not Found."

I am running all the servers on a remote Linux server and am trying to connect the client from my laptop (Windows 7)

I have tried to hunt down every location where I would need to put my own URL, have stopped and restarted the servers but to no avail.

Here is what I got from the log file:
Code:
INFO  [2014-01-01 22:33:12,844] MultiverseClient     Client command line arguments: --master 192.228.99.89
INFO  [2014-01-01 22:33:12,856] MultiverseClient     Checking if restart required
ERROR [2014-01-01 22:33:13,239] Exception            Version determination failed: System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.WebClient.OpenRead(Uri address)
   at System.Net.WebClient.OpenRead(String address)
   at Multiverse.MultiverseClient.Patch(String updateUrl, String patcherUrl, String[] extraArgs, Boolean forceScan, Boolean exit_after_patch)
   at Multiverse.MultiverseClient.Main(String[] args)
ERROR [2014-01-01 22:33:13,242] Exception            Exited client due to exception: System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.WebClient.OpenRead(Uri address)
   at System.Net.WebClient.OpenRead(String address)
   at Multiverse.MultiverseClient.Patch(String updateUrl, String patcherUrl, String[] extraArgs, Boolean forceScan, Boolean exit_after_patch)
   at Multiverse.MultiverseClient.Main(String[] args)

I have tested my URLs and all resolve normally.
I am sure I am just missing something very simple somewhere but I have no idea where to look.
Any thoughts?  What other information would you need for insight?

Any help or even a clue would be very much appreciated.


Thanks,
Back to top Go down
http://www.LRTerrain.com
Draxthis
Experienced Newbie
Experienced Newbie
avatar

Posts : 26
Join date : 2012-01-08
Location : US

PostSubject: Re: Client Connection Issues/Questions   Mon 6 Jan - 11:16

Hello,
To update this, I have gotten a bit further but still not connecting.

I have resolved all of the 404 errors.  I used WireShark to trace my routing and found that I can connect to my custom Login Page.  However, once I click Login, nothing happens.

Checking the network traffic, once I click the Login button I do actually contact my Master server.  There is a burst of activity, then nothing.  The process just dies without an error.

Any thoughts?  Anything even remotely similar?  I have been solving these problems in obscure ways so any insight may help.


Thanks,
Back to top Go down
http://www.LRTerrain.com
Draxthis
Experienced Newbie
Experienced Newbie
avatar

Posts : 26
Join date : 2012-01-08
Location : US

PostSubject: Re: Client Connection Issues/Questions   Fri 10 Jan - 1:29

Hello All,
Another update for anyone experiencing similar issues:

Since I was able to connect to the server but then it died without anything in the logs, I did a little delving into the code and realized that the logging was off on the Login Server.  I reactivated this and saw I was actually getting a return code of "Invalid Password."  This was easy to fix, now that I had logging on.  As a note, the default was that it was off, I did not turn it off.

Now, I'm getting a JavaScript error because the JavaScript cannot get the "world_ID."  Looking at the page that was said to be having the error, I saw that the world ID could not be selected.  I updated the HTML to ensure the world ID was available but interestingly enough I hit my next hurdle.

When I go directly to the login page I get the correct html page, with the added code and world selection box.  However, when I get to the login page with the client, nothing has changed from before I added the extra code.  In fact, no changes I make to login.html appear to change on the client login page.  This leads me to believe they are pulling the page from two different places, even with the command line arguments.

BTW, some of the command line arguments in the WIKI are deprecated and show up as "extra arguments" in the logs.

I will keep everyone updated as this progresses but if anyone has any thoughts, I'm always open to suggestions.
Back to top Go down
http://www.LRTerrain.com
Draxthis
Experienced Newbie
Experienced Newbie
avatar

Posts : 26
Join date : 2012-01-08
Location : US

PostSubject: Re: Client Connection Issues/Questions   Thu 16 Jan - 8:46

Almost success...

As it turns out the problem stated in the previous post was me missing a key command in the JavaScript that was hiding the controls I placing on the screen. I found this by rewriting the HTML and JavaScript to see what was happening. It did not take long to find the issue. However, after correcting this issue the client still wasn't loading. Tracking down the next issue revealed that our Master Server was not starting correctly. Two short hours of back and forth with another developer on my team and we resolved the issues. All of the issues were slight tweaks to either the configuration file, the .py, or the .sh but nothing major.

Finally the Master Server was started. Re-ran the client, hit the next issue with invalid files in the repository so we recreated the manifest file and the client started fine but...

The client now gets to Character Creation, allows you to make a character but crashes upon clicking to enter the world. We are now going to work through this to see what comes up.

I realize I have not specified all of the issues we were having but in general we have not found any specific errors with the exception the Login.HTML page not loading a list of worlds, hiding the combo box and not allowing for the selection of the world you may have set up (watch for this one).

All of the issues we ran into with the Master Server were small configurations that were revealed by reading the error in the Log files. We found a path issue using MV_HOME in the Master Server properties file because the path was not evaluating correctly. This caused a file to not be found.

If we come across more, I will keep you informed. I will let everyone know when we have made a complete connection from at least two computers.


Thank you.
Back to top Go down
http://www.LRTerrain.com
AthlonJedi
Administrator
Administrator
avatar

Posts : 213
Join date : 2012-07-19
Location : Walkerton, Indiana

PostSubject: Re: Client Connection Issues/Questions   Sun 19 Jan - 6:06

You are probably having an issue with the repository ( open world editor or another tool, assign the default repo to where ever your sampleworld files are ) OR in your world file, there is no spawn marker for some reason, open world editor, place a marker where you want the toon to spawn and name it : Spawn , Save the world, build a new patch , then restart the servers and see if that helps.
Back to top Go down
Draxthis
Experienced Newbie
Experienced Newbie
avatar

Posts : 26
Join date : 2012-01-08
Location : US

PostSubject: Re: Client Connection Issues/Questions   Sun 19 Jan - 12:19

Thanks, I will try what you suggested.

Since posting this, we are actually having two issues. One computer is having the first is the one I posted above and we will try the world repository and spawn point checks. The other computers are not getting as far as the first. The other computers successfully download the updated assets but once we click 'OK' on the patcher screen we are getting "Index out of range" for parameter "index."

This occurs immediate after running a client??.py script. It might be that the repository suggestion you made may fix this too.

I will let you know.
Back to top Go down
http://www.LRTerrain.com
AthlonJedi
Administrator
Administrator
avatar

Posts : 213
Join date : 2012-07-19
Location : Walkerton, Indiana

PostSubject: Re: Client Connection Issues/Questions   Sun 19 Jan - 12:20

Ok , it might be related, let me know what ya get.
Back to top Go down
Draxthis
Experienced Newbie
Experienced Newbie
avatar

Posts : 26
Join date : 2012-01-08
Location : US

PostSubject: Re: Client Connection Issues/Questions   Tue 21 Jan - 13:51

Same issue...hmm

Here is the client log:

Code:
INFO  [2014-01-20 21:40:51,756] UiScripting          refAssembly.FullName: Multiverse.Serialization, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
DEBUG [2014-01-20 21:40:51,761] Client               Client.Startup: Finished loading UiScripting
DEBUG [2014-01-20 21:40:51,761] Client               Client.Startup: Loading Assemblies
DEBUG [2014-01-20 21:40:51,761] Client               Client.Startup: Finished loading Assemblies
INFO  [2014-01-20 21:40:51,763] UiScripting          Executing script file 'C:\Users\LR Hobbies Mobile\Documents\Multiverse World Browser\Worlds\sampleworld\Scripts\ClientInit.py'
INFO  [2014-01-20 21:40:51,943] UiScripting          Ran script file 'C:\Users\LR Hobbies Mobile\Documents\Multiverse World Browser\Worlds\sampleworld\Scripts\ClientInit.py' in module ''
ERROR [2014-01-20 21:40:51,955] Exception            Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
ERROR [2014-01-20 21:40:51,955] Exception            Exiting client due to exception: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at Multiverse.Base.Client.Configurate()
   at Multiverse.Base.Client.Setup()
   at Multiverse.Base.Client.Start()
   at Multiverse.MultiverseClient.Main(String[] args)
INFO  [2014-01-20 21:40:51,957] MultiverseClient     Exiting client
INFO  [2014-01-20 21:40:51,959] Client               Started call to Client.Dispose()

Thoughts? I'm still looking at it but just curious.
Back to top Go down
http://www.LRTerrain.com
AthlonJedi
Administrator
Administrator
avatar

Posts : 213
Join date : 2012-07-19
Location : Walkerton, Indiana

PostSubject: Re: Client Connection Issues/Questions   Wed 22 Jan - 8:27

Thats a odd one, never seen that , basicly its saying the vaiable "index" is not where it is suposed to be or something of that nature, Is this setup default or have you made changes to that file at all?
Back to top Go down
Draxthis
Experienced Newbie
Experienced Newbie
avatar

Posts : 26
Join date : 2012-01-08
Location : US

PostSubject: Re: Client Connection Issues/Questions   Wed 22 Jan - 10:56

I knew I was special...

No, I have not changed the set up file at all, I simply ran the MSI with the download; however, let me post here the command line arguments I am using in case I am overriding something I shouldn't.

Code:
c:\Program Files\Multiverse Software Foundation\Multiverse Client\bin\multiverseclient.exe --master 192.228.99.89 --login_url http://app.lrhobbies.com/multiverse/website/login/login.html --update_url http://app.lrhobbies.com/multiverse/website/update/ --no_client_update --config --log_level 0
pause

I am going to keep looking at it.
Back to top Go down
http://www.LRTerrain.com
Draxthis
Experienced Newbie
Experienced Newbie
avatar

Posts : 26
Join date : 2012-01-08
Location : US

PostSubject: Re: Client Connection Issues/Questions   Thu 6 Feb - 6:18

Ok, I am almost there. I resolved the the previous issue I was having. As it turns out, I needed to remove both the .net 4.5 framework and MS 2010 C++ distributables. Once I did that, I was able to connect to the character creation screen. I created a character but once I hit play, it dumps me to desktop.

I believe this issue is that the client is trying to connect to the wrong location. I posted the client issue from the exception log and it seems it is trying to connect to the "unbuntu89:5050" server. This is the local name of the server and this should be the IP address (I believe); however, I cannot seem to find where to make this change. I have already changed the properties file of the servers (although not the master server) to be IP addresses wherever I could. I will check the master server property file now but any additional help would be appreciated.


Code:
WARN  [2014-02-05 14:07:52,403] Exception            Exception connecting to rdp world server unbuntu89:5050 : System.Net.Sockets.SocketException: The requested name is valid, but no data of the requested type was found
  at System.Net.Dns.GetAddrInfo(String name)
  at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
  at System.Net.Dns.GetHostEntry(String hostNameOrAddress)
  at Multiverse.Network.NetworkHelper.GetIPv4Address(String hostname)
  at Multiverse.Network.NetworkHelper.RdpWorldConnect(String hostname, Int32 port)
WARN  [2014-02-05 14:07:54,956] Exception            Exception connecting to rdp world server unbuntu89:5050 : System.Net.Sockets.SocketException: The requested name is valid, but no data of the requested type was found
  at System.Net.Dns.GetAddrInfo(String name)
  at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
  at System.Net.Dns.GetHostEntry(String hostNameOrAddress)
  at Multiverse.Network.NetworkHelper.GetIPv4Address(String hostname)
  at Multiverse.Network.NetworkHelper.RdpWorldConnect(String hostname, Int32 port)
Back to top Go down
http://www.LRTerrain.com
Draxthis
Experienced Newbie
Experienced Newbie
avatar

Posts : 26
Join date : 2012-01-08
Location : US

PostSubject: Re: Client Connection Issues/Questions   Thu 6 Feb - 7:12

Back to top Go down
http://www.LRTerrain.com
AthlonJedi
Administrator
Administrator
avatar

Posts : 213
Join date : 2012-07-19
Location : Walkerton, Indiana

PostSubject: Re: Client Connection Issues/Questions   Fri 7 Feb - 3:55

Excellent, Glad to see you got it up and running.
Back to top Go down
Sponsored content




PostSubject: Re: Client Connection Issues/Questions   

Back to top Go down
 
Client Connection Issues/Questions
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» WoW connection issues and general questions
» Server Connection Issues
» Valkyrie Construction Issues
» Driver Hotswap to AI Questions
» Solved: log on netease servers with US client

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