I have been getting these also over the last month. It's strange, eggdrop will start up, and rss-synd will run fine for about an hour, maybe two. Then nothing, just these errors in the log file!luminoso wrote:i'm having this error 99% of the time to every feed that i have:
Code: Select all
[22:34] RSS HTTP Error: http://abandonados.info/?feed=rss2 (State: timeout) [22:34] RSS HTTP Error: http://feeds2.feedburner.com/720pMoviesRss (State: timeout) [22:34] RSS HTTP Error: http://pipes.yahoo.com/pipes/pipe.run?_id=04227f4f9c0fa081406cb5694821ae1a&_render=rss (State: timeout) [22:35] RSS HTTP Error: http://feeds2.feedburner.com/Canalfoto_novidades (State: timeout) [22:35] RSS HTTP Error: http://feeds2.feedburner.com/Canalfoto_news (State: timeout) [22:35] RSS HTTP Error: http://abandonados.info/?feed=comments-rss2 (State: timeout)
I am running this on Ubuntu 9.0.4.scotteh wrote:Have you tried uping the timeout? Out of interest what tcl & http package versions are you using?
Code: Select all
<Myeggdrop> [Slashdot] 2:03 - La emoción invade a Diego!!!!
<Myeggdrop> [Slashdot] 2:04 - Bien. Esto ha sido todo por nuestra parte. Veremos a Argentina en verano, en Sudáfrica. Y a ustedes les agradecemos la atención, les deseamos buena noche y hasta la próxima!
Code: Select all
package require http
set login [::http::formatQuery username rss_user password rss_password ]
set tok [::http::geturl http://domain.com/takelogin.php -query $login]
upvar \#0 $tok state
set cookies [list]
foreach {name value} $state(meta) {
if { $name eq "Set-Cookie" } {
lappend cookies [lindex [split $value {;}] 0]
}
}
::http::cleanup $tok
set tok2 [::http::geturl http://domain.com/rss.php -headers [list Cookie [join $cookies {;}]]]
.... here some code ...
::http::cleanup $tok2
woodsdog wrote:I am getting the exact same thing. even when connecting to a local hostluminoso wrote:i'm having this error 99% of the time to every feed that i have:
Code: Select all
[22:34] RSS HTTP Error: http://abandonados.info/?feed=rss2 (State: timeout) [22:34] RSS HTTP Error: http://feeds2.feedburner.com/720pMoviesRss (State: timeout) [22:34] RSS HTTP Error: http://pipes.yahoo.com/pipes/pipe.run?_id=04227f4f9c0fa081406cb5694821ae1a&_render=rss (State: timeout) [22:35] RSS HTTP Error: http://feeds2.feedburner.com/Canalfoto_novidades (State: timeout) [22:35] RSS HTTP Error: http://feeds2.feedburner.com/Canalfoto_news (State: timeout) [22:35] RSS HTTP Error: http://abandonados.info/?feed=comments-rss2 (State: timeout)
Anyone had any luck tackling this? I am running tcl v8.5.7 with build-in http.Code: Select all
09:02 <bugger> [09:02] RSS Syndication Script v0.5b1 (2007-12-17): Loaded. 09:02 <bugger> [09:02] Userfile loaded, unpacking... 09:04 <bugger> [09:04] RSS HTTP Error: http://127.0.0.1/bugzilla.xml (State: timeout) 09:07 <bugger> [09:07] RSS HTTP Error: http://127.0.0.1/bugzilla.xml (State: timeout) 09:11 <bugger> [09:11] RSS HTTP Error: http://127.0.0.1/bugzilla.xml (State: timeout) 09:15 <bugger> [09:15] RSS HTTP Error: http://127.0.0.1/bugzilla.xml (State: timeout) 09:18 <bugger> [09:18] RSS HTTP Error: http://127.0.0.1/bugzilla.xml (State: timeout) 09:21 <bugger> [09:21] RSS HTTP Error: http://127.0.0.1/bugzilla.xml (State: timeout) 09:24 <bugger> [09:24] RSS HTTP Error: http://127.0.0.1/bugzilla.xml (State: timeout) 09:27 <bugger> [09:27] RSS HTTP Error: http://127.0.0.1/bugzilla.xml (State: timeout)
it seems fixed after rebuilding dev-lang/tcl perl-core/PodParser perl-core/Test-Harness (gentoo linux)[/quote]Code: Select all
09:02 <bugger> [09:02] RSS Syndication Script v0.5b1 (2007-12-17): Loaded. 09:02 <bugger> [09:02] Userfile loaded, unpacking... 09:27 <bugger> [09:27] RSS HTTP Error: http://127.0.0.1/bugzilla.xml (State: timeout)
Code: Select all
Debug (eggdrop v1.6.19) written Wed Dec 9 19:54:17 2009
Full Patch List:
Tcl library: /usr/share/tcltk/tcl8.5
Tcl version: 8.5.3 (header version 8.5.3)
Tcl is threaded
Compile flags: gcc -pipe -g -O2 -g -Wall -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H
Link flags: gcc -pipe
Strip flags: touch
Context: tclhash.c/695, []
tclhash.c/680, []
tclhash.c/684, [Tcl proc: ::rss-synd::feed_get, param: $_time1 $_time2 $_time3 $_time4 $_time5]
tclhash.c/695, []
tclhash.c/680, []
tclhash.c/684, [Tcl proc: *raw:PING, param: $_raw1 $_raw2 $_raw3]
tclhash.c/695, []
tclhash.c/680, []
tclhash.c/684, [Tcl proc: <null>, param: $_raw1 $_raw2 $_raw3]
tclhash.c/695, []
tclhash.c/680, []
tclhash.c/684, [Tcl proc: ::tvrage::announceShows, param: $_time1 $_time2 $_time3 $_time4 $_time5]
tclhash.c/695, []
tclhash.c/680, []
tclhash.c/684, [Tcl proc: ::rss-synd::feed_get, param: $_time1 $_time2 $_time3 $_time4 $_time5]
tclhash.c/695 []
Compiled without extensive memory debugging (sorry).
Open sockets: 7 (listen), 9, 11, 10 (file), done.
x0x wrote:Really strange, even with 10000 as timeout I get output like;
\[Reuters\] Crews find more bodies from Air France crash - [maketiny ]
I changed the output to 60000 but same result. Only then I noticed the output comes (almost) straight away each time. Maybe something else is wrong about the code?
Code: Select all
set rss(Reuters) { "url" "http://feeds.reuters.com/reuters/topNews" "channels" "#chan" "database" "./scripts/feeds/reuters.db" "output" "\\\[\002Reuters\002\\\] @@item!title@@ - \[maketiny @@entry!link@@\]" "trigger" "!@@feedid@@" "evaluate-tcl" 1 "announce-output" 1 }
Code: Select all
proc tinyurl {url} {
if {[info exists url] && [string length $url]} {
if {[regexp {http://tinyurl\.com/\w+} $url]} {
set http [::http::geturl $url -timeout 9000]
upvar #0 $http state ; array set meta $state(meta)
::http::cleanup $http ; return $meta(Location)
} else {
set http [::http::geturl "http://tinyurl.com/create.php" \
-query [::http::formatQuery "url" $url] -timeout 9000]
set data [split [::http::data $http] \n] ; ::http::cleanup $http
for {set index [llength $data]} {$index >= 0} {incr index -1} {
if {[regexp {href="http://tinyurl\.com/\w+"} [lindex $data $index] url]} {
return [string map { {href=} "" " "" } $url]
}}}}
return ""
}
Code: Select all
#
# Misc Functions
##
Code: Select all
"output" "\\\[\002Iltalehti\002\\\] @@item!title@@ - \[tinyurl @@item!link@@\]"