I see you just fixed it... it's weird cause I tested.. but I think I know what's the issue.. it's the ::Socks5::Init.. it's called in 3 different places in proxy.tcl.. I 'catch'ed 2 of them, and missed the 3rd one.. I thought it would be best to catch the whole socks::init in case there's an error somewhere else in the init.
KaKaRoTo On Sun, Oct 26, 2008 at 07:09:56AM +0000, Tom Hennigan wrote: > > > Youness Alaoui wrote: > > On Sun, Oct 26, 2008 at 02:21:00AM +0300, Vivia Nikolaidou wrote: > >>> Another one is SOCKS5 support. If you enable socks but the socks server > >>> isn't running (eg I set up an ssh tunnel and did my pass wrong and > >>> didn't notice) when opening aMSN the application fails to launch with an > >>> error dumped to console. > >> What error? I can't reproduce this. Due to connection issues, I was forced > >> several times to use a socks proxy over ssh. When the server isn't > >> running, aMSN just used to freeze as soon as I pressed Connect, but this > >> was also fixed, so now it just says "connection refused". Could you paste > >> the error message somewhere? > >> > > It's the connection refused error that gets dumped to > > console, this is what someone reported which had me look > > into this socks thing... Either way, it is also fixed now! > > Tom, just try it out and confirm to us it's fixed! > > > > KaKaRoTo > I just checked I hate the latest svn, and ran it again. I get this: > [tom:amsn]$ wish AppMain.tcl > Error in startup script: error flushing "sock11": broken pipe > while executing > "flush $sck" > (procedure "::Socks5::Init" line 45) > invoked from within > "::Socks5::Init $sock $proxy_serv $proxy_port $proxy_authenticate > $proxy_user $proxy_password" > (procedure "::ProxyDirect::Snit_methodconnect" line 45) > invoked from within > "$proxy connect $name" > (procedure "cmsn_socket" line 13) > invoked from within > "cmsn_socket ns" > (procedure "cmsn_ns_connect" line 35) > invoked from within > "cmsn_ns_connect $username $passwd" > (procedure "::MSN::connect" line 56) > invoked from within > "::MSN::connect" > invoked from within > "if { $argv != "" && [LoginList exists 0 $argv] } { > after idle [list auto_login_argv $argv] > } else { > if { [::config::getKey autoconnect] == 1 &&..." > (file "./amsn" line 370) > invoked from within > "source [file join $program_dir amsn]" > (file "AppMain.tcl" line 20) > > I have auto connect enabled, and the SOCKS server was set to > localhost:12345 no user/pass. > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Amsn-devel mailing list Amsn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amsn-devel