nntp fails to download big groups and when adding many groups will also fail to load any of them #269

Closed
opened 2023-08-01 19:39:08 +03:00 by r3k2 · 4 comments

Two similar issues I noticed this last days that may be related in the way news are pulled from the server:

  • I have one group that will never finish loading group articles/news if you want to test is news.software.nntp
  • I decided to add some of the groups I usually read/post every day and now will not load,
    I get a on-moving msg like this below in grey but I left it like 2 hours while I was out and never finished loading any of the groups (I changed the numbers a bit just in case )
<<scrolls<-- 8d1dc2f-8ea7-472b-aabf-1b7a77d0682a <<--scrolls: JobRequest::Mailboxes 

we are talking about around 23 active usenet groups, I usually subscribe to around 38 give or take.

Two similar issues I noticed this last days that may be related in the way news are pulled from the server: - I have one group that will never finish loading group articles/news if you want to test is news.software.nntp - I decided to add some of the groups I usually read/post every day and now will not load, I get a on-moving msg like this below in grey but I left it like 2 hours while I was out and never finished loading any of the groups (I changed the numbers a bit just in case ) ``` <<scrolls<-- 8d1dc2f-8ea7-472b-aabf-1b7a77d0682a <<--scrolls: JobRequest::Mailboxes ``` we are talking about around 23 active usenet groups, I usually subscribe to around 38 give or take.

@r3k2 Thanks for the bug report, I tried news.software.nntp and I got the same problem as you. Turns out it was an infinite loop in the From: address parsing. I have made a PR but haven't merged it yet, in case there are still groups not loading for you.

@r3k2 Thanks for the bug report, I tried `news.software.nntp` and I got the same problem as you. Turns out it was an infinite loop in the From: address parsing. I have made a PR but haven't merged it yet, in case there are still groups not loading for you.
Manos Pitsidianakis added the
bug
label 2023-08-05 16:19:43 +03:00

@epilys you fixed the issue with news.software.nntp but the one related to having more groups like 20 or so of them is still and issue.

@epilys you fixed the issue with news.software.nntp but the one related to having more groups like 20 or so of them is still and issue.

@r3k2 turns out because the mailbox was too big it exceeded the NNTP max limit of command length (512 bytes) which was not taken into account before. I fixed the faulty command and also added an error warning if any other command does that in the future as well.

@r3k2 turns out because the mailbox was too big it exceeded the NNTP max limit of command length (512 bytes) which was not taken into account before. I fixed the faulty command and also added an error warning if any other command does that in the future as well.

@epilys As I commented in the PR, I think this is working great now. Thanks so much, hopefully it hits master soon and with the header adding thing should be fully usable as a newsreader.

@epilys As I commented in the PR, I think this is working great now. Thanks so much, hopefully it hits master soon and with the header adding thing should be fully usable as a newsreader.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: meli/meli#269
There is no content yet.