From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69782 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: Posting to one specific nntp server hangs emacs/gnus Date: Tue, 6 Jul 2010 17:02:31 +0200 Message-ID: <201007061702.31332.tassilo@member.fsf.org> References: <201007061354.49648.tassilo@member.fsf.org> <871vbglsso.fsf@topper.koldfront.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1278428616 1147 80.91.229.12 (6 Jul 2010 15:03:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Jul 2010 15:03:36 +0000 (UTC) Cc: Adam =?iso-8859-1?q?Sj=F8gren?= To: ding@gnus.org Original-X-From: ding-owner+M18172@lists.math.uh.edu Tue Jul 06 17:03:33 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OW9gI-0007e5-Us for ding-account@gmane.org; Tue, 06 Jul 2010 17:03:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1OW9fY-0001zD-4r; Tue, 06 Jul 2010 10:02:44 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OW9fW-0001z2-9J for ding@lists.math.uh.edu; Tue, 06 Jul 2010 10:02:42 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OW9fT-0008Hu-1a for ding@lists.math.uh.edu; Tue, 06 Jul 2010 10:02:41 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OW9fR-0001mi-00 for ; Tue, 06 Jul 2010 17:02:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 38B5278A4AED; Tue, 6 Jul 2010 17:02:35 +0200 (CEST) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18984-08; Tue, 6 Jul 2010 17:02:32 +0200 (CEST) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Original-Received: from thinkpad.localnet (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTP id 2A66678A4B0C; Tue, 6 Jul 2010 17:02:32 +0200 (CEST) User-Agent: KMail/1.13.5 (Linux/2.6.35-rc3-git8; KDE/4.4.5; x86_64; ; ) In-Reply-To: <871vbglsso.fsf@topper.koldfront.dk> X-Face: `TY6r/ws=N5uqO1E`M=Sups<}n%T[E^o_?MJj< =?iso-8859-1?q?O4j=265ljV6lU=7DcXU7oftH=26/x=5F=7EK=7B=26zv9=7D=0A=09sB?= =?iso-8859-1?q?=7D5/Ea=5BhU=7BCS=23=3F=3F0=3F=3Fn?=@sX+ft]?{(l?,mp"a`u Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69782 Archived-At: On Tuesday 06 July 2010 14:05:11 Adam Sj=F8gren wrote: Hi Adam, > > What might be the culprit? How can I debug that any further? >=20 > I find that a nice way to debug such conversations is ngrep - > something like: >=20 > $ sudo ngrep -Wbyline port nntp >=20 > and then trying to post; makes it easy to see what is going on over > the wire. Hey, what a cool tool! Ok, that's the output when sending a posting: =2D-8<---------------cut here---------------start------------->8--- #### T 141.26.67.142:50445 -> 141.26.64.5:563 [AP] =2E..........L3Czn..!..t.....G..*..G'..R.......@.g.3.E.k.9.....@.2.D.j.8...= =2E.f.........<./.A.=3D.5... =2E..............<................news.uni-koblenz.de......#....... =2E......... ## T 141.26.64.5:563 -> 141.26.67.142:50445 [A] =2E...J...F..L3CzS.....v......J.....Mj.ff.... ...zg.....6Tt.M..u.....\n..v = =2E.].3.....R...N..K..f0..b0..J........=3Dd.0...*.H........0..1.0...U....DE= 1907..U. =2E0Regionales Hochschulrechenzentrum Kaiserslautern1.0...U....RHRK-CA - G0= 21 0...*.H........ca@rhrk.uni-kl.de0...071023122007Z..121021122007Z0..1.0..= =2EU....DE1.0...U....Rheinland-Pfalz1.0...U....Koblenz1$0"..U. =2E.Universitaet Koblenz-Landau1301..U...*Gemeinsames Hochschulrechenzentru= m Koblenz1.0...U....news.uni-koblenz.de0.."0...*.H.............0.. =2E..........V.......\..Y.v~\.........C-......`O.Q..h...e(.9........3..G.1.= =2E.T...../.M..........V{P5...MB.....n:.[........]..8W.......h($..N..`g.53.= =2E~.5..Pc.&8F......ZI...{.*...dr..:.~......"B.;L..!...#.......J......s..C.= \.*R..2;....}...N{\*....J.. 6.F... =2E...K.o.........0...0...U....0.0...U........0...U.%..0 =2E.+.......0...U........N...&....`...!A.-.0...U.#..0.../...c\..o.....'.o..= =2E0...U....0...admin@uni-koblenz.de0}..U...v0t08.6.4.2http://cdp1.pca.dfn.= de/rhrk-ca/pub/crl/g_cacrl.crl08.6.4.2http://cdp2.pca.dfn.de/rhrk-ca/pub/cr= l/g_cacrl.crl0....+..........0..0B..+.....0..6http://cdp1.pca.dfn.de/rhrk-c= a/pub/cacert/g_cacert.crt0B..+.....0..6http://cdp2.pca.dfn.de/rhrk-ca/pub/c= acert/g_cacert.crt0...*.H.............rE&sk'xmP..Lm..rJ....1.....\AJ..Qu...= =2E[.V....A.....s..@>p'...@}........y.Z...S.7..h=3D.j...D.N.W..d^Y......W..= ,Z.2.. =2E[....Z./...O..........{....A..1....[..S=3D.b`..O.8c....$..0....f..'..-..= N..4...Z+..5.f6.%........I.g'.`I. ..%.F.O. # T 141.26.64.5:563 -> 141.26.67.142:50445 [A] =2E-n....G~.@.Rk.F.S.J...b,......0...0.......... =2EC50...*.H........0Z1.0...U....DE1.0...U. =2E DFN-Verein1.0...U....DFN-PKI1$0"..U....DFN-Verein PCA Global - G010...07031= 4095134Z..190313000000Z0..1.0...U....DE1907..U. =2E0Regionales Hochschulrechenzentrum Kaiserslautern1.0...U....RHRK-CA - G0= 21 0...*.H........ca@rhrk.uni-kl.de0.."0...*.H.............0.. =2E.....@C.........t........$#...)Q....Ke.k...Fn..,v\iw........n..Q.g.....e= R..s..=3D.Ev......VCw.ap..A:..iSat^a3>.f6ku{W8...o$.....>SI..6.8.M#.I....r.= =2E{.....DCUI....U.......kS....H.K....\.W........Y/....~...nu:{...6."s..O,.= =2E!^......o"]$..J{..R...?..5..,Ax4.KIB...E..........0...0...U.......0....0= =2E..U........0...U....../...c\..o.....'.o...0...U.#..0...I....=3D...D{.).. p>.d0...U....0...ca@rhrk.uni-kl.de0....U.....0~0=3D.;.9.7http://cdp1.pca.df= n.de/global-root-ca/pub/crl/cacrl.crl0=3D.;.9.7http://cdp2.pca.dfn.de/globa= l-root-ca/pub/crl/cacrl.crl0....+..........0..0G..+.....0..;http://cdp1.pca= =2Edfn.de/global-root-ca/pub/cacert/cacert.crt0G..+.....0..;http://cdp2.pca= =2Edfn.de/global-root-ca/pub/cacert/cacert.crt0...*.H...............j..\.\J= 1....NF.)Y.4....L..f+uW..f...:vx."...N."....D{.V!...e.wZ.......qO.h..5.FQ..= =2EI.r]..`!..W.\@.N2XU$E/.,..j.....&_... =3D....Ab..|j..B.Y...[.oAd.9V.B.I.]H....._.....3..W....J.....8\\kW.......i.= =2E.h...V.T.1...l..9.-SrZ.....L......K....$.U.@].9z..KF\P.x..O..%0..!0.....= =2E......0...*.H........0q1.0...U....DE1.0...U. =2E.Deutsche Telekom AG1.0...U....T-TeleSec Trust Center1#0!..U # T 141.26.64.5:563 -> 141.26.67.142:50445 [AP] =2E...Deutsche Telekom Root CA 20...061219102900Z..190630235900Z0Z1.0...U..= =2E.DE1.0...U. =2E DFN-Verein1.0...U....DFN-PKI1$0"..U....DFN-Verein PCA Global - G010.."0...*= =2EH.............0.. =2E.......g......T..P5=3Db.nL....[."t. .4....1........R.(#..t..^[..x.x...(5= 9{-.E....z|.J......\+1.{...$C..8.jh....Ox.....v...&....t.....k.....0O.....b= =2E...'0..e`M...#*.5X'.v.q......5.}o3..........]Ak....L..Q...........VVC...= =2E=3D..'0.IT...4.qu.l.....!.'.>.99Hj.................0..0p..U...i0g0e.c.a.= _http://pki.telesec.de/cgi-bin/service/af_DownloadARL.crl?-crl_format=3DX_5= 09&-issuer=3DDT_ROOT_CA_20...U......I....=3D...D{.).. p>.d0...U.#..0...1.y...S....z-.l =2E+.30...U...........0...U.......0.......0...*.H.............;.Zw.H.......= Z...(...Y..p.(.....,..].1..+t......g.9.y;....kx.3~;_&'uSe.3c..s...#I!Pu#...= =2E..=3D?3.w ......)@.?s2X..k...l.?..fdV$N..?25.[....rYO....t.V...\...G.S.p= =2E.M.i.(.....^..X......Z.h.(>...X...,7W.g.#h.c...k\.KV..@.4...l... =2E.3r.o..T,.Q...0.Cr.2...Ic........0...0..........&0...*.H........0q1.0...= U....DE1.0...U. =2E.Deutsche Telekom AG1.0...U....T-TeleSec Trust Center1#0!..U....Deutsche= Telekom Root CA 20...990709121100Z..190709235900Z0q1.0...U....DE1.0...U. =2E.Deutsche Telekom AG1.0...U....T-TeleSec Trust Cen #### T 141.26.64.5:563 -> 141.26.67.142:50445 [AP] ter1#0!..U....Deutsche Telekom Root CA 20.."0...*.H.............0.. =2E.......5..).....<..9o5]J...a..I.od..`f..@".....x..h...M\:....B@.....Yj..= =2E....+%'.i#G...,z.....~4|..<.Y.....2<+.P..........2..HV[j...XX.I_rA<....]= =2E.........j-R4.:.\uQ...1..q.2.T.D...U.........I.S...L..Xy..j.B.....h....a= =2Eva..|.>...P... =2E.....:}....4..[..j....nJ.......B0@0...U......1.y...S....z-.l =2E+.30...U....0.......0...U...........0...*.H..............dY.9d.)...Z...W= =2E.$.tw.`.g........|n..=3D...n.)..z.;T.9.G~.....1Y1.....,.b6U."..U..H.d...= 6.DxZZ#:W..z0O..jLK+....>....{....r<....Y..E..;..9..2..!a..1!.4../5J.....7!= =2EYc....1S.T..py...w'u/........6....e..cZ.F...7.A..#....h.Dc.Z..5Y..p...#W= =2E. m.9c(..........VdW..............XNI.. .....6k3l8.E..|...|[-....#.C..[....U.= =2E]8.4.|.WC...l.3!,.*.<..)@...|.. r.......)z........ P..F..=3Df.]A..|..K".&...^.U./x........,1.k.n..e.o!.$.S.I...<.S....o0.rJ@..= v[.j..Ke..//.2....%k..8ZAf2.+.ob..rK...0f......ri.[.".!.....9J...(l8S.~..>~= =2Es.HY.Y.).2.+........S@C.1u.|...%(.x =2EF.........i...z.........n...1. .lF =2E..;..q. ?;.y.....c..J=3D.}..=3D...>.....$ x#.o...Rx...._.^..<....).. }.....v.;..j.._yj3.....%./j.(.1]...(..Vs...l.g....D..}#6.........o...||..R.= =2E..wN...?.q....9......g..j...'N.uV.+.D.F].ggM.........#eI........... ## T 141.26.67.142:50445 -> 141.26.64.5:563 [AP] =2E........................LIP6...^......~-..t......*...B..../...b.....v...= =2E.....yU.).......+=3D.dQP..=3D..>.U.u...R.t....r..c...Z@V(q..X6.}...*. ## T 141.26.67.142:50445 -> 141.26.64.5:563 [AP] =2E..... ## T 141.26.67.142:50445 -> 141.26.64.5:563 [AP] =2E...P...n;..AztZ.u}.*.Z....-Wh#DH}.(......T.$.............b....%w.&...]^\= =2E6....T.)..h ## T 141.26.64.5:563 -> 141.26.67.142:50445 [AP] =2E.........0..P..QX .u.E...k...@.7gw`d.~2<..........n9.n..b. ## T 141.26.64.5:563 -> 141.26.67.142:50445 [AP] =2E...p......O...>.5#..&..F..I.z...c....K...q..Or......W.K[.>/.F..8...RV..#= =2E.....Y.U....C^F&....g.b.R.a.1.C...m....R..N ## T 141.26.67.142:50445 -> 141.26.64.5:563 [AP] =2E...0...9...1.TdM,........wW........h...dv.}..9.W...n # T 141.26.64.5:563 -> 141.26.67.142:50445 [AP] =2E...p...pT.Mk..I.R.g.g O...........+ .V.e.b..`F........\.d.......E*...{6..5GH......7...3N..m.GNMV.= =2E'b.....:....;A.K*. # T 141.26.67.142:50445 -> 141.26.64.5:563 [AP] =2E...0........6..WE.'. =2E4........... K.0....).@.....Y. # T 141.26.64.5:563 -> 141.26.67.142:50445 [AP] =2E...0...._.L.....%..".....n%F....7....:..Mp........!e # T 141.26.67.142:50445 -> 141.26.64.5:563 [AP] =2E.....G.|..o.V..^.-/...F']..j...z3f.p.e0..e0......{.3...je.n...W...pi....= =2E.a.....I.v...&..._.sE.......D_.[...Z:.Vk\;.o..b...<.aB...g!.95f.WD?..N..= =2E......w...IY.....~e|(..;@.H..b.l..F.+...|...[)..=3D.....z e?M....k...xt....b.sd........K9..../...^8..e..M=3D!%k..`.........~.2.J~...." # T 141.26.64.5:563 -> 141.26.67.142:50445 [AP] =2E... S.*`......DG....../%i..8.}M....Y # T 141.26.67.142:50445 -> 141.26.64.5:563 [AP] =2E......j....wdhB.........w.G..............Ba....q.....M 6!...-..._....J..= ,M..01H.....$....CN....D.'<.+...n.?@i9..*..*......ghcC..s.. .?..R....aw..bk& # T 141.26.64.5:563 -> 141.26.67.142:50445 [AP] =2E...`.h~.....b..1...4....q$.$..>F......a.u..f....E..t.^.......m.........7= *..Q..zC.G...n..7`...l.8.h.. # T 141.26.67.142:50445 -> 141.26.64.5:563 [AP] =2E...P.Gn...U=3D0...N..'x....F......z...?...).^Yd+.=3D/._+..5.....FV..+.<.= yc.n.Srf=3D{...:.............[]6..Iav.a.."x.>?Z\S+p....&........%.w*I.....T= P...M.'0.p'...TO.../.. ......].oc...%...q..I..s.[u..[......4=3D............= =2E......=3D......j..6.CK..`G.sB....s...9..R......>d.....r.H%.j....-...Z...= =2E..E.7...."\"....$*'......y..~A.....Q.M.P.....&V'T.....Gn.......m..4M....= =2E....t......vPm...o..|iAZ...[...c.+..I...\T.....@sw..D....'...^r......l.~= C\..uu.*7....Y%........W............o...&..{..u..\.....N.L..\..|.t..&....Iq= =2Em*........~.<.t...s3lB.....Z_8.\Ngm&. yA..=3Dl]Db.'#.X&.},P..D.W.?...D..= Y...H..d....S...;....3]........3B.....$......$....U..F[..{.......O.%.H....D= =2EE%[..N.*c.c.Ft.E2}.d.D.....H.d.u....,..y"P...>2~..Q......P...E........^.= =2Eg...,..rO.s..;.....=3DmP.m.........C2.5|..9.O....t.......)..R[...?*.2B.'= =2E.E...Z....GM,3..sZ..q....5...z ).f.x.....f.}!...%u.%.u* # ***HERE IT HANGS, THE FOLLOWING IS AFTER A C-g.*** T 141.26.67.142:50445 -> 141.26.64.5:563 [AP] =2E...`S.Q.<4 ...k1V.UJb.Vo.yB1....]~.K..,R.....q...'_.....}.XD]....AU.....= D[...X...VIL..r`.......}Z..C ## T 141.26.64.5:563 -> 141.26.67.142:50445 [AP] =2E...POZT....x&.[+k.C..^.U..d..Zi....}.... =2E....7..u.#.....a.../ '...E.>."Vp..,....... # T 141.26.64.5:563 -> 141.26.67.142:50445 [AFP] =2E... .X/I.........r...p............M..... .),?....`G...b..p...._..x. ..!W~ ### =2D-8<---------------cut here---------------end--------------->8--- As you can see, you can see nothing, because I use a TLS stream. =2D-8<---------------cut here---------------start------------->8--- (add-to-list 'gnus-secondary-select-methods '(nntp "Uni" (nntp-address "news.uni-koblenz.de") (nntp-open-connection-function nntp-open-tls-stream) (nntp-port-number 563))) =2D-8<---------------cut here---------------end--------------->8--- Have a look at the line # ***HERE IT HANGS, THE FOLLOWING IS AFTER A C-g.*** in the output above. Then you can see what happens before and after I hit C-g. When I don't use TLS, the sending works flawlessly without a hang, and I get this output: =2D-8<---------------cut here---------------start------------->8--- # T 141.26.67.142:53478 -> 141.26.64.5:119 [AP] POST. # T 141.26.64.5:119 -> 141.26.67.142:53478 [AP] 340 Ok, recommended ID . ## T 141.26.67.142:53478 -> 141.26.64.5:119 [AP] =46rom: Tassilo Horn . Newsgroups: infko.test. Subject: Und wieder ein Test. Date: Tue, 06 Jul 2010 16:45:00 +0200. Message-ID: <87hbkc3c0j.fsf@thinkpad.tsdh.de>. User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux). Cancel-Lock: sha1:WSCCWT+aSTjDhnvZKGfZiCa6ikQ=3D. MIME-Version: 1.0. Content-Type: text/plain; charset=3Dutf-8. Content-Transfer-Encoding: 8bit. =2E foo bar. =2D- . Dipl.-Inform. Tassilo Horn | Room: B015. University of Koblenz-Landau, Campus Koblenz | Phone: +49 (261) 287-2745. Institute for Software Technology | Mail: horn@uni-koblenz.de. Universit..tsstr. 1, 56070 Koblenz, Germany |. =2E. # T 141.26.64.5:119 -> 141.26.67.142:53478 [AP] 240 Article posted <87hbkc3c0j.fsf@thinkpad.tsdh.de>. # =2D-8<---------------cut here---------------end--------------->8--- In that case, the select method definition is: =2D-8<---------------cut here---------------start------------->8--- (add-to-list 'gnus-secondary-select-methods '(nntp "Uni" (nntp-address "news.uni-koblenz.de"))) =2D-8<---------------cut here---------------end--------------->8--- So it seems to be a TLS issue. Do you see what's wrong? I have to admit that except knowing that this only happens with a TLS stream, I cannot see what's wrong. I can only say that some weeks ago, it just worked fine, and I didn't change my gnus setup. Does anyone use NNTP over a TLS stream and check if that hang can be reproduced with other servers? Bye, Tassilo