collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: unable to read from socket [104] after AO server move.  (Read 6270 times)

0 Members and 1 Guest are viewing this topic.

Offline wirehead

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
unable to read from socket [104] after AO server move.
« 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?

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: unable to read from socket [104] after AO server move.
« Reply #1 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.

Offline wirehead

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: unable to read from socket [104] after AO server move.
« Reply #2 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.

Offline Tichy

  • BeBot User
  • **
  • Posts: 42
  • Karma: +0/-0
Re: unable to read from socket [104] after AO server move.
« Reply #3 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.

Offline wirehead

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: unable to read from socket [104] after AO server move.
« Reply #4 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 :)

Offline Nytridr

  • BeBot Expert
  • ****
  • Posts: 262
  • Karma: +0/-0
    • Rising Sun
Re: unable to read from socket [104] after AO server move.
« Reply #5 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.
« Last Edit: October 19, 2007, 05:37:44 pm by Nytridr »
Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)

Offline wirehead

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: unable to read from socket [104] after AO server move.
« Reply #6 on: October 21, 2007, 03:57:28 pm »
My bot always drop with the "line 250" error msg

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: unable to read from socket [104] after AO server move.
« Reply #7 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.

Offline Nytridr

  • BeBot Expert
  • ****
  • Posts: 262
  • Karma: +0/-0
    • Rising Sun
Re: unable to read from socket [104] after AO server move.
« Reply #8 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.
Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 169
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal