Gnus development mailing list
 help / color / Atom feed
* strange rss feed error
@ 2020-03-08  9:44 Colin Baxter
  2020-03-08 10:35 ` dick.r.chiang
  2020-03-08 14:16 ` Andreas Schwab
  0 siblings, 2 replies; 3+ messages in thread
From: Colin Baxter @ 2020-03-08  9:44 UTC (permalink / raw)
  To: ding


Hello,

I have an odd error with gnus. Occasionally when doing "M-x gnus <RET>"
I get a "Bad Request" error on one of my rss feeds:
"http://www.medworm.com/rss/medicalfeeds/source/Annals+of+Physics.xml". But
if I then  close the empty gnus buffer and immediately do "M-x gnus <RET>"
again the medworm.com feed loads correctly and I can proceed as normal.

I assume the medworm.com server is not configured correctly since I have
other rss feeds that do not throw any error. I am curious however if
anyone else has experienced anything similar. I have appended the
debugger output below.

Debugger entered--Lisp error: (file-error "http://www.medworm.com/rss/medicalfeeds/source/Annals+of+Physics.xml" "Bad Request")
  (signal file-error ("http://www.medworm.com/rss/medicalfeeds/source/Annals+of+Physics.xml" "Bad Request"))
  (nnrss-fetch "http://www.medworm.com/rss/medicalfeeds/source/Annals+of+Physics.xml")
  (nnrss-check-group "AnnPhys" "")
  (nnrss-retrieve-groups ("PRL" "PRA" "AnnPhys") "")
  (gnus-retrieve-groups ("PRL" "PRA" "AnnPhys") (nnrss ""))
  (gnus-read-active-file-2 ("PRL" "PRA" "AnnPhys") (nnrss ""))
  (gnus-read-active-for-groups (nnrss "") (("nnrss:PRL" 3 ((1 . 3486)) ((unexist) (seen (1 . 100) (201 . 352) (365 . 856) (867 . 1109) (1126 . 1790) (1792 . 2108) (2115 . 2904) (2914 . 3055) (3065 . 3486))) (nnrss "")) ("nnrss:PRA" 3 ((1 . 382)) ((unexist) (seen (1 . 100) (117 . 319) (321 . 335) (337 . 340) (342 . 371) (373 . 382))) (nnrss "")) ("nnrss:AnnPhys" 3 ((1 . 2321)) ((unexist) (seen (1908 . 2321))) (nnrss ""))) nil)
  (gnus-get-unread-articles nil nil)
  (gnus-setup-news nil nil nil)
  (#f(compiled-function () #<bytecode 0x2ce36bd>))
  (gnus-1 nil nil nil)
  (gnus nil)
  (funcall-interactively gnus nil)
  (call-interactively gnus record nil)
  (command-execute gnus record)
  (execute-extended-command nil "gnus" "gnus")
  (funcall-interactively execute-extended-command nil "gnus" "gnus")
  (call-interactively execute-extended-command nil nil)
  (command-execute execute-extended-command)
---- End debugger -------

Best wishes,
 
Colin Baxter
www.Colin-Baxter.com




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

* Re: strange rss feed error
  2020-03-08  9:44 strange rss feed error Colin Baxter
@ 2020-03-08 10:35 ` dick.r.chiang
  2020-03-08 14:16 ` Andreas Schwab
  1 sibling, 0 replies; 3+ messages in thread
From: dick.r.chiang @ 2020-03-08 10:35 UTC (permalink / raw)
  To: Colin Baxter; +Cc: ding

This looks correct.  `url-insert-file-contents` calls
`url-retrieve-synchronously` which bails on a 400 Error.

If you unset `debug-on-quit` or `debug-on-error`, you'll merely get a message
"Failed to fetch" instead of aborting the gnus initialization.



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

* Re: strange rss feed error
  2020-03-08  9:44 strange rss feed error Colin Baxter
  2020-03-08 10:35 ` dick.r.chiang
@ 2020-03-08 14:16 ` Andreas Schwab
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Schwab @ 2020-03-08 14:16 UTC (permalink / raw)
  To: Colin Baxter; +Cc: ding

On Mär 08 2020, Colin Baxter wrote:

> Debugger entered--Lisp error: (file-error "http://www.medworm.com/rss/medicalfeeds/source/Annals+of+Physics.xml" "Bad Request")
>   (signal file-error ("http://www.medworm.com/rss/medicalfeeds/source/Annals+of+Physics.xml" "Bad Request"))
>   (nnrss-fetch "http://www.medworm.com/rss/medicalfeeds/source/Annals+of+Physics.xml")

Perhaps www.medworm.com is employing some kind of rate-limiting.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



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

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-08  9:44 strange rss feed error Colin Baxter
2020-03-08 10:35 ` dick.r.chiang
2020-03-08 14:16 ` Andreas Schwab

Gnus development mailing list

Archives are clonable: git clone --mirror http://inbox.vuxu.org/ding

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.emacs.gnus.general


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git