🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by Florian Zschocke Thu, 08 Apr 2004 20:36
Access to public nntp server -> 502
#68951
Author: Florian Zschocke
Date: Thu, 08 Apr 2004 20:36
15 lines
1702 bytes
Hello NG

I'm working on a new news-reader program. It will have the
possibility to have multiple  server entries. I only have access to one server (of my provider )
So searched in the internet for a public server and found some. If I try to talk to these serve
I always get a 502 response.
How can I start the communication if I do not login. I tried to set
mode : reader in the first command with no success ( 502 response )

Thank you for your time and help

Floria

P.S.: I Hope the lines are not too long - I still don't have auto-wra
         feature.
Re: Access to public nntp server -> 502
#68952
Author: Russ Allbery
Date: Thu, 08 Apr 2004 20:54
17 lines
1868 bytes
Florian Zschocke <edv@zschocke-berlin.de> writes:

> I'm working on a new news-reader program. It will have the possibility
> to have multiple server entries. I only have access to one server (of my
> provider ).  So searched in the internet for a public server and found
> some. If I try to talk to these server I always get a 502 response.

That would indicate that they're not public servers.

You should be able to get an account with news.individual.net, though.
See their web page.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Access to public nntp server -> 502
#68953
Author: Florian Zschocke
Date: Thu, 08 Apr 2004 21:25
12 lines
1544 bytes
Russ Allbery <rra@stanford.edu> wrote:

>That would indicate that they're not public servers.
>
>You should be able to get an account with news.individual.net, though.
>See their web page.
>
Thank you Russ
On this server I can get a grouplist. But when I try to get th
headers from a group (with a XOVER) I always get a 480

Florian
Re: Access to public nntp server -> 502
#68954
Author: Jeffrey M. Vinocur
Date: Thu, 08 Apr 2004 22:30
16 lines
1655 bytes
In article <4075c33c$0$19659$9b4e6d93@newsread2.arcor-online.net>,
Florian Zschocke  <edv@zschocke-berlin.de> wrote:
>Russ Allbery <rra@stanford.edu> wrote:
>
>>You should be able to get an account with news.individual.net, though.
>>See their web page.
>>
>On this server I can get a grouplist. But when I try to get the
>headers from a group (with a XOVER) I always get a 480.

Yes, you need to get an account.  See http://news.individual.net/.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Access to public nntp server -> 502
#68956
Author: Mike Lischke
Date: Fri, 09 Apr 2004 09:15
14 lines
1772 bytes
Florian Zschocke wrote

>I'm working on a new news-reader program. It will have the
>possibility to have multiple  server entries. I only have access to one server (of my provider ).

I'm running a newserver with groups for my own software. This one does not need an account but carries only a handful groups. However for testing it should be fine I think so feel free to use it for your newsreader (news.soft-gems.net).

Mike
--
www.soft-gems.net
Re: Access to public nntp server -> 502
#68957
Author: Florian Zschocke
Date: Fri, 09 Apr 2004 10:05
9 lines
1372 bytes
"Mike Lischke" <public@lischke-online.de> wrote:

>I'm running a newserver with groups for my own software. This one does not
need an account but carries only a handful groups. However for testing it
should be fine I think so feel free to use it for your newsreader
(news.soft-gems.net).

Thank you, I will try that now
Re: Access to public nntp server -> 502
#68958
Author: Florian Zschocke
Date: Fri, 09 Apr 2004 10:23
17 lines
1791 bytes
"Mike Lischke" <public@lischke-online.de> wrote:

>I'm running a newserver with groups for my own software. This one does not
need an account but carries only a handful groups. However for testing it
should be fine I think so feel free to use it for your newsreader
(news.soft-gems.net).

Hello Mike
I can't get the group-list with the list newsgroups command the way
I get it from other server. This is for me interesting because I want to
proof my software so that it can talk to all servers. In this case I check for a ".
at the beginning of a line.
>From your server I get a 215 .... and than there is a "." at beginning of a line.
My program terminates the reading from socket than - but that may be wrong 

Floria
 
Re: Access to public nntp server -> 502
#68959
Author: Jeffrey M. Vinocur
Date: Fri, 09 Apr 2004 10:29
25 lines
2095 bytes
In article <40767997$0$20550$9b4e6d93@newsread4.arcor-online.net>,
Florian Zschocke  <edv@zschocke-berlin.de> wrote:
>
>I can't get the group-list with the list newsgroups command the way 
>I get it from other server. This is for me interesting because I want to 
>proof my software so that it can talk to all servers. In this case I
>check for a "." at the beginning of a line. 
>From your server I get a 215 .... and than there is a "." at beginning
>of a line. 

Yes, that means that his server does not have descriptions for
any newsgroups.  Recall that descriptions are optional; you
should retrieve the actual group list from LIST ACTIVE and only
use LIST NEWSGROUPS for supplemental information.


>My program terminates the reading from socket than - but that may be wrong ?

Well, it would be better to try sending QUIT if you encounter
something your program can't handle.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Access to public nntp server -> 502
#68960
Author: Florian Zschocke
Date: Fri, 09 Apr 2004 13:21
17 lines
1782 bytes
jeff@litech.org (Jeffrey M. Vinocur) wrote:
>
>
>Yes, that means that his server does not have descriptions for
>any newsgroups.  Recall that descriptions are optional; you
>should retrieve the actual group list from LIST ACTIVE and only
>use LIST NEWSGROUPS for supplemental information.
>
Ok I had to ipmplement this command first. Now that works fine for me
But I like the description so I will try "list newsgroups " first.
The program can handle mutliple server without problems
The next step will be to thread the thing, so that I can have one
group - server - communication in a separate task
Thank you, I will go on to browse in your server and if you find something
ugly in your log-files please inform me

Florian
Re: Access to public nntp server -> 502
#69007
Author: J.B. Moreno
Date: Tue, 20 Apr 2004 04:07
13 lines
1493 bytes
Florian Zschocke <edv@zschocke-berlin.de> wrote:

> P.S.: I Hope the lines are not too long - I still don't have auto-wrap
>          feature.

Your other messages show a problem with not having a CRLF at the end of
each line, but instead just a LF.

Also, you should be including a User-Agent header, identifying your
program, so that people know who to blame for stuff like that...

-- 
J.B. Moreno
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