This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Eggdrop fails to connect to external urls

General support and discussion of Eggdrop bots.
Post Reply
j
jsl
Voice
Posts: 12
Joined: Wed Nov 01, 2006 9:38 pm

Eggdrop fails to connect to external urls

Post by jsl »

I have a tcl script that's supposed to fetch info (title) of links that are posted to channels. However recently it suddenly stopped working. When a link is posted at a channel, the bot tells me this (for example):

Connection to https://www.google.com failed

It seems that that error message is produced by the tcl script ( https://github.com/teeli/urltitle/blob/ ... ltitle.tcl ), like this:

Code: Select all

if {[catch {set http [Fetch $url -timeout $timeout]} results]} {
        putlog "Connection to $url failed"
So apparently it's timing out (it gives the message instantly when an url is posted at the channel). Same thing with both http and https links.

It worked fine for months, until this happened. I made no changes anywhere, it just suddenly started happening. I tried to restart the bot but it didn't fix it.

Could it be that the server admin has simply prevented the bot from connecting to url's in any way...?
Post Reply