can't connect client to running shard
Added by molleke over 8 years ago
I managed to get my shard up and running on ubuntu 10.04 (as far as I can tel). I can access the admin pages etc. However when I try to connect my client from a windows based system and e.g. create a new account I get error 60 can't send.
It looks like my server is not listning on the correct ip:port. Does anyone know which parameter is the listing address and port?
I change the fslistenhost but appearently that is not it. If it is then somethng is still wrong with my erver I guess.
Replies (11)
RE: can't connect client to running shard - Added by LittleWolf over 8 years ago
The client itself has a hard-coded parameter for the login server in
code\ryzom\client\src\http_client.cpp
bool CStartupHttpClient::connectToLogin()
{
return connect("your.address.here.com:40916");
}
CStartupHttpClient HttpClient;
Make sure you compile the client with that changed to the host/ip:port that your web server is looking for.
RE: can't connect client to running shard - Added by molleke over 8 years ago
as far as I understand I can also se the address the client is conecting to using the startuphos parameter. When I change this to op.ryzom.com it works fine.
The questions is where do I configure the address the server is listning to?
RE: can't connect client to running shard - Added by LittleWolf over 8 years ago
I wasn't able to use the startup paramter to force it to change, but then again, i haven't updated the client source in several days and recompiled.
The server itself should be the same host as your admin panel, just running on a different port (mine runs on http://<SERVERIP>:40916/ and the client hits http://<SERVERIP>:40916/login/r2_login.php to try to log in. See if you can manually hit that with a web browser and get an error response (for example: "0:Missing cmd (3002)" is the response i get). This is something specific to your apache config, and you're going to need to make sure that the 40916 apache config is pointed to the right folder ( code/ryzom/tools/server/www/ ).
RE: can't connect client to running shard - Added by molleke over 8 years ago
ok making progress here. Indeed I had a problem in apache. Tha tone is fixed. It tries to connect now. Even creates my username and password. Then I get game servers are currently closed or restricted. Please try again later (4010)
RE: can't connect client to running shard - Added by LittleWolf over 8 years ago
Usually it has to do with the login server disconnecting from sql and not auto-reconnecting - restarting the shards will usually fix it.
RE: can't connect client to running shard - Added by Speedz about 8 years ago
for 4010 also make sure you Copy admin_service.cfg to ryzom_admin_service.cfg.
I finally got mine running and was battling the 4010 till I realized I missed that.
Now all is good.
RE: can't connect client to running shard - Added by molleke about 8 years ago
Still I have issues connecting the client. It will find the server. Find the username and pwd. Then It will display "connecting". It ill never get past this and stay like this. No time out or erors. It wil just keep on generating logfiles with continuesly the following error:
2010/06/18 16:38:34 WRN 1af0 client_ryzom_r.exe sound_manager.cpp 1292 CSoundManager::update : Unknown light cycle state reached.
2010/06/18 16:38:34 WRN 1af0 client_ryzom_r.exe sound_manager.cpp 1325 CSoundManager::update : Updating unknown season.
2010/06/18 16:38:34 WRN 1af0 client_ryzom_r.exe sound_manager.cpp 1292 CSoundManager::update : Unknown light cycle state reached.
2010/06/18 16:38:34 WRN 1af0 client_ryzom_r.exe sound_manager.cpp 1325 CSoundManager::update : Updating unknown season.
I attached some of the client logs.
Any ideas? I'm a little lost now.
client.log (1 MB)
RE: can't connect client to running shard - Added by molleke about 8 years ago
Ok success finally.
I just started from scratch again. I can now succesfully connect and log onto my own server.
RE: can't connect client to running shard - Added by Priato about 8 years ago
Hello, I have the same last problem than you :
2010/06/18 16:38:34 WRN 1af0 client_ryzom_r.exe sound_manager.cpp 1292 CSoundManager::update : Unknown light cycle state reached. 2010/06/18 16:38:34 WRN 1af0 client_ryzom_r.exe sound_manager.cpp 1325 CSoundManager::update : Updating unknown season. 2010/06/18 16:38:34 WRN 1af0 client_ryzom_r.exe sound_manager.cpp 1292 CSoundManager::update : Unknown light cycle state reached. 2010/06/18 16:38:34 WRN 1af0 client_ryzom_r.exe sound_manager.cpp 1325 CSoundManager::update : Updating unknown season.
DO you know where come from the pb? What do you want to say "from scratch"?
My client connect to the server, there is "Connecting..." message with quit button, but no error in log (client and server side).
RE: can't connect client to running shard - Added by Demi about 8 years ago
Couple things that I did to get it working.
First the light and seasons will say unknown until you make initial connection since they are part of the server. Just ignor that.
If you modified FSHost = "your IP" at the very bottom of the client_default.cfg then the client will hang with Connecting.... Just comment it out.
The account creation address is listed in Network as CreateAccountURL = "" it is not needed just log in to the game and the server will auto create it then tell you to relog. I recommend you don't mess with the client code until you have the thing working this way.
example below.
//network
Application = { "ryzom_open", "./client_ryzom_r.exe", "./" };
BackgroundDownloader = 0;
PatchServer = "";
PatchWanted = 0;
SignUpURL = "";
StartupHost = "YOUR IP:40916";
StartupPage = "/login/r2_login.php";
InstallStatsUrl = "http://YOUR IP:50000/stats/stats.php";
CreateAccountURL = "";
InstallWebPage = "";
RE: can't connect client to running shard - Added by Priato about 8 years ago
Find my pb, it comes from my IP aliasing with FSListenHost in code/ryzom/server/frontend_service.cfg
I used an IP alias to be sure to have all the time the same IP@(due to my DHCP) and DNS name seems to not work... For other config files I can use IP aliases or DNS name, I don't understand why.
(1-11/11)