Jump to content
  • 0

[Error] Cannot connect to login server.


Balmung

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  40
  • Reputation:   2
  • Joined:  11/08/12
  • Last Seen:  

[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
Link to comment
Share on other sites

10 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

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
Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   131
  • Joined:  11/10/12
  • Last Seen:  

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
Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  116
  • Reputation:   4
  • Joined:  01/11/12
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  4
  • Reputation:   0
  • Joined:  02/26/18
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  06/28/22
  • Last Seen:  

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

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.01
  • Content Count:  42
  • Reputation:   3
  • Joined:  04/11/22
  • Last Seen:  

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!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  40
  • Reputation:   2
  • Joined:  11/08/12
  • Last Seen:  

Yeah it's the same. Still won't work

Edited by Balmung
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  116
  • Reputation:   4
  • Joined:  01/11/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

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

Link to comment
Share on other sites

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.

×
×
  • Create New...