Curl error 92 on trying to add feed

Open
#3,994 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
php
Domain
backend

Research direction

The report gives a reproducible feed URL and the cURL error 92 response, but no code path. Start by reproducing the add-feed flow against https://www.cbc.ca/webfeed/rss/rss-topstories and compare it with the working CLI request, then trace the app's feed-fetching HTTP client and its HTTP/2/cURL handling. Done means the feed can be added, or the fetcher falls back cleanly instead of surfacing a transport error.

Written by the indexing model from the issue text.

Description

bug

IMPORTANT

Read and tick the following checkbox after you have created the issue or place an x inside the brackets ;)

  • I have read the CONTRIBUTING.md and followed the provided tips
  • I accept that the issue will be closed without comment if I do not check here
  • I accept that the issue will be closed without comment if I do not fill out all items in the issue template.

Explain the Problem

When trying to add https://www.cbc.ca/webfeed/rss/rss-topstories the following error is displayed:

Transport error for https://www.cbc.ca/webfeed/rss/rss-topstories: cURL error 92: HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2) (see https://curl.se/libcurl/c/libcurl-errors.html) for https://www.cbc.ca/webfeed/rss/rss-topstories

Note that from the command line this seems to work correctly.
~$ curl -v --http2 https://www.cbc.ca/webfeed/rss/rss-topstories

Steps to Reproduce

Attempt to add https://www.cbc.ca/webfeed/rss/rss-topstories

System Information

  • News app version: 28.7.0
  • Nextcloud version: 34.0.5
  • Cron type: (system cron/python updater/...) cron
  • PHP version: 8.2.35
  • Database and version: Mariadb 10.5
  • Browser and version: Firefox Linux 159
  • OS and version: Debian 12.15
Dominant language
PHP
Stars
1k
Forks
200
Avg merge
20h 28m
Merged PRs (30d)
32

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nextcloud/news

All issues in nextcloud/news

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.