Thread View: news.software.readers
11 messages
11 total messages
Started by Luke
Thu, 26 Aug 2004 21:21
leafnode fetching error
Author: Luke
Date: Thu, 26 Aug 2004 21:21
Date: Thu, 26 Aug 2004 21:21
53 lines
2831 bytes
2831 bytes
I'm having trouble fetching, using leafnode, from a INN RH server. I can't access the server though, so anything involving that is out. Background: I can access the server sucessfully from thunderbird, so it doesn't seem to be a server-side problem. dpkg -l | grep leafnode ii leafnode 1.10.4.rel-1 NNTP server for small leaf sites Here's the fetchnews -vvvv output, with the server name replaced by "the_server": the_server: using STAT <message-ID> command. error: AUTHINFO PASS failed: 502 error: may have been caused by premature authentication and be rather harmless. error: NNTP server went away (server disconnect or timeout) the_server: 0 articles posted. error: NNTP server went away (server disconnect or timeout) the_server: getting new newsgroups error: NNTP server went away (server disconnect or timeout) the_server: reading new newsgroups failed, reason "server disconnect or timeout" the_server: reading server info from /var/spool/news/leaf.node/the_server Merging in /var/spool/news/leaf.node/the_server~ from previous run error: NNTP server went away (server disconnect or timeout) Warning: aborting fetch from the_server due to previous condition. the_server: conversation completed, disconnected. I've verified that the password is correct, again, with thunderbird. In my /etc/news/leafnode/config i have: server =the_server username =my_username password =my_pass Any ideas? -- Luke StClair run_faster@hotmail.com PGP key: https://netfiles.uiuc.edu/clairst/www/mykey.asc
Re: leafnode fetching error
Author: SINNER
Date: Fri, 27 Aug 2004 02:46
Date: Fri, 27 Aug 2004 02:46
53 lines
2959 bytes
2959 bytes
* Luke wrote in news.software.readers: > Here's the fetchnews -vvvv output, with the server name replaced by > "the_server": > the_server: using STAT <message-ID> command. > error: AUTHINFO PASS failed: 502 > error: may have been caused by premature authentication and be rather > harmless. > error: NNTP server went away (server disconnect or timeout) > the_server: 0 articles posted. > error: NNTP server went away (server disconnect or timeout) > the_server: getting new newsgroups > error: NNTP server went away (server disconnect or timeout) > the_server: reading new newsgroups failed, reason "server disconnect > or timeout" > the_server: reading server info from > /var/spool/news/leaf.node/the_server > Merging in /var/spool/news/leaf.node/the_server~ from previous run > error: NNTP server went away (server disconnect or timeout) > Warning: aborting fetch from the_server due to previous condition. > the_server: conversation completed, disconnected. > I've verified that the password is correct, again, with thunderbird. > In my /etc/news/leafnode/config i have: What distro are you running? My leafnode config is in /etc/leafnode/config Does the above file exist for you? [09:24:11][J:0][sinner@~]$ leafnode-version version: leafnode-1.9.52.rel Try commenting out the pass line and type it over on a new line. If I comment out the password I get: [09:38:31][J:0][root@~]$ fetchnews error: news.<server>.com: password needed for authentication if its wrong: error: AUTHINFO PASS failed: 502 so you are misreading what you have in there or your editor has added some invisible characters. -- David | AGM Favorites - http://tinyurl.com/loec You'll feel much better once you've given up hope.
Re: leafnode fetching error
Author: Luke
Date: Fri, 27 Aug 2004 03:31
Date: Fri, 27 Aug 2004 03:31
53 lines
2885 bytes
2885 bytes
On 2004-08-27, SINNER <99nesorjd@gates_of_hell.invalid> wrote: > What distro are you running? My leafnode config is in > /etc/leafnode/config > Debian, Testing, but with leafnode as unstable (i've run it will testing leafnode as well, same results) > Does the above file exist for you? > > [09:24:11][J:0][sinner@~]$ leafnode-version > version: leafnode-1.9.52.rel > Yep, with the appropriate version (1.10.4.rel) > Try commenting out the pass line and type it over on a new line. > Tried that. > If I comment out the password I get: > > [09:38:31][J:0][root@~]$ fetchnews > error: news.<server>.com: password needed for authentication > > if its wrong: > > error: AUTHINFO PASS failed: 502 > So leafnode seems to think the password is wrong, but I have very carefully, multiple times, checked and verified that it is NOT wrong. > so you are misreading what you have in there or your editor has added > some invisible characters. > My editor is vim, so i don't think it has added any invisible characters, as verified by re-typing the password. Again, the same password, extremely carefully typed, works fine with the same server under thunderbird. A mistyped password does not seem to be the problem here to me. I've tried the password with a space after the password = , no space, space between password and =, no space, and same with username. Any ideas? -- Luke StClair run_faster@hotmail.com PGP key: https://netfiles.uiuc.edu/clairst/www/mykey.asc
Re: leafnode fetching error
Author: SINNER
Date: Fri, 27 Aug 2004 04:14
Date: Fri, 27 Aug 2004 04:14
16 lines
1481 bytes
1481 bytes
* Luke wrote in news.software.readers: > On 2004-08-27, SINNER <99nesorjd@gates_of_hell.invalid> wrote: [...] > Any ideas? Only other thing I can think of is that it is using a different config file than the one you are editing. -- David | AGM Favorites - http://tinyurl.com/loec Time goes, you say? Ah no! Time stays, *we* go. -- Austin Dobson
Re: leafnode fetching error
Author: Luke
Date: Fri, 27 Aug 2004 05:08
Date: Fri, 27 Aug 2004 05:08
22 lines
2058 bytes
2058 bytes
On 2004-08-27, SINNER <99nesorjd@gates_of_hell.invalid> wrote: > * Luke wrote in news.software.readers: >> On 2004-08-27, SINNER <99nesorjd@gates_of_hell.invalid> wrote: > > [...] > >> Any ideas? > > Only other thing I can think of is that it is using a different config > file than the one you are editing. > Not likely. When I take out the lines corresponding to that server, fetchnews doesn't try to fetch from that server anymore. When I put that server before the other ones, it fetches the faulty one first instead of last. So I'm pretty sure I'm editing the right file. -- Luke StClair run_faster@hotmail.com PGP key: https://netfiles.uiuc.edu/clairst/www/mykey.asc
Re: leafnode fetching error
Author: Jörg Lüders
Date: Fri, 27 Aug 2004 10:29
Date: Fri, 27 Aug 2004 10:29
25 lines
1592 bytes
1592 bytes
Luke <clairst@uiuc.edu>: > On 2004-08-27, SINNER <99nesorjd@gates_of_hell.invalid> wrote: >> error: AUTHINFO PASS failed: 502 >> > > So leafnode seems to think the password is wrong The 502 comes from your news server, so the authentication is rejected there. > but I have very carefully, multiple times, checked and verified > that it is NOT wrong. Do you have any special characters in your user name or password? > Any ideas? Use debug mode. It will not log your password, but you may still get some hints. Jörg
Re: leafnode fetching error
Author: Luke
Date: Fri, 27 Aug 2004 14:16
Date: Fri, 27 Aug 2004 14:16
20 lines
1993 bytes
1993 bytes
On 2004-08-27, Jörg Lüders <jlpublic-b4879@gmx.net> wrote: > Luke <clairst@uiuc.edu>: > >> On 2004-08-27, SINNER <99nesorjd@gates_of_hell.invalid> wrote: > >> > Do you have any special characters in your user name or password? Yes, is this a potential problem? > Use debug mode. It will not log your password, but you may still get > some hints. Don't know how to do this, but I'll look into it -- Luke StClair run_faster@hotmail.com PGP key: https://netfiles.uiuc.edu/clairst/www/mykey.asc
Re: leafnode fetching error
Author: Luke
Date: Fri, 27 Aug 2004 14:20
Date: Fri, 27 Aug 2004 14:20
13 lines
2030 bytes
2030 bytes
On 2004-08-27, Jörg Lüders <jlpublic-b4879@gmx.net> wrote: > Luke <clairst@uiuc.edu>: > > Do you have any special characters in your user name or password? > That was the problem. Any idea how I can still have special characters in my password? Do I have to escape them in my leafnode config? -- Luke StClair run_faster@hotmail.com PGP key: https://netfiles.uiuc.edu/clairst/www/mykey.asc
Re: leafnode fetching error
Author: Jörg Lüders
Date: Fri, 27 Aug 2004 22:12
Date: Fri, 27 Aug 2004 22:12
19 lines
1751 bytes
1751 bytes
Luke <clairst@uiuc.edu>: > On 2004-08-27, Jörg Lüders <jlpublic-b4879@gmx.net> wrote: >> Do you have any special characters in your user name or password? >> > > That was the problem. Any idea how I can still have special characters in > my password? Do I have to escape them in my leafnode config? I just checked leafnode's source code and can't find any special treatment for any character except one. You do know that the hash sign (#) starts a comment in the config file? If your problem is with some other character it could be useful to know the rejected password (assuming you've changed it by now). Jörg
Re: leafnode fetching error
Author: Luke
Date: Sat, 28 Aug 2004 03:04
Date: Sat, 28 Aug 2004 03:04
28 lines
2682 bytes
2682 bytes
On 2004-08-27, Jörg Lüders <jlpublic-b4879@gmx.net> wrote: > Luke <clairst@uiuc.edu>: > >> On 2004-08-27, Jörg Lüders <jlpublic-b4879@gmx.net> wrote: > >>> Do you have any special characters in your user name or password? >>> >> >> That was the problem. Any idea how I can still have special characters in >> my password? Do I have to escape them in my leafnode config? > > I just checked leafnode's source code and can't find any special > treatment for any character except one. You do know that the hash sign > (#) starts a comment in the config file? If your problem is with some > other character it could be useful to know the rejected password > (assuming you've changed it by now). Hilarious. Of course, my password DID (does not now) contain #. So yes, that would comment out the rest of the line. Should have realized that myself. I wonder if the config parser can be changed to allow this in some way (read everything on a line starting with password = literally). Thanks for the help. -- Luke StClair run_faster@hotmail.com PGP key: https://netfiles.uiuc.edu/clairst/www/mykey.asc
Re: leafnode fetching error
Author: Jörg Lüders
Date: Sat, 28 Aug 2004 09:10
Date: Sat, 28 Aug 2004 09:10
17 lines
2014 bytes
2014 bytes
Luke <clairst@uiuc.edu>: > Hilarious. Of course, my password DID (does not now) contain #. So yes, > that would comment out the rest of the line. Should have realized that > myself. I wonder if the config parser can be changed to allow this in some > way (read everything on a line starting with password = literally). The parser first removes comments, then extracts the parts left and right of the = from a config line. Only after that it checks for keywords like "password". I don't think extra code should be added just to treat one line different. IMO it would be more reasonable to make it ignore any # that immediately follows a non-whitespace character. If you need that feature you should send a request to the author. Jörg
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads