error code 110 | r7945 | fRO

France

Moderator: Moderators

Message
Author
AnotherBotterOnFro
Noob
Noob
Posts: 2
Joined: 12 Feb 2012, 16:24
Noob?: Yes

error code 110 | r7945 | fRO

#1 Post by AnotherBotterOnFro »

When in a linux environment my bot won t connect. I was downloading from here (http://openkore.collectskin.com/) the openkore_ready.zip package. Worked fine on a windows box.

I uploaded the whole folder to a linux box with openkore basics set up as suggested here (http://www.openkore.com/index.php/How_to_run_OpenKore). I started it with "perl ./openkore" like I did with prior openkore versions on the same box.

After the first start it compiled some, then started loading tables and stuff. After that, it disconnected, with the error message below.

Connection error, duh. I pinged the server (62.23.1.52), got a positive response. I must have forgotten some tiny switch. Any suggestions?

Code: Select all

Connecting to Account Server...
Connecting (62.23.1.52:6900)... couldn't connect: Connection timed out (error code 110)
quit
Benchmark results saved to benchmark-results.txt
Exiting...
Bye!
*** OpenKore what-will-become-2.1 ( r7945 ) - Custom Ragnarok Online client ***
***   http://www.openkore.com/   ***

MiBo
Noob
Noob
Posts: 6
Joined: 04 Dec 2012, 07:15
Noob?: Yes

Re: error code 110 | r7945 | fRO

#2 Post by MiBo »

Same here now with actual downloaded SVN...
On windows it works like a charme, on linux it doesn't work.
IPTables has not a single rule.

I can also ping the server.

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: error code 110 | r7945 | fRO

#3 Post by EternalHarvest »

110 seems to be connection timeout.

MiBo
Noob
Noob
Posts: 6
Joined: 04 Dec 2012, 07:15
Noob?: Yes

Re: error code 110 | r7945 | fRO

#4 Post by MiBo »

Ya, I know, it is connection timeout.
However, I never used the server before, neither I know about fRO have FW rules to drop packets without any response directly. The thing is, why am I able to connect with the exact same config and stuff from another server. I just don't know why the RO server doesn't let me connect to it. It doesn't make any sense....

// Also tried to connect through a proxy (afaik, lol):

shell:/openkorebla# perl test.pl
Client Send: +-----+----------+---------+
Client Send: | ver | nmethods | methods |
Client Send: +-----+----------+---------+
Client Send: | 5 | 1 | 0 |
Client Send: +-----+----------+---------+

Client Recv: +-----+--------+
Client Recv: | ver | method |
Client Recv: +-----+--------+
Client Recv: | 5 | 0 |
Client Recv: +-----+--------+

Client Send: +-----+-----+-----+------+------+------------+---------+
Client Send: | ver | cmd | rsv | atyp | hlen | dstaddr | dstport |
Client Send: +-----+-----+-----+------+------+------------+---------+
Client Send: | 5 | 1 | 0 | 3 | 10 | 52.1.23.62 | 6900 |
Client Send: +-----+-----+-----+------+------+------------+---------+

ERROR in Socket Creation : Connection timed out
. at test.pl line 23.


here is the script:

Code: Select all

#!/usr/bin/perl
#test.pl
# wrap all connections
use IO::Socket::Socks::Wrapper ( # should be before any other `use'
        {
                ProxyAddr => '5.39.37.149',
                ProxyPort => 1080,
                SocksDebug => 1,
                Timeout => 10
        }
);


use IO::Socket::INET;

# flush after every write
$| = 1;

my ($socket,$client_socket);

# creating object interface of IO::Socket::INET modules which internally creates
# socket, binds and connects to the TCP server running on the specific port.
$socket = new IO::Socket::INET ( PeerHost => '52.1.23.62', PeerPort => '6900', Proto =>
'tcp', Timeout => 40 ) or die "ERROR in Socket Creation : $!\n.";
print ".TCP Connection Success.\n.";

MiBo
Noob
Noob
Posts: 6
Joined: 04 Dec 2012, 07:15
Noob?: Yes

Re: error code 110 | r7945 | fRO

#5 Post by MiBo »

Tried much, very very much. It's like fRO bans some dedicated server ip ranges....

Post Reply