After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 772116 - 500 MODE READER - JamNNTPd
500 MODE READER - JamNNTPd
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
0.13.0.92
Other Linux
: Normal major
: ---
Assigned To: pan-maint
pan-maint
Depends on:
Blocks:
 
 
Reported: 2016-09-28 12:18 UTC by dlsauers
Modified: 2016-11-23 21:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Treat a 500 response to MODE READER as OK. (1.21 KB, patch)
2016-11-12 16:47 UTC, Per Hedeland
none Details | Review

Description dlsauers 2016-09-28 12:18:14 UTC
Some NNTP servers no longer utilize "MODE READER" or ever supported it.

JamNNTPd  is one which does NOT support this.

http://ftnapps.sourceforge.net/jamnntpd.html

Connected to news.wpusa.dynip.com.
Escape character is '^]'.
200 Welcome to JamNNTPd/OS2 1.21.b9/wpusa (posting may or may not be allowed, try your luck)
MODE READER
500 Unknown command
LIST
215 List of newsgroups follows
+getaccess+ 2 2 n
fido.netmail 722 720 n
wpusa.newfiles 15383 15240 n
wpusa.postoffice 839 797 n
fido.10th_amd 161 86 n
fido.abled 189 149 n
fido.adept_sysop 21 14 n
fido.aftershock 111 61 n
fido.alaska_chat 69 23 n
fido.all-politics 6448 3547 n
fido.allfix_file 88945 88391 n
fido.allfix_help 2035 1427 n
fido.alt-bbs-ads 4875 4794 n
fido.alt-comp-anti-virus 6685 4817 n
fido.amateur_radio 2036 1236 n
fido.amiga 1251 24 n
fido.anti_virus 1984 1887 n
fido.antiques 757 45 n
fido.aquarium 2896 2887 n
fido.argus 3497 3214 n
fido.arrowbridge 7497 7461 n
fido.artware 11147 11085 n
fido.asian_link 3279 1369 n
fido.automotive 91675 91519 n
fido.babylon5 1270 975 n
fido.bama 1205 676 n
fido.batpower 342 290 n
fido


Rather than erroring out and going offline, ignore that error and get the list of groups.

Version 0.139 AMD64 *buntu 14.04.5 from the PPA

It affects all versions, as an older one does the same thing.

Have to specifically use something else to get access to these servers which is not Pan and not preferred solution.
Comment 1 dlsauers 2016-09-28 12:32:36 UTC
See JamNNTPd bug #6

https://sourceforge.net/p/ftnapps/jamnntpd/tickets/6/
Comment 2 Per Hedeland 2016-11-12 16:46:32 UTC
I agree with the reporter - even though it is reasonable to expect an NNTP server to support this command, if only to give a positive response without actually doing anything, there is no real reason for Pan to *require* it. The command is issued only to make servers that *need* it (such as INN) switch to reader mode - if a server gives a 500 "Command not understood" response, it obviously *doesn't* need to have the command issued, and Pan can just go about its business. I'm attaching a patch to implement this.
Comment 3 Per Hedeland 2016-11-12 16:47:49 UTC
Created attachment 339702 [details] [review]
Treat a 500 response to MODE READER as OK.
Comment 4 Petr Kovar 2016-11-23 21:24:52 UTC
Thank you, Per. Pushed to master as 194f2dc09dead55b6bc0e0ce49ce8b0d86ed65c4.