Jump to content
  • 0

[Error] Cannot connect to login server.


Question

Posted
[Info]: Attempt to connect to login-server...
[Status]: Connecting to 127.0.0.1:6900
[Error]: Can not connect to login-server.
[Error]: The server communication passwords (default s1/p1) are probably invalid
.
[Error]: Also, please make sure your login db has the correct communication user
name/passwords and the gender of the account is S.
[Error]: The communication passwords are set in map_athena.conf and char_athena.
conf
[Warning]: Connection to Login Server lost.

 

 

So I get this error from charserv when I try to start up my server. All the passwords and usernames are correct in char_athena.conf, map_athena.conf, and the SQL database. Any ideas? Did I set up SQL wrong?

  • Upvote 1

10 answers to this question

Recommended Posts

  • 1
Posted

check sql. in "login". In "account_id" = 1.. username and password there must match username and password from map_athena.conf and char_athena.conf

  • MVP 1
  • 1
Posted

check if you set your server to use md5 passwords. if you are, convert your passwords in sql to md5 hashes. Or simply disable:

 

conf/login_athena.conf

// Store passwords as MD5 hashes instead of plaintext ?
// NOTE: Will not work with clients that use <passwordencrypt>
use_MD5_passwords: yes
  • Upvote 1
Posted

Hi balmung,

 

The issue is that the use of 's1'/'p1' is prohibited. You are required to change it for the emulator to start up properly.

 

Not really, I believe. It will still start up properly and just give you a message that using those username and password is not advisable or something like that.

Posted (edited)

You should check

 

trunk/conf/char_athena.conf

// Server Communication username and password.
userid: YouRO
passwd: mypassword

trunk/conf/map_athena.conf

 

// Server Communication username and password.
userid: YouRO
passwd: mypassword

 

then open your main.sql go to login table, put YouRO the same as your user_id  you put on char_athena and map_athena and same with the password 

 

then Apply.

Edited by Yoona
  • Upvote 1
Posted

I believe this thread has been answered. please mark this thread as answered by editing the first page.

 

if this thread hasn't been answered, then ignore this message

  • 0
Posted

Tengo el mismo error, pero  no se como solucionarlo. Ayuda please. Ya no sé que hacer, tened en cuenta que yo solo quiero ejecutar un servidor desde mi PC donde mis amigos puedan conectarse de forma local. Un saludo. Gracias.

I have the same error, but I do not know how to fix it. Help please. I do not know what to do anymore, keep in mind that I only want to run a server from my PC where my friends can connect locally. A greeting. Thank you.

error.jpg

  • 0
Posted

trunk\conf\import\login_conf.txt

and

trunk\conf\import-tmpl\login_conf.txt     (I don't know if it needs to be modified here or not, but for caution and ban)

 

// Store passwords as MD5 hashes instead of plain text?
// NOTE: Will not work with clients that use <passwordencrypt>
use_MD5_passwords: no<<<<make sure it's no

and in login_athena.conf

I was facing the problem like you, now I solved it even though the username and password are both correct in the files and also in sql

 

  • 0
Posted
On 10/20/2013 at 4:12 PM, LuLu said:

check sql. in "login". In "account_id" = 1.. username and password there must match username and password from map_athena.conf and char_athena.conf

This was my problem! I created a new user for s1/p1 instead of chaning userid and password...

After updating the new user to match "account_id" = 1 I was able to fix it! Thank you so much!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...