BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.4 support => Topic started by: wirehead on October 16, 2007, 10:23:59 pm

Title: unable to read from socket [104] after AO server move.
Post by: wirehead on October 16, 2007, 10:23:59 pm
Bot worked flawlesly before they moved the servers.
After the servers were moved i applyed the "quickfix" and ended up having the bot geting disconnected every 5ish mins.

Warning: socket_read(): unable to read from socket [104]: Connection reset by peer in /home/paal/ao-bots/combined/Sources/AOChat.php on line 250
Read error: Connection reset by peer
Combined [2007-10-16 20:00:13]  [CONN]  [ERROR] Bot has disconnected. Reconnecting in 60 seconds.

I then upgraded to  BeBot v0.4.2, but i keep geting the same thing there. Any ideas?
Title: Re: unable to read from socket [104] after AO server move.
Post by: Alreadythere on October 17, 2007, 02:51:27 pm
For some reasons your bot is losing connection to the chatservers.

Is any firewall or traffic shaper active? Maybe that breaks the connection.
Or are you logged in twice with the same character to the chatserver? The 2nd login will break the connection of the first.
Title: Re: unable to read from socket [104] after AO server move.
Post by: wirehead on October 17, 2007, 11:35:21 pm
I know iam not logged in twice or trying to login twice.
There is ofcourse some firewalls, but they havent been changed and it all worked nicely on the old ao chatservers.. so i think (and hope) its not them.
Title: Re: unable to read from socket [104] after AO server move.
Post by: Tichy on October 18, 2007, 10:20:50 am
With the new chatservers, fc limits the chatserver connections to 20 (?) from an IP address. Maybe you hit this limit? On the old servers there where no such limitation afaik.
Title: Re: unable to read from socket [104] after AO server move.
Post by: wirehead on October 18, 2007, 09:00:25 pm
With the new chatservers, fc limits the chatserver connections to 20 (?) from an IP address. Maybe you hit this limit?

Only 1 connection from server.

thnx for the tips so far :)
Title: Re: unable to read from socket [104] after AO server move.
Post by: Nytridr on October 19, 2007, 09:35:32 am
I  have noticed this is starting to happen with my bots also.. tonight I noticed the bots rebooting several times.  I was on about 8 hours tonight and noticed it rebooted about 13 or 14 times.. and nothing has changed on my end.  I am wondering if FC is changing things again. tomorrow I will go through and check everything here to make sure everything is fine, which I can already guess it is.  Was going to look at the log file but it is almost 300megs long.. I think I will just delete it and let it rebuild with recent errors..:)


Code: [Select]
[19-Oct-2007 02:38:13] PHP Warning:  Could not connect to the AO Chat server (chat.d1.funcom.com:7012): An existing connection was forcibly closed by the remote host.
 in C:\aobots\Bebot\Sources\AOChat.php on line 197

[19-Oct-2007 03:09:05] PHP Warning:  socket_connect(): unable to connect [0]: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
 in C:\aobots\Bebot\Sources\Bot.php on line 1333

Those where the only 2 errors in the php error log.  there were multiples of them but that was it.
Title: Re: unable to read from socket [104] after AO server move.
Post by: wirehead on October 21, 2007, 03:57:28 pm
My bot always drop with the "line 250" error msg
Title: Re: unable to read from socket [104] after AO server move.
Post by: Alreadythere on October 21, 2007, 04:34:52 pm
Outside of rare chat server problems on side of FC and when my internet went down I never had any unexplained disconnects from the FC server.

My guess would be some kind of network problems on your side, though that would be strange too.
Title: Re: unable to read from socket [104] after AO server move.
Post by: Nytridr on October 24, 2007, 09:00:02 am
Outside of rare chat server problems on side of FC and when my internet went down I never had any unexplained disconnects from the FC server.

My guess would be some kind of network problems on your side, though that would be strange too.

ya I am just wondering if between me and FC was having a problem.. even though I wasn't having a problem while in game.  kind of weird.  it only did it a few more days like that and then stopped for no reason.. the last couple days I have not noticed it at all.. so IDK.
SimplePortal 2.3.7 © 2008-2025, SimplePortal