egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Eggdrop fails to connect to external urls

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
jsl
Voice


Joined: 01 Nov 2006
Posts: 12

PostPosted: Tue Oct 02, 2018 9:09 am    Post subject: Eggdrop fails to connect to external urls Reply with quote

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/master/urltitle.tcl ), like this:

Code:
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...?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber