Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Unable to see nntp lists when added to secondary sources
@ 2015-12-21 16:52 B.V. Raghav
  2015-12-21 16:57 ` Adam Sjøgren
  0 siblings, 1 reply; 10+ messages in thread
From: B.V. Raghav @ 2015-12-21 16:52 UTC (permalink / raw)
  To: info-gnus-english

Hi,

I am using built-in gnus 5.13 with emacs 24.5

There are two nntp servers from which I want to fetch news. I have them
in my gnus.el in the following manner.
    
    (setq gnus-select-method
          '(nntp "gmane"
    	     (nntp-address "news.gmane.org")
    	     ))
    
    (add-to-list 'gnus-secondary-select-methods
    	     '(nntp "narad"
    		    (nntp-address "narad.iitk.ac.in")
    		    )
    	     )

    ;; More imap methods as secondary sources

When I press `A A' in the *Group* buffer, I see all the lists by gmane,
and all the imap folders. But I cant see the lists by the narad
server. Though emacs asks for authentication (user-pass) on gnus
startup.

How can i fetch news from an nntp server added as secondary source to
gnus?

r

-- 
(B.V. Raghav)



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Unable to see nntp lists when added to secondary sources
  2015-12-21 16:52 Unable to see nntp lists when added to secondary sources B.V. Raghav
@ 2015-12-21 16:57 ` Adam Sjøgren
  2015-12-22  3:38   ` B.V. Raghav
  0 siblings, 1 reply; 10+ messages in thread
From: Adam Sjøgren @ 2015-12-21 16:57 UTC (permalink / raw)
  To: info-gnus-english

B.V. writes:

> How can i fetch news from an nntp server added as secondary source to
> gnus?

What happens if you in the *Group* buffer press "^" to get to the
*Server* buffer - does it contain the new nntp server?

If you type RET with point in the new nntp server, you should be able to
subscribe to newsgroups on it (using "u"), and they should show up in
the *Group* buffer afterwards.

Exit with "q".


  Best regards,

    Adam

-- 
 "Apparantly I was misinformed."                              Adam Sjøgren
                                                         asjo@koldfront.dk


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Unable to see nntp lists when added to secondary sources
  2015-12-21 16:57 ` Adam Sjøgren
@ 2015-12-22  3:38   ` B.V. Raghav
  2015-12-22 12:45     ` Adam Sjøgren
  0 siblings, 1 reply; 10+ messages in thread
From: B.V. Raghav @ 2015-12-22  3:38 UTC (permalink / raw)
  To: Adam Sjøgren; +Cc: info-gnus-english

asjo@koldfront.dk (Adam Sjøgren) writes:
>
> What happens if you in the *Group* buffer press "^" to get to the
> *Server* buffer - does it contain the new nntp server?

Yes the nntp server is listed in the server buffer.

>
> If you type RET with point in the new nntp server, you should be able to
> subscribe to newsgroups on it (using "u"), and they should show up in
> the *Group* buffer afterwards.

However, there are no newsgroups that show up there!
Any suggestions?

-- 
(B.V. Raghav)


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Unable to see nntp lists when added to secondary sources
  2015-12-22  3:38   ` B.V. Raghav
@ 2015-12-22 12:45     ` Adam Sjøgren
  2015-12-22 15:18       ` B.V. Raghav
  0 siblings, 1 reply; 10+ messages in thread
From: Adam Sjøgren @ 2015-12-22 12:45 UTC (permalink / raw)
  To: info-gnus-english

B.V. writes:

> Yes the nntp server is listed in the server buffer.

Ok, that's a start :-)

> However, there are no newsgroups that show up there!
> Any suggestions?

Maybe authentication fails, and the news-server doesn't want to serve
you any groups?

Wild guess...


  Best regards,

    Adam

-- 
 "If not actually disgruntled, he was far from being          Adam Sjøgren
  gruntled."                                             asjo@koldfront.dk


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Unable to see nntp lists when added to secondary sources
  2015-12-22 12:45     ` Adam Sjøgren
@ 2015-12-22 15:18       ` B.V. Raghav
  2015-12-22 15:40         ` B.V. Raghav
  0 siblings, 1 reply; 10+ messages in thread
From: B.V. Raghav @ 2015-12-22 15:18 UTC (permalink / raw)
  To: Adam Sjøgren; +Cc: info-gnus-english

asjo@koldfront.dk (Adam Sjøgren) writes:

> B.V. writes:
>
>> Yes the nntp server is listed in the server buffer.
>
> Ok, that's a start :-)
>
Yeah... :) That's true; though I knew it happened.

>> However, there are no newsgroups that show up there!
>> Any suggestions?
>
> Maybe authentication fails, and the news-server doesn't want to serve
> you any groups?
>
> Wild guess...
>
Well, I hardcoded the authentication in the dot-authinfo.
And, it is still the same result. No progress!

Is there a way to enable detailed logs or something like that?

>
>   Best regards,
>
>     Adam

Thanks,
r
-- 
(B.V. Raghav)


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Unable to see nntp lists when added to secondary sources
  2015-12-22 15:18       ` B.V. Raghav
@ 2015-12-22 15:40         ` B.V. Raghav
  2015-12-22 16:23           ` Adam Sjøgren
  0 siblings, 1 reply; 10+ messages in thread
From: B.V. Raghav @ 2015-12-22 15:40 UTC (permalink / raw)
  To: Adam Sjøgren; +Cc: info-gnus-english

Hi,

>>
> Well, I hardcoded the authentication in the dot-authinfo.
> And, it is still the same result. No progress!
>
I started `emacs -Q' `M-x gnus' and `^'
Then `M-x gnus-server-add-server' followed by
`nntp RET <server-host-name> RET'
The server is listed and marked open. However, there are no newsgroups
shown.

Is there a way to enable detailed logs or something like that?

Thanks,
r
-- 
(B.V. Raghav)


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Unable to see nntp lists when added to secondary sources
  2015-12-22 15:40         ` B.V. Raghav
@ 2015-12-22 16:23           ` Adam Sjøgren
  2015-12-22 17:07             ` B.V. Raghav
  0 siblings, 1 reply; 10+ messages in thread
From: Adam Sjøgren @ 2015-12-22 16:23 UTC (permalink / raw)
  To: info-gnus-english

B.V. writes:

> I started `emacs -Q' `M-x gnus' and `^'
> Then `M-x gnus-server-add-server' followed by
> `nntp RET <server-host-name> RET'
> The server is listed and marked open. However, there are no newsgroups
> shown.

It is unclear to me where you look for the list of newsgroups. You press
RET on the server in *Server* buffer, right?

> Is there a way to enable detailed logs or something like that?

There is:

,----[ C-h v nntp-record-commands RET ]
| nntp-record-commands is a variable defined in `nntp.el'.
| Its value is nil
| 
| Documentation:
| *If non-nil, nntp will record all commands in the "*nntp-log*" buffer.
|
`----

ngrep(8) is also good for this kind of debugging (if you're using an
unencrypted connection to the nntp server).


  Best regards,

    Adam

-- 
 "Vejen ender, bålet brænder                                  Adam Sjøgren
  Det brænder for dig, Alexander"                        asjo@koldfront.dk


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Unable to see nntp lists when added to secondary sources
  2015-12-22 16:23           ` Adam Sjøgren
@ 2015-12-22 17:07             ` B.V. Raghav
  2015-12-22 18:10               ` Adam Sjøgren
  0 siblings, 1 reply; 10+ messages in thread
From: B.V. Raghav @ 2015-12-22 17:07 UTC (permalink / raw)
  To: Adam Sjøgren; +Cc: info-gnus-english

Hi,

asjo@koldfront.dk (Adam Sjøgren) writes:

> It is unclear to me where you look for the list of newsgroups. You press
> RET on the server in *Server* buffer, right?

