Jump to content
  • 0

Failed to login to server problems


dango

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  03/18/19
  • Last Seen:  

Hello guys ! Hope you are doing well !

 

I know that a lot of post have been made about this problem and i have made a lot of research for this but without any solution.

 

i have made a virtual machine on ubuntu 18.04 ,  hosted by my computer at my home , and i have made a NAT configuration on my router for that the port are enable on this virtual machine.

 

I have also open the port with ufw and iptables on the virtual machine, and the server seems to respond when i made a connection on him.(telnet)

 

However it is for me impossible ( by settings my wan ip or my local ip ( 127.0.0.1) on the clientinfo.xml in my data folder) to connect on the server ! 

There is the state of my rathena server on my virtual machine before i'm trying to login

Capture1.PNG.2fa1788041f8806e07c0268eada9528c.PNG

 

 



 

 

 

 

 

 

 

 

Then i'm trying to login into my server with my client that i have made

 

Capture2.PNG.c5133f206debac0ee5eefaa7e9e6bdf1.PNG

Capture3.thumb.PNG.35b5ed056c87437d2626df39b71afb0c.PNG

 

and my server is responding by this when the connection error is appears 

 

Capture4.thumb.PNG.77b0423f2c29b60341558f8f356aee99.PNG

The last message is : "Closed connection from MY WAN IP"

 

So it seems that my client is able to communicate with my server but dont want to login.

 

My map and char conf are ok

 

char_conf.txt have  : login_ip:127.0.0.1 & char_ip : my wan ip

map_conf.txt have char_ip : 127.0.0.1 & map_ip : my wan ip

 

inter_conf is all the database log & password at local ip that is working well.

I have patched the server with the --packetver=20140305 ( this is the clientthat i'm using diffed with nemo with the readable data folder option)

Could it be a problem of missconfiguration in the client ? 

I'm not trying to log with the s1/p1 , i have changed it and i have made another acount(GM) which have group_id at 99 and id 2000000  in my database.

I hope that somone can give me a solution because i don't have anymore ideas or solution for this x)

Please help ?

Thanks for the future help.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  93
  • Reputation:   6
  • Joined:  12/10/11
  • Last Seen:  

Maybe you forgot to allow the ports of login, char and map servers? Or packet_obfuscation is enabled in server while disabled in client? Just a thought but I don't know the real answer. ?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  03/18/19
  • Last Seen:  

Hey ! The port are ok ^^ !  I have disabled the server's firewal for testing purpose xD.

 

The packet obfucation is enable on the server and not disabled on the client.

 

Capture5.PNG.d7c2122ea8910a6f874cd5c379559284.PNG

 

Maybe my upload speed is to low so i got a time out ? 

 

image.png.f8d3a17a1ef43b7fff3a48408e8ac0b0.png

 

i Have also this error on my phpmuadmin , i'm on mysql 5.7

 

image.thumb.png.37987d0a658db957632a4011acd107cf.png

Thank you for you reply ? 

 

 

Edited by dango
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  5
  • Reputation:   0
  • Joined:  05/24/14
  • Last Seen:  

you can check your firewall settings.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  03/18/19
  • Last Seen:  

Hello , i have checked it yesterday , and i was surprised to see that i can success the login part with my local ip adresse 192.168.x.x but not with 127.0.0.1 on the clientinfo.xml lol ! 

So i still can't access from my wan IP but i can through my local ip , any ideas ?

On 3/26/2019 at 11:03 PM, kaiyinglai said:

you can check your firewall settings.

I said before that my firewall was disabled ...

Edited by dango
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  5
  • Reputation:   0
  • Joined:  05/24/14
  • Last Seen:  

19 hours ago, dango said:

I said before that my firewall was disabled ...

check file with your Ragexe version ↓

rAthena\src\map\clif_packetdb.hpp

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  03/18/19
  • Last Seen:  

This is resolved, the problem was an error with my INTERNET PROVIDER SWITCH

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...