spacer.png, 0 kB
  May 24, 2013, 22:32:37

 
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Cannot connect to SSL with 0.6.0  (Read 7169 times)
leolij

Posts: 8


View Profile
« on: January 27, 2009, 17:34:22 »

I installed URD version 0.6.0

Everything works great but when i try to connect with SSL even with a high timeout URD timesout.

Regards,

L.J. Olijrhook
Logged
leolij

Posts: 8


View Profile
« Reply #1 on: January 27, 2009, 19:25:27 »

Global configuration

array(71) {
  ["URD_version"]=>
  string(5) "0.6.0"
  ["admin_email"]=>
  string(20) "l.olyrhook@hccnet.nl"
  ["auto_expire"]=>
  string(1) "1"
  ["auto_reg"]=>
  string(1) "0"
  ["cksfv_path"]=>
  string(0) ""
  ["default_expire_time"]=>
  string(1) "5"
  ["default_language"]=>
  string(14) "nederlands.php"
  ["default_template"]=>
  string(7) "default"
  ["dir_cd"]=>
  string(0) ""
  ["dlpath"]=>
  string(22) "/mnt/Elements/urd/urd/"
  ["forumpassword"]=>
  string(6) "xxxxxx"
  ["forumusername"]=>
  string(0) ""
  ["global_hidden_files_list"]=>
  string(2) "  "
  ["global_hiddenfiles"]=>
  string(1) "0"
  ["group"]=>
  string(5) "users"
  ["index_page_root"]=>
  string(9) "transfers"
  ["log_level"]=>
  string(1) "6"
  ["maxbuttons"]=>
  string(2) "10"
  ["maxdl"]=>
  string(3) "400"
  ["maxfilesize"]=>
  string(1) "0"
  ["maxul"]=>
  string(3) "100"
  ["nntp_maxthreads"]=>
  string(1) "6"
  ["period_cd"]=>
  string(1) "0"
  ["period_cdb"]=>
  string(1) "0"
  ["period_getinfo"]=>
  string(1) "0"
  ["period_ng"]=>
  string(1) "0"
  ["period_opt"]=>
  string(1) "0"
  ["period_sendinfo"]=>
  string(1) "0"
  ["period_update"]=>
  string(1) "8"
  ["permissions"]=>
  string(4) "0666"
  ["preferred_server"]=>
  string(2) "14"
  ["register"]=>
  string(1) "0"
  ["run_update"]=>
  string(1) "0"
  ["scheduler"]=>
  string(2) "on"
  ["sendmail"]=>
  string(1) "0"
  ["shaping"]=>
  string(1) "0"
  ["socket_timeout"]=>
  string(3) "120"
  ["tar_path"]=>
  string(Cool "/bin/tar"
  ["time1_cd"]=>
  string(0) ""
  ["time1_cdb"]=>
  string(0) ""
  ["time1_getinfo"]=>
  string(0) ""
  ["time1_ng"]=>
  string(0) ""
  ["time1_opt"]=>
  string(0) ""
  ["time1_sendinfo"]=>
  string(0) ""
  ["time1_update"]=>
  string(2) "12"
  ["time2_cd"]=>
  string(0) ""
  ["time2_cdb"]=>
  string(0) ""
  ["time2_getinfo"]=>
  string(0) ""
  ["time2_ng"]=>
  string(0) ""
  ["time2_opt"]=>
  string(0) ""
  ["time2_sendinfo"]=>
  string(0) ""
  ["time2_update"]=>
  string(1) "0"
  ["trickle_path"]=>
  string(16) "/usr/bin/trickle"
  ["un7zr_path"]=>
  string(12) "/usr/bin/7za"
  ["unace_path"]=>
  string(14) "/usr/bin/unace"
  ["unarj_path"]=>
  string(12) "/usr/bin/arj"
  ["unpar_path"]=>
  string(13) "/usr/bin/par2"
  ["unrar_path"]=>
  string(12) "/usr/bin/rar"
  ["unzip_path"]=>
  string(14) "/usr/bin/unzip"
  ["update_text"]=>
  string(38) "You should update as soon as possible!"
  ["update_type"]=>
  string(1) "8"
  ["update_version"]=>
  string(5) "0.6.0"
  ["urdd_host"]=>
  string(9) "localhost"
  ["urdd_maxthreads"]=>
  string(1) "7"
  ["urdd_path"]=>
  string(21) "/var/www/test/urdd.sh"
  ["urdd_port"]=>
  string(5) "11666"
  ["urdd_restart"]=>
  string(1) "1"
  ["url"]=>
  string(25) "http://10.100.100.2/test/"
  ["usenet_server"]=>
  string(0) ""
  ["webdownload"]=>
  string(1) "0"
  ["yydecode_path"]=>
  string(17) "/usr/bin/yydecode"
}

Session info

array(7) {
  ["urd_period"]=>
  NULL
  ["urd_pass"]=>
  string(32) "d429dd16b78e63180143433e3beb43e4"
  ["urd_username"]=>
  string(6) "leolij"
  ["last_login"]=>
  string(10) "1233069824"
  ["last_active"]=>
  int(1233076959)
  ["challenge"]=>
  string(16) "bzkFPRFMmpJQc88j"
  ["challenge_timeout"]=>
  int(1233078760)
}

User preferences

array(26) {
  ["button1"]=>
  string(4) "none"
  ["button10"]=>
  string(4) "none"
  ["button2"]=>
  string(4) "none"
  ["button3"]=>
  string(4) "none"
  ["button4"]=>
  string(4) "none"
  ["button5"]=>
  string(4) "none"
  ["button6"]=>
  string(4) "none"
  ["button7"]=>
  string(4) "none"
  ["button8"]=>
  string(4) "none"
  ["button9"]=>
  string(4) "none"
  ["defaultsort"]=>
  string(9) "Date DESC"
  ["delete_files"]=>
  string(1) "1"
  ["hidden_files_list"]=>
  string(0) ""
  ["hiddenfiles"]=>
  string(1) "0"
  ["index_page"]=>
  string(9) "transfers"
  ["language"]=>
  string(14) "nederlands.php"
  ["mail_user"]=>
  string(1) "0"
  ["maxsetname"]=>
  string(2) "80"
  ["minngsize"]=>
  string(1) "1"
  ["minsetsize"]=>
  string(1) "0"
  ["search_terms"]=>
  string(0) ""
  ["setcompleteness"]=>
  string(1) "0"
  ["setsperpage"]=>
  string(3) "100"
  ["template"]=>
  string(7) "default"
  ["unpar"]=>
  string(1) "1"
  ["unrar"]=>
  string(1) "1"
}

URDD Status

array(5) {
 
  • =>
  string(22) "Uptime: 0 days 0:32:22"
  [1]=>
  string(9) "Queued: 0"
  [2]=>
  string(10) "Running: 3"
  [3]=>
  string(13) "Scheduled: 18"
  [4]=>
  string(Cool "Users: 1"
}

URDD settings

array(19) {
 
  • =>
  string(17) "urdd_port : 11666"
  [1]=>
  string(28) "urdd_listen_host : 127.0.0.1"
  [2]=>
  string(23) "urdd_listen_host6 : ::1"
  [3]=>
  string(28) "urdd_logfile : /tmp/urdd.log"
  [4]=>
  string(32) "urdweb_logfile : /tmp/urdweb.log"
  [5]=>
  string(22) "urdd_log : file|stderr"
  [6]=>
  string(21) "urdd_min_loglevel : 6"
  [7]=>
  string(22) "urdd_need_auth : FALSE"
  [8]=>
  string(21) "urdd_daemonise : TRUE"
  [9]=>
  string(22) "urdd_debug_level : 255"
  [10]=>
  string(17) "urdd_timeout : 30"
  [11]=>
  string(23) "urdd_queue_size : 20000"
  [12]=>
  string(14) "maxmsgs : 2000"
  [13]=>
  string(14) "urdd_uid : urd"
  [14]=>
  string(14) "urdd_gid : urd"
  [15]=>
  string(23) "group_filter : alt.bin*"
  [16]=>
  string(16) "scheduler : TRUE"
  [17]=>
  string(24) "log_file : /tmp/urdd.log"
  [18]=>
  string(19) "urdd_restart : TRUE"
}

URDD version

array(1) {
 
  • =>
  string(12) "0.6.0 (beta)"
}

URDD jobs, queue, threads, users

array(41) {
 
  • =>
  string(Cool "Threads:"
  [1]=>
  string(88) " #1.  id:1 pid:17648 u:leolij s:14 cmd:UPDATE 12 active qt:1940.4819901 st:1940.29162002"
  [2]=>
  string(89) " #2.  id:2 pid:17653 u:leolij s:14 cmd:UPDATE 10 active qt:1940.47293687 st:1938.61869597"
  [3]=>
  string(90) " #3.  id:63 pid:18645 u:leolij s:14 cmd:UPDATE 99 active qt:1374.11449409 st:1321.42252994"
  [4]=>
  string(6) "Queue:"
  [5]=>
  string(5) "Jobs:"
  [6]=>
  string(81) " #1.  @ 01/31/09 12:00:00 (repeat every 604800 sec) 3 u:leolij cmd:CHECK_VERSION "
  [7]=>
  string(76) " #2.  @ 01/28/09 09:00:00 (repeat every 86400 sec) 22 u:leolij cmd:UPDATE 10"
  [8]=>
  string(76) " #3.  @ 01/28/09 09:00:00 (repeat every 86400 sec) 34 u:leolij cmd:UPDATE 12"
  [9]=>
  string(78) " #4.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 41 u:leolij cmd:UPDATE 1842"
  [10]=>
  string(78) " #5.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 44 u:leolij cmd:UPDATE 2352"
  [11]=>
  string(78) " #6.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 47 u:leolij cmd:UPDATE 2094"
  [12]=>
  string(78) " #7.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 50 u:leolij cmd:UPDATE 1876"
  [13]=>
  string(78) " #8.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 53 u:leolij cmd:UPDATE 1839"
  [14]=>
  string(78) " #9.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 56 u:leolij cmd:UPDATE 2002"
  [15]=>
  string(79) " #10.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 59 u:leolij cmd:UPDATE 2611"
  [16]=>
  string(77) " #11.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 62 u:leolij cmd:UPDATE 17"
  [17]=>
  string(77) " #12.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 65 u:leolij cmd:UPDATE 99"
  [18]=>
  string(77) " #13.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 68 u:leolij cmd:UPDATE 34"
  [19]=>
  string(79) " #14.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 71 u:leolij cmd:UPDATE 3642"
  [20]=>
  string(77) " #15.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 74 u:leolij cmd:UPDATE 63"
  [21]=>
  string(79) " #16.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 77 u:leolij cmd:UPDATE 1915"
  [22]=>
  string(79) " #17.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 80 u:leolij cmd:UPDATE 8077"
  [23]=>
  string(77) " #18.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 83 u:leolij cmd:UPDATE 50"
  [24]=>
  string(6) "Users:"
  [25]=>
  string(12) " #1.  leolij"
  [26]=>
  string(Cool "Servers:"
  [27]=>
  string(58) " #1. id: 1   h:reader.download2day.nl:119 p:0 max:6 free:6"
  [28]=>
  string(53) " #2. id: 2   h:news.easynews.com:119 p:0 max:4 free:4"
  [29]=>
  string(54) " #3. id: 3   h:news.ipv6.eweka.nl:119 p:0 max:8 free:8"
  [30]=>
  string(55) " #4. id: 4   h:news.giganews.com:119 p:0 max:10 free:10"
  [31]=>
  string(62) " #5. id: 5   h:news-europe.giganews.com:119 p:0 max:10 free:10"
  [32]=>
  string(51) " #6. id: 6   h:news.hitnews.eu:119 p:0 max:4 free:4"
  [33]=>
  string(51) " #7. id: 7   h:news.hitnews.eu:563 p:0 max:4 free:4"
  [34]=>
  string(51) " #8. id: 8   h:news.itgate.net:119 p:0 max:4 free:4"
  [35]=>
  string(55) " #9. id: 9   h:news.us.ngroups.net:119 p:0 max:3 free:3"
  [36]=>
  string(57) " #10. id: 10   h:newszilla.xs4all.nl:119 p:0 max:3 free:3"
  [37]=>
  string(58) " #11. id: 11   h:newszilla6.xs4all.nl:119 p:0 max:3 free:3"
  [38]=>
  string(59) " #12. id: 12   h:reader.ipv6.xsnews.nl:119 p:0 max:4 free:4"
  [39]=>
  string(54) " #13. id: 13   h:news.yabnews.com:119 p:0 max:4 free:4"
  [40]=>
  string(53) " #14. id: 14 * h:news.4usenet.nl:119 p:1 max:6 free:3"
}
Logged
leolij

Posts: 8


View Profile
« Reply #2 on: January 27, 2009, 19:41:08 »

Correct data last post did not have the right data

Global configuration

array(71) {
  ["URD_version"]=>
  string(5) "0.6.0"
  ["admin_email"]=>
  string(20) "l.olyrhook@hccnet.nl"
  ["auto_expire"]=>
  string(1) "1"
  ["auto_reg"]=>
  string(1) "0"
  ["cksfv_path"]=>
  string(0) ""
  ["default_expire_time"]=>
  string(1) "5"
  ["default_language"]=>
  string(14) "nederlands.php"
  ["default_template"]=>
  string(7) "default"
  ["dir_cd"]=>
  string(0) ""
  ["dlpath"]=>
  string(22) "/mnt/Elements/urd/urd/"
  ["forumpassword"]=>
  string(6) "xxxxxx"
  ["forumusername"]=>
  string(0) ""
  ["global_hidden_files_list"]=>
  string(2) "  "
  ["global_hiddenfiles"]=>
  string(1) "0"
  ["group"]=>
  string(5) "users"
  ["index_page_root"]=>
  string(9) "transfers"
  ["log_level"]=>
  string(1) "6"
  ["maxbuttons"]=>
  string(2) "10"
  ["maxdl"]=>
  string(3) "400"
  ["maxfilesize"]=>
  string(1) "0"
  ["maxul"]=>
  string(3) "100"
  ["nntp_maxthreads"]=>
  string(1) "6"
  ["period_cd"]=>
  string(1) "0"
  ["period_cdb"]=>
  string(1) "0"
  ["period_getinfo"]=>
  string(1) "0"
  ["period_ng"]=>
  string(1) "0"
  ["period_opt"]=>
  string(1) "0"
  ["period_sendinfo"]=>
  string(1) "0"
  ["period_update"]=>
  string(1) "8"
  ["permissions"]=>
  string(4) "0666"
  ["preferred_server"]=>
  string(2) "14"
  ["register"]=>
  string(1) "0"
  ["run_update"]=>
  string(1) "0"
  ["scheduler"]=>
  string(2) "on"
  ["sendmail"]=>
  string(1) "0"
  ["shaping"]=>
  string(1) "0"
  ["socket_timeout"]=>
  string(3) "120"
  ["tar_path"]=>
  string(Cool "/bin/tar"
  ["time1_cd"]=>
  string(0) ""
  ["time1_cdb"]=>
  string(0) ""
  ["time1_getinfo"]=>
  string(0) ""
  ["time1_ng"]=>
  string(0) ""
  ["time1_opt"]=>
  string(0) ""
  ["time1_sendinfo"]=>
  string(0) ""
  ["time1_update"]=>
  string(2) "12"
  ["time2_cd"]=>
  string(0) ""
  ["time2_cdb"]=>
  string(0) ""
  ["time2_getinfo"]=>
  string(0) ""
  ["time2_ng"]=>
  string(0) ""
  ["time2_opt"]=>
  string(0) ""
  ["time2_sendinfo"]=>
  string(0) ""
  ["time2_update"]=>
  string(1) "0"
  ["trickle_path"]=>
  string(16) "/usr/bin/trickle"
  ["un7zr_path"]=>
  string(12) "/usr/bin/7za"
  ["unace_path"]=>
  string(14) "/usr/bin/unace"
  ["unarj_path"]=>
  string(12) "/usr/bin/arj"
  ["unpar_path"]=>
  string(13) "/usr/bin/par2"
  ["unrar_path"]=>
  string(12) "/usr/bin/rar"
  ["unzip_path"]=>
  string(14) "/usr/bin/unzip"
  ["update_text"]=>
  string(38) "You should update as soon as possible!"
  ["update_type"]=>
  string(1) "8"
  ["update_version"]=>
  string(5) "0.6.0"
  ["urdd_host"]=>
  string(9) "localhost"
  ["urdd_maxthreads"]=>
  string(1) "7"
  ["urdd_path"]=>
  string(21) "/var/www/test/urdd.sh"
  ["urdd_port"]=>
  string(5) "11666"
  ["urdd_restart"]=>
  string(1) "1"
  ["url"]=>
  string(25) "http://10.100.100.2/test/"
  ["usenet_server"]=>
  string(0) ""
  ["webdownload"]=>
  string(1) "0"
  ["yydecode_path"]=>
  string(17) "/usr/bin/yydecode"
}

Session info

array(7) {
  ["urd_period"]=>
  NULL
  ["urd_pass"]=>
  string(32) "d429dd16b78e63180143433e3beb43e4"
  ["urd_username"]=>
  string(6) "leolij"
  ["last_login"]=>
  string(10) "1233069824"
  ["last_active"]=>
  int(1233076959)
  ["challenge"]=>
  string(16) "bzkFPRFMmpJQc88j"
  ["challenge_timeout"]=>
  int(1233078760)
}

User preferences

array(26) {
  ["button1"]=>
  string(4) "none"
  ["button10"]=>
  string(4) "none"
  ["button2"]=>
  string(4) "none"
  ["button3"]=>
  string(4) "none"
  ["button4"]=>
  string(4) "none"
  ["button5"]=>
  string(4) "none"
  ["button6"]=>
  string(4) "none"
  ["button7"]=>
  string(4) "none"
  ["button8"]=>
  string(4) "none"
  ["button9"]=>
  string(4) "none"
  ["defaultsort"]=>
  string(9) "Date DESC"
  ["delete_files"]=>
  string(1) "1"
  ["hidden_files_list"]=>
  string(0) ""
  ["hiddenfiles"]=>
  string(1) "0"
  ["index_page"]=>
  string(9) "transfers"
  ["language"]=>
  string(14) "nederlands.php"
  ["mail_user"]=>
  string(1) "0"
  ["maxsetname"]=>
  string(2) "80"
  ["minngsize"]=>
  string(1) "1"
  ["minsetsize"]=>
  string(1) "0"
  ["search_terms"]=>
  string(0) ""
  ["setcompleteness"]=>
  string(1) "0"
  ["setsperpage"]=>
  string(3) "100"
  ["template"]=>
  string(7) "default"
  ["unpar"]=>
  string(1) "1"
  ["unrar"]=>
  string(1) "1"
}

URDD Status

array(5) {
 
  • =>
  string(22) "Uptime: 0 days 0:32:22"
  [1]=>
  string(9) "Queued: 0"
  [2]=>
  string(10) "Running: 3"
  [3]=>
  string(13) "Scheduled: 18"
  [4]=>
  string(Cool "Users: 1"
}

URDD settings

array(19) {
 
  • =>
  string(17) "urdd_port : 11666"
  [1]=>
  string(28) "urdd_listen_host : 127.0.0.1"
  [2]=>
  string(23) "urdd_listen_host6 : ::1"
  [3]=>
  string(28) "urdd_logfile : /tmp/urdd.log"
  [4]=>
  string(32) "urdweb_logfile : /tmp/urdweb.log"
  [5]=>
  string(22) "urdd_log : file|stderr"
  [6]=>
  string(21) "urdd_min_loglevel : 6"
  [7]=>
  string(22) "urdd_need_auth : FALSE"
  [8]=>
  string(21) "urdd_daemonise : TRUE"
  [9]=>
  string(22) "urdd_debug_level : 255"
  [10]=>
  string(17) "urdd_timeout : 30"
  [11]=>
  string(23) "urdd_queue_size : 20000"
  [12]=>
  string(14) "maxmsgs : 2000"
  [13]=>
  string(14) "urdd_uid : urd"
  [14]=>
  string(14) "urdd_gid : urd"
  [15]=>
  string(23) "group_filter : alt.bin*"
  [16]=>
  string(16) "scheduler : TRUE"
  [17]=>
  string(24) "log_file : /tmp/urdd.log"
  [18]=>
  string(19) "urdd_restart : TRUE"
}

URDD version

array(1) {
 
  • =>
  string(12) "0.6.0 (beta)"
}

URDD jobs, queue, threads, users

array(41) {
 
  • =>
  string(Cool "Threads:"
  [1]=>
  string(88) " #1.  id:1 pid:17648 u:leolij s:14 cmd:UPDATE 12 active qt:1940.4819901 st:1940.29162002"
  [2]=>
  string(89) " #2.  id:2 pid:17653 u:leolij s:14 cmd:UPDATE 10 active qt:1940.47293687 st:1938.61869597"
  [3]=>
  string(90) " #3.  id:63 pid:18645 u:leolij s:14 cmd:UPDATE 99 active qt:1374.11449409 st:1321.42252994"
  [4]=>
  string(6) "Queue:"
  [5]=>
  string(5) "Jobs:"
  [6]=>
  string(81) " #1.  @ 01/31/09 12:00:00 (repeat every 604800 sec) 3 u:leolij cmd:CHECK_VERSION "
  [7]=>
  string(76) " #2.  @ 01/28/09 09:00:00 (repeat every 86400 sec) 22 u:leolij cmd:UPDATE 10"
  [8]=>
  string(76) " #3.  @ 01/28/09 09:00:00 (repeat every 86400 sec) 34 u:leolij cmd:UPDATE 12"
  [9]=>
  string(78) " #4.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 41 u:leolij cmd:UPDATE 1842"
  [10]=>
  string(78) " #5.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 44 u:leolij cmd:UPDATE 2352"
  [11]=>
  string(78) " #6.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 47 u:leolij cmd:UPDATE 2094"
  [12]=>
  string(78) " #7.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 50 u:leolij cmd:UPDATE 1876"
  [13]=>
  string(78) " #8.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 53 u:leolij cmd:UPDATE 1839"
  [14]=>
  string(78) " #9.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 56 u:leolij cmd:UPDATE 2002"
  [15]=>
  string(79) " #10.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 59 u:leolij cmd:UPDATE 2611"
  [16]=>
  string(77) " #11.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 62 u:leolij cmd:UPDATE 17"
  [17]=>
  string(77) " #12.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 65 u:leolij cmd:UPDATE 99"
  [18]=>
  string(77) " #13.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 68 u:leolij cmd:UPDATE 34"
  [19]=>
  string(79) " #14.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 71 u:leolij cmd:UPDATE 3642"
  [20]=>
  string(77) " #15.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 74 u:leolij cmd:UPDATE 63"
  [21]=>
  string(79) " #16.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 77 u:leolij cmd:UPDATE 1915"
  [22]=>
  string(79) " #17.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 80 u:leolij cmd:UPDATE 8077"
  [23]=>
  string(77) " #18.  @ 01/28/09 00:00:00 (repeat every 21600 sec) 83 u:leolij cmd:UPDATE 50"
  [24]=>
  string(6) "Users:"
  [25]=>
  string(12) " #1.  leolij"
  [26]=>
  string(Cool "Servers:"
  [27]=>
  string(58) " #1. id: 1   h:reader.download2day.nl:119 p:0 max:6 free:6"
  [28]=>
  string(53) " #2. id: 2   h:news.easynews.com:119 p:0 max:4 free:4"
  [29]=>
  string(54) " #3. id: 3   h:news.ipv6.eweka.nl:119 p:0 max:8 free:8"
  [30]=>
  string(55) " #4. id: 4   h:news.giganews.com:119 p:0 max:10 free:10"
  [31]=>
  string(62) " #5. id: 5   h:news-europe.giganews.com:119 p:0 max:10 free:10"
  [32]=>
  string(51) " #6. id: 6   h:news.hitnews.eu:119 p:0 max:4 free:4"
  [33]=>
  string(51) " #7. id: 7   h:news.hitnews.eu:563 p:0 max:4 free:4"
  [34]=>
  string(51) " #8. id: 8   h:news.itgate.net:119 p:0 max:4 free:4"
  [35]=>
  string(55) " #9. id: 9   h:news.us.ngroups.net:119 p:0 max:3 free:3"
  [36]=>
  string(57) " #10. id: 10   h:newszilla.xs4all.nl:119 p:0 max:3 free:3"
  [37]=>
  string(58) " #11. id: 11   h:newszilla6.xs4all.nl:119 p:0 max:3 free:3"
  [38]=>
  string(59) " #12. id: 12   h:reader.ipv6.xsnews.nl:119 p:0 max:4 free:4"
  [39]=>
  string(54) " #13. id: 13   h:news.yabnews.com:119 p:0 max:4 free:4"
  [40]=>
  string(53) " #14. id: 14 * h:news.4usenet.nl:563 p:1 max:6 free:3"
}

The log reads:

2009-01-27 18:32:03 INFO Opening log file: /tmp/urdd.log
2009-01-27 18:32:03 NOTICE Starting urdd
2009-01-27 18:32:03 DEBUG fn:check_modules() pid:21919 (2621440 3145728)
2009-01-27 18:32:03 DEBUG fn:daemonise() pid:21919 (2621440 3145728)
2009-01-27 18:32:03 DEBUG Connecting to mysql @ localhost
2009-01-27 18:32:04 INFO Connecting to NNTP server: news.4usenet.nl
2009-01-27 18:34:05 ERROR Cannot connect to server: news.4usenet.nl
2009-01-27 18:34:05 ERROR Timeout occurred

In version 0.5.5 it worked.
Logged
spearhead
Administrator
*
Posts: 1038


View Profile WWW
« Reply #3 on: January 27, 2009, 20:50:49 »

Thanx for pointing this out.

I have found a silly typo in the code, which I expect causes this:
in the file urdd/urdd_usenet_servers.php are two lines (53 and 66) that read
Code:
$this->encyption = $encr

change these to
Code:
$this->encryption = $encr


If that doesn't help, please post here again.

I can't test it here, as I have no connection to a SSL newsserver
« Last Edit: January 27, 2009, 20:54:22 by spearhead » Logged
leolij

Posts: 8


View Profile
« Reply #4 on: January 28, 2009, 17:52:46 »

Hoi,

It still does not work as it should and it is unstable.

The log reads:

2009-01-28 16:36:31 INFO Opening log file: /tmp/urdd.log
2009-01-28 16:36:31 NOTICE Starting urdd
2009-01-28 16:36:31 DEBUG fn:check_modules() pid:27560 (2621440 3145728)
2009-01-28 16:36:31 DEBUG fn:daemonise() pid:27560 (2621440 3145728)
2009-01-28 16:36:31 DEBUG Connecting to mysql @ localhost
2009-01-28 16:36:31 INFO Connecting to NNTP server: ssl:news.4usenet.nl:563
2009-01-28 16:36:31 INFO using authentication as xxxxx
2009-01-28 16:36:31 INFO Connecting to NNTP server: ssl:news.4usenet.nl:563
2009-01-28 16:36:31 INFO using authentication as xxxxx
2009-01-28 16:36:31 INFO Connecting to NNTP server: ssl:news.4usenet.nl:563
2009-01-28 16:36:32 INFO using authentication as xxxxx
2009-01-28 16:36:32 INFO Connecting to NNTP server: ssl:news.4usenet.nl:563
2009-01-28 16:37:52 ERROR Cannot authenticate to server
2009-01-28 16:37:52 ERROR Connection terminated by server (4usenet: Idle timeout.)
2009-01-28 16:37:52 NOTICE Restored 'DOWNLOAD_ACTION 517'
2009-01-28 16:37:52 NOTICE Restored 'UPDATE 3642'
2009-01-28 16:37:52 NOTICE Restored 'UPDATE 12'
2009-01-28 16:37:52 NOTICE Restored 'UPDATE 50'
2009-01-28 16:37:52 NOTICE Restored 'DOWNLOAD 522'
2009-01-28 16:37:52 NOTICE Restored 'DOWNLOAD 520'
2009-01-28 16:37:52 NOTICE Restored 'UPDATE 1915'
2009-01-28 16:37:52 NOTICE Restored 'DOWNLOAD 521'
2009-01-28 16:37:52 NOTICE Restored 'UPDATE 10'
2009-01-28 16:37:52 NOTICE Restored 'DOWNLOAD 523'
2009-01-28 16:37:52 INFO Connecting to NNTP server: ssl:news.4usenet.nl:563
2009-01-28 16:37:54 INFO Connecting to NNTP server: ssl:news.4usenet.nl:563
2009-01-28 16:37:54 INFO Connecting to NNTP server: ssl:news.4usenet.nl:563
2009-01-28 16:37:54 INFO using authentication as xxxxx
2009-01-28 16:37:54 NOTICE Determining first articles number for alt.binaries.nl
2009-01-28 16:37:54 NOTICE Getting headers 132646902 to 133725937
2009-01-28 16:38:58 ERROR Cannot authenticate to server
2009-01-28 16:38:58 ERROR Connection terminated by server (4usenet: Idle timeout.)
2009-01-28 16:38:58 INFO shutdown handler called as child
2009-01-28 16:38:58 INFO 14 1 4
2009-01-28 16:39:14 ERROR Cannot authenticate to server
2009-01-28 16:39:14 ERROR Connection terminated by server (4usenet: Idle timeout.)
2009-01-28 16:39:14 INFO shutdown handler called as child
2009-01-28 16:39:14 INFO 14 1 2
2009-01-28 16:39:15 WARNING Cannot get messages:
2009-01-28 16:39:15 ERROR Connection terminated by server (4usenet: Idle timeout.) (400)
2009-01-28 16:40:02 INFO Connecting to NNTP server: ssl:news.4usenet.nl:563
2009-01-28 16:40:02 INFO Connecting to NNTP server: ssl:news.4usenet.nl:563
2009-01-28 16:40:02 INFO using authentication as xxxxx
2009-01-28 16:40:16 INFO Downloaded 10 articles; 0 articles not available on the server
2009-01-28 16:40:38 INFO Downloaded 10 articles; 0 articles not available on the server
2009-01-28 16:41:08 ERROR Cannot authenticate to server
2009-01-28 16:41:08 ERROR Connection terminated by server (4usenet: Idle timeout.)
2009-01-28 16:41:08 NOTICE Error while downloading: Cannot authenticate to server
2009-01-28 16:41:08 INFO shutdown handler called as child
2009-01-28 16:41:08 INFO 14 1 34
2009-01-28 16:42:10 INFO Connecting to NNTP server: ssl:news.4usenet.nl:563
2009-01-28 16:42:16 NOTICE Could not download article: Connection lost (400)(10)
2009-01-28 16:42:16 INFO shutdown handler called as child
2009-01-28 16:42:16 INFO 14 1 32
2009-01-28 16:43:18 INFO Connecting to NNTP server: ssl:news.4usenet.nl:563
2009-01-28 16:43:29 ERROR Cannot authenticate to server
2009-01-28 16:43:29 ERROR Connection terminated by server (4usenet: Idle timeout.)
2009-01-28 16:43:29 NOTICE Error while downloading: Cannot authenticate to server
2009-01-28 16:43:29 INFO shutdown handler called as child
2009-01-28 16:43:29 INFO 14 1 36

The number of connections does not get to max. The max connections is 6 but i only get 3.

with port 119 it works great.

This worked in version 0.5.5

Regards
Logged
spearhead
Administrator
*
Posts: 1038


View Profile WWW
« Reply #5 on: January 28, 2009, 20:13:34 »

I assume that your username and password is set correctly for the server, as well as the hostname and port.

Wrt the connection count, did you set the max # threads for the server as well Maximum number of NNTP connections in the global config?

> string(53) " #14. id: 14 * h:news.4usenet.nl:563 p:1 max:6 free:3"
the max is  set correctly here it seems

Actually I don't see any reason it might go wrong. I'll dig further tho...

Logged
spearhead
Administrator
*
Posts: 1038


View Profile WWW
« Reply #6 on: January 28, 2009, 23:23:31 »

Can you see e.g. with tcpdump or wireshark what the last message are that are sent to and from the server?
Logged
spearhead
Administrator
*
Posts: 1038


View Profile WWW
« Reply #7 on: January 29, 2009, 20:44:31 »

Is this problem still relevant? I can't find anything in the code that would trigger it. And aside from setting up the connection there is no difference between a non SSL and an SSL based connection.
Logged
leolij

Posts: 8


View Profile
« Reply #8 on: January 30, 2009, 09:59:59 »

It is still relevant but i cannot test at this time.

Next week i can. Hope to post then again.

regards.
Logged
Styck
Administrator
*
Posts: 125


View Profile
« Reply #9 on: January 30, 2009, 18:37:01 »

Confirmed your bug, I have the same problem on download2day (just got an account to test it :B).

Spearhead should be able to find the problem now Smiley
Logged
spearhead
Administrator
*
Posts: 1038


View Profile WWW
« Reply #10 on: January 31, 2009, 13:06:17 »

this is another problem in the stream_select() function of php and may not appear in all version. See also http://bugs.php.net/bug.php?id=41489

I did a quick fix on the code that disables socket timeouts in case ssl/tls is used. That seems to work, but is nasty. Code is in svn.

in /functions/libs/socket.php at line 106 (or thereabouts)

change
Code:
case 'tls':
case 'ssl':
break;
to

Code:
case 'tls':
case 'ssl':
$timeout = NULL; // fix for problem in stream_select
break;
Logged
spearhead
Administrator
*
Posts: 1038


View Profile WWW
« Reply #11 on: January 31, 2009, 13:07:23 »

PS what OS and version  php version do you use?
Logged
spearhead
Administrator
*
Posts: 1038


View Profile WWW
« Reply #12 on: January 31, 2009, 21:03:05 »

Another line needs to be changed too

in /functions/libs/base_nntp_client.php line 367

remove

Code:
if (is_null($timeout))
$timeout = 15;
Logged
leolij

Posts: 8


View Profile
« Reply #13 on: February 02, 2009, 17:48:14 »

Hoi,

I have tested the version 556.

It seams to be working now.

Your question about OS en PHP version the answer is
OS Ubuntu 8.10
PHP 5.2.6

regards.
Logged
River Trent

Posts: 52


View Profile
« Reply #14 on: February 07, 2009, 10:49:53 »

I'm having the same problems with SSL.

urd 0.6.0 on Ubuntu 8.04.

I corrected the typo errors in the file urdd/urdd_usenet_servers.php

and re,oved the code from functions/libs/base_nntp_client.php

I don't seem to be able to find in /functions/libs/socket.php at line 106.

I can connect but very unstable and only 2 threads and then disconnects or pauses the download.

Need a bit of help



The Log reads

2009-02-07    08:32:30    INFO    Downloaded 10 articles; 0 articles not available on the server
2009-02-07    08:32:15    INFO    Downloaded 10 articles; 0 articles not available on the server
2009-02-07    08:32:00    INFO    Downloaded 10 articles; 0 articles not available on the server
2009-02-07    08:31:46    INFO    Downloaded 10 articles; 0 articles not available on the server
2009-02-07    08:31:30    INFO    Downloaded 10 articles; 0 articles not available on the server
2009-02-07    08:31:15    INFO    Downloaded 10 articles; 0 articles not available on the server
2009-02-07    08:31:01    INFO    Downloaded 10 articles; 0 articles not available on the server
2009-02-07    08:30:47    INFO    Connecting to NNTP server: ssl.hitnews.eu
2009-02-07    08:30:47    INFO    using authentication as ***********
2009-02-07    08:30:45    NOTICE    Restored 'DOWNLOAD_ACTION 2'
2009-02-07    08:30:45    NOTICE    Restored 'DOWNLOAD_ACTION 2'
2009-02-07    08:30:45    NOTICE    Restored 'DOWNLOAD_ACTION 2'
2009-02-07    08:30:45    NOTICE    Restored 'DOWNLOAD_ACTION 2'
2009-02-07    08:30:44    ERROR    Cannot connect to server: ssl.hitnews.eu
2009-02-07    08:30:44    ERROR    Timeout occurred
2009-02-07    08:30:14    NOTICE    Starting urdd
2009-02-07    08:30:14    INFO    Connecting to NNTP server: ssl.hitnews.eu
2009-02-07    08:30:14    INFO    using authentication as **********
Logged
spearhead
Administrator
*
Posts: 1038


View Profile WWW
« Reply #15 on: February 07, 2009, 17:53:27 »

My mistake.. Shocked it is in:
functions/nntp.class.php
Logged
River Trent

Posts: 52


View Profile
« Reply #16 on: February 07, 2009, 21:11:03 »

Done that and it's staying connected, getting all the Threads, it seems to be really slow 200K when it should be at least 1000K, though this could be because of other things.

I do get this warning in the Log lots of times

2009-02-07    18:52:39    WARNING    Assert failed: /usr/share/urd/functions/libs/socket.php (125)
Logged
spearhead
Administrator
*
Posts: 1038


View Profile WWW
« Reply #17 on: February 08, 2009, 00:27:16 »

You can fix the warning by updating functions/libs/socket.php at line 125 to

Code:
assert(is_numeric($port) && (is_numeric($timeout)||is_null($timeout)) && is_bool($persistent));

I doubt that that will fix the speed problems tho.
Logged
River Trent

Posts: 52


View Profile
« Reply #18 on: February 08, 2009, 12:43:05 »

Thanks, that's stopped the warning,
the speed thing might be okay now have changed a few settings, but can't be sure

Changed

Under Usenet servers
Port from 563 to 995
Number of threads: 8

Under URD Configuration
Maximum number of total threads: 9
Maximum number of NNTP connections: 8
Logged
desertpilot

Posts: 1


View Profile
« Reply #19 on: February 11, 2009, 09:29:32 »

Just wanted to let you guys know: I applied the code changes and SSL is working for me on Ubuntu 8.10. Thanks!
Logged
River Trent

Posts: 52


View Profile
« Reply #20 on: February 11, 2009, 10:14:24 »

it seems fine to me too.

Thanks
Logged
spearhead
Administrator
*
Posts: 1038


View Profile WWW
« Reply #21 on: February 11, 2009, 16:03:18 »

I hate the fix, but as this is a php problem I can't really fix it. I'll see sometime if I can resolve it differently tho for a future version.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Amigri by Fakdordes
spacer.png, 0 kB
spacer.png, 0 kB
spacer.png, 0 kB