I was looking into the `Gnus: *Gnus Browse Server* {nntp:narad}'
buffer. And I had cross-checked with the gmane nntp newsgroups list, to
be sure I was right.


> ,----[ C-h v nntp-record-commands RET ]
> | nntp-record-commands is a variable defined in `nntp.el'.
> | Its value is nil
> | 
> | Documentation:
> | *If non-nil, nntp will record all commands in the "*nntp-log*" buffer.
> |
> `----
>
The nntp-log says:
    
    20151222T221526.723 narad.iitk.ac.in MODE READER
    20151222T221546.845 narad.iitk.ac.in LIST
    20151222T221546.855 narad.iitk.ac.in AUTHINFO USER ****
    20151222T221546.860 narad.iitk.ac.in AUTHINFO PASS ****
    20151222T221546.874 narad.iitk.ac.in LIST
    
But still there is no newsgroup in the list

> ngrep(8) is also good for this kind of debugging (if you're using an
> unencrypted connection to the nntp server).
>
This seems to be the most crucial tool suggested into the thread. The
ngrep during server close and open showed the following:

  200 narad InterNetNews NNRP server INN 2.5.3 ready (no posting)..

Does it mean that the nntp server is not sending any newsgroups in the
list?

Thanks,
r
-- 
(B.V. Raghav)


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Unable to see nntp lists when added to secondary sources
  2015-12-22 17:07             ` B.V. Raghav
@ 2015-12-22 18:10               ` Adam Sjøgren
  2015-12-23  2:44                 ` B.V. Raghav
  0 siblings, 1 reply; 10+ messages in thread
From: Adam Sjøgren @ 2015-12-22 18:10 UTC (permalink / raw)
  To: info-gnus-english

B.V. writes:

> I was looking into the `Gnus: *Gnus Browse Server* {nntp:narad}'
> buffer. And I had cross-checked with the gmane nntp newsgroups list, to
> be sure I was right.

Ok, that sounds right.

> The nntp-log says:
>     
>     20151222T221526.723 narad.iitk.ac.in MODE READER
>     20151222T221546.845 narad.iitk.ac.in LIST
>     20151222T221546.855 narad.iitk.ac.in AUTHINFO USER ****
>     20151222T221546.860 narad.iitk.ac.in AUTHINFO PASS ****
>     20151222T221546.874 narad.iitk.ac.in LIST
>     
> But still there is no newsgroup in the list

The replies would be more interesting to see...

>   200 narad InterNetNews NNRP server INN 2.5.3 ready (no posting)..
>
> Does it mean that the nntp server is not sending any newsgroups in the
> list?

Nah, it just says "Hello I'm INN, and you can't post yet", probably
either because MODE READER hasn't been issued yet, or because you
haven't authenticated yet at this point.

What does ngrep show the server returning after the second LIST command
is issued by Gnus? If it returns an empty list, that is why Gnus doesn't
show any groups.

("ngrep -Wbyline port nntp" can be a useful set of command line options
to use.)


  Best regards,

    Adam

-- 
 "Oh, I don't present solutions, just dramatic                Adam Sjøgren
  problems."                                             asjo@koldfront.dk


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Unable to see nntp lists when added to secondary sources
  2015-12-22 18:10               ` Adam Sjøgren
@ 2015-12-23  2:44                 ` B.V. Raghav
  0 siblings, 0 replies; 10+ messages in thread
From: B.V. Raghav @ 2015-12-23  2:44 UTC (permalink / raw)
  To: Adam Sjøgren; +Cc: info-gnus-english

Hi

The problem was somewhere with the server. I had written to the admin
and the problem vanished.

So long and thanks for all the fish.
r
-- 
(B.V. Raghav)


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-12-23  2:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-21 16:52 Unable to see nntp lists when added to secondary sources B.V. Raghav
2015-12-21 16:57 ` Adam Sjøgren
2015-12-22  3:38   ` B.V. Raghav
2015-12-22 12:45     ` Adam Sjøgren
2015-12-22 15:18       ` B.V. Raghav
2015-12-22 15:40         ` B.V. Raghav
2015-12-22 16:23           ` Adam Sjøgren
2015-12-22 17:07             ` B.V. Raghav
2015-12-22 18:10               ` Adam Sjøgren
2015-12-23  2:44                 ` B.V. Raghav

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).