RSS-Bridge / RSS-Bridge/rss-bridge

Can't get Reuters 401 ERROR

Open
#4,615 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Bug-Report
Dominant language
PHP
Stars
9.2k
Forks
1.2k
Avg merge
12h 45m
Merged PRs (30d)
2

Description

Describe the bug
I cannot generate a feed for Reuters. If I try, I get a 401 HTTP ERROR.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://rss-bridge.org/bridge01/#bridge-ReutersBridge or just search Reuters
  2. Click generate feed

Details
Type: HttpException
Code: 401
Message: https://www.reuters.com/pf/api/v3/content/fetch/articles-by-section-alias-or-id-v1?query={"section_id":"\/home","size":30,"website":"reuters"} resulted in 401 Unauthorized
File: lib/http.php
Line: 36
Trace
#0 index.php(73): RssBridge->main()
#1 lib/RssBridge.php(39): RssBridge->{closure}()
#2 lib/RssBridge.php(37): CacheMiddleware->__invoke()
#3 middlewares/CacheMiddleware.php(44): RssBridge->{closure}()
#4 lib/RssBridge.php(37): ExceptionMiddleware->__invoke()
#5 middlewares/ExceptionMiddleware.php(17): RssBridge->{closure}()
#6 lib/RssBridge.php(37): SecurityMiddleware->__invoke()
#7 middlewares/SecurityMiddleware.php(19): RssBridge->{closure}()
#8 lib/RssBridge.php(37): MaintenanceMiddleware->__invoke()
#9 middlewares/MaintenanceMiddleware.php(10): RssBridge->{closure}()
#10 lib/RssBridge.php(37): BasicAuthMiddleware->__invoke()
#11 middlewares/BasicAuthMiddleware.php(13): RssBridge->{closure}()
#12 lib/RssBridge.php(37): TokenAuthenticationMiddleware->__invoke()
#13 middlewares/TokenAuthenticationMiddleware.php(10): RssBridge->{closure}()
#14 lib/RssBridge.php(34): DisplayAction->__invoke()
#15 actions/DisplayAction.php(54): DisplayAction->createResponse()
#16 actions/DisplayAction.php(90): ReutersBridge->collectData()
#17 bridges/ReutersBridge.php(149): getContents()
#18 lib/contents.php(106): HttpException::fromResponse()
#19 lib/http.php(36)

Context
Query: action=display&bridge=ReutersBridge&feed=home/topnews&format=Html
Version: 2025-01-26 (git.master.b8064d9)
OS: Linux
PHP: 7.4.33

Expected behavior
I don't know. Anything?

Smartphone (please complete the following information):

  • Device: Galaxy s25 plus
  • OS: 15
  • Browser Fennec
  • Version latest

Contributor guide

Open the contributing guide

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.

Research direction

Start in bridges/ReutersBridge.php around line 149 and follow the Reuters request into lib/http.php at line 36. Reproduce the ReutersBridge home/topnews request and inspect the 401 response and request details. Done means the Reuters feed request is handled successfully or the issue's expected behavior and limitation are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.