Jump to content
  • 0

[Info]: Closed connection (IP)


Arii

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   1
  • Joined:  08/22/17
  • Last Seen:  

I'm trying to configure the server host (ports are already open) but when I try to login using the Ro client (2015-11-04) from my pc the login-server shows the following message:
     [Status]: Connection of the account "account" accepted.
     [Info]: "Closed connection from (IP)"

I'm using the public ip of the host in the files of the server and the client (clientinfo), according to other topics this problems is caused by a wrong configuration of the ip in the conf files/clientinfo but I really can't identify the problem. Can you guys help me identify what is causing the closed connection?

char_conf
     login_ip: public ip
     char_ip: public ip

map_conf
     char_ip: public ip
     map_ip: public ip

subnet_athena
    255.255.255.0: public ip : public ip

clientinfo
    <address> public ip </address>
    <version> 55 </version>

Note: The diff client didn't "Enable Proxy Support " so thats not causing the problem.
Note: Also tried disabling "PACKET_OBFUSCATION" on packets.h but didn't solved the problem.

Edited by Arii
  • Upvote 1
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1677
  • Reputation:   703
  • Joined:  12/21/14
  • Last Seen:  

char_conf
login_ip: 127.0.0.1
char_ip: public ip
map_conf
char_ip: 127.0.0.1
map_ip: public ip

Edited by sader1992
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   1
  • Joined:  08/22/17
  • Last Seen:  

The problem still the same. I enter the account and password, select the server (0 players) and appears the message "Failed to connect to server".
On the login-server of the server host:
[Status]: Request for connection of "account" (pc IP)
[Notice]: Authentication accepted (account: "account", id: 2000000, ip: (pc IP) )
[Status]: Connection of account "account" accepted.
[Info]: Closed connection from (pc IP).

Maybe it is missing to edit another file?

Edited by Arii
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  171
  • Reputation:   15
  • Joined:  01/26/12
  • Last Seen:  

@Arii ihad this same issue before and it was due to misconfiguration on packets.h  make sure your client date matches there and recompile.

Edited by sikiro
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   1
  • Joined:  08/22/17
  • Last Seen:  

I'm using client 2015-11-04 and the packet is defined fine (I think), but I will put the file here just in case. (btw, the server is pre-re)

// Copyright (c) rAthena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
#ifndef _CONFIG_PACKETS_H_
#define _CONFIG_PACKETS_H_

/**
 * rAthena configuration file (http://rathena.org)
 * For detailed guidance on these check http://rathena.org/wiki/SRC/config/
 **/

#ifndef PACKETVER
	#define PACKETVER 20151104
#endif

#ifndef PACKETVER_RE
	/// From this point on only kRO RE clients are supported
	#if PACKETVER > 20151104
		#define PACKETVER_RE
	#endif
#endif

#if PACKETVER >= 20110817
	/// Comment to disable the official packet obfuscation support.
	/// This requires PACKETVER 2011-08-17 or newer.
	#ifndef PACKET_OBFUSCATION
		#define PACKET_OBFUSCATION

		// Define these inside src/custom/defines_pre.h or src/custom/defines_post.h
		//#define PACKET_OBFUSCATION_KEY1 <key1>
		//#define PACKET_OBFUSCATION_KEY2 <key2>
		//#define PACKET_OBFUSCATION_KEY3 <key3>

		/// Comment this to disable warnings for missing client side encryption
		#define PACKET_OBFUSCATION_WARN
	#endif
#else
	#if defined(PACKET_OBFUSCATION)
		#error You enabled packet obfuscation for a version which is too old. Minimum supported client is 2011-08-17.
	#endif
#endif

#ifndef DUMP_UNKNOWN_PACKET
	//#define DUMP_UNKNOWN_PACKET
#endif

#ifndef DUMP_INVALID_PACKET
	//#define DUMP_INVALID_PACKET
#endif

/**
 * No settings past this point
 **/

/// Check if the specified packetversion supports the pincode system
#define PACKETVER_SUPPORTS_PINCODE PACKETVER >= 20110309

/// Check if the client needs delete_date as remaining time and not the actual delete_date (actually it was tested for clients since 2013)
#define PACKETVER_CHAR_DELETEDATE (PACKETVER > 20130000 && PACKETVER <= 20141022) || PACKETVER >= 20150513

/// Check if the specified packetvresion supports the cashshop sale system
#define PACKETVER_SUPPORTS_SALES PACKETVER >= 20131223

#endif // _CONFIG_PACKETS_H_

 

Edited by Arii
Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1677
  • Reputation:   703
  • Joined:  12/21/14
  • Last Seen:  

subnet: 255.0.0.0:127.0.0.1:127.0.0.1

with my first post is the fix

13 hours ago, sader1992 said:

char_conf
login_ip: 127.0.0.1
char_ip: public ip
map_conf
char_ip: 127.0.0.1
map_ip: public ip

 

otherwise i would tell you to re check them [again] i don't see any other thing may do this problem

Edited by sader1992
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...