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

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

Author Topic: items command times out  (Read 2002 times)

0 Members and 1 Guest are viewing this topic.

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
items command times out
« on: May 30, 2009, 03:04:12 pm »
I just upgraded/replaced the code I was running from 0.5.5 to 6.3 and now the !items command times out and hangs the bot until it gets the timeout message.

This function worked in previous incarnations, and I have rummaged thru the code, but can't figure out where it is going wrong.

Code: [Select]
botname [2009-05-30 13:05:53]        [GROUP] [MSG]   [org channel] org_member: !Items Stalker

Warning: socket_connect(): unable to connect [110]: Connection timed out in /opt/home/bot/botname/main/14_Tools.php on line 166
botname [2009-05-30 13:09:02]        [GROUP] [MSG]   [org channel] org_member: !Online
botname [2009-05-30 13:09:02]        [GROUP] [MSG]   [org channel] botname: Connection timed out
botname [2009-05-30 13:09:02]        [GROUP] [MSG]   [org channel] botname: 1 members online in Guild. 1 Guests Online 1 characters in privategroup:: [link]click to view[/link]
« Last Edit: June 01, 2009, 03:25:17 am by Shelly »

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: items command times out (resolved)
« Reply #1 on: June 01, 2009, 04:17:52 am »
Resolved...

vhabot.net seems to have moved to an ip network that was previously a reserved network. 79.0.0.0/8 This was being blocked at our firewall, so not sure how it was working before.

Sometimes ya gotta look beyond the code ^_^

Offline Vhab

  • Contributor
  • *******
  • Posts: 180
  • Karma: +0/-0
    • VhaBot Forum
Re: items command times out
« Reply #2 on: June 01, 2009, 05:37:59 pm »
Makes me wonder why that range was blocked to begin with :)

But you're observations are right. The server used to be in 85.92.x and now is in 79.99.x.

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: items command times out
« Reply #3 on: June 03, 2009, 02:31:35 am »
Makes me wonder why that range was blocked to begin with :)

Hi Vhab,

The 79/8 was in a list published as bogon... in other words the IANA had not released it yet for use, so it was not considered a valid address range. To cut down on ip spoofing, many firewalls block these IANA Bogon addresses.

BTW... Vhab, Thanks for all you do for the bot admins! AND thanks to all those coders who come up with the nice modules.

Shelly

 

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


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


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


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 679
  • 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