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: Warning: socket_read(): unable to read from socket  (Read 7964 times)

0 Members and 2 Guests are viewing this topic.

Offline Ebag333

  • Contributor
  • *******
  • Posts: 134
  • Karma: +0/-0
Warning: socket_read(): unable to read from socket
« on: May 07, 2007, 10:34:49 pm »
Quote
Warning: socket_read(): unable to read from socket
  • : An established connection was aborted by the software in your host machine. in C:\bots\orgbots\ccibot\Sources\AOChat.php on line 237

Read error: An established connection was aborted by the software in your host machine.

Every now and again I get this spammed many times in my console window until the bot disconnects.

I was using 0.3.3 and got it quite often.  I upgraded to 0.3.4 (from SVN) to see if that helped any...still getting it.

Anyone ever run into this before?

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Warning: socket_read(): unable to read from socket
« Reply #1 on: May 07, 2007, 11:53:27 pm »
Same bot logged in twice? They kick each other after connect then every time.

Offline Ebag333

  • Contributor
  • *******
  • Posts: 134
  • Karma: +0/-0
Re: Warning: socket_read(): unable to read from socket
« Reply #2 on: May 08, 2007, 01:32:09 am »
Nope.  Already checked that. :)

Offline Vhab

  • Contributor
  • *******
  • Posts: 180
  • Karma: +0/-0
    • VhaBot Forum
Re: Warning: socket_read(): unable to read from socket
« Reply #3 on: May 08, 2007, 09:24:00 am »
It's not completely uncommon for it to happen.
Networks aren't perfect so you could lose connection every now and then, and that's probebly what happened.
Slight disruption of the connection at some point and you get a bunch of errors stating the connection is gone.
Though, I admit it could be a bit more graceful about it :P

Offline Ebag333

  • Contributor
  • *******
  • Posts: 134
  • Karma: +0/-0
Re: Warning: socket_read(): unable to read from socket
« Reply #4 on: May 08, 2007, 10:07:53 pm »
Would be nice if it recognized that it'd lost the connection and reconnected automagically. :)

Seems it should be possible to catch if it got this error (or other similar disconnect ones) and throw it into the reconnect cycle.

The real problem is that once I hit this error, it'll flood the bot until eventually it does reconnect (I assume some sort of timeout?), but once it does that it'll infinatly cycle though getting this message, disconnects, and reconnects.
« Last Edit: May 08, 2007, 10:09:34 pm by Ebag333 »

 

* 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: 286
  • 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