BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Anarchy Online Archive => BeBot 0.3 support => Topic started by: Ebag333 on May 07, 2007, 10:34:49 pm
-
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?
-
Same bot logged in twice? They kick each other after connect then every time.
-
Nope. Already checked that. :)
-
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
-
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.