Skip to content

Multiple Reuters bridges throwing a 401 error #4472

Open
@noodlejetski

Description

@noodlejetski

Describe the bug
when I'm trying to generate any Reuters, I get greeted with a 401 error. I noticed it when my Europe feed stopped updating, but the same problem comes up with virtually every other category I've tried.

To Reproduce

  1. go to https://rss-bridge.org/bridge01/
  2. pick "Reuters" bridge
  3. select "europe" category (which, by the way, is the only one starting with a small letter, the rest of them are capitalised)
  4. witness the error code:
Type: HttpException
Code: 401
Message: https://www.reuters.com/pf/api/v3/content/fetch/articles-by-section-alias-or-id-v1?query={"section_id":"\/world\/europe","size":30,"website":"reuters","fetch_type":"section"} resulted in 401 Unauthorized
File: lib/http.php
Line: 36

Trace
#0 index.php(68): 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(502): getContents()
#18 lib/contents.php(118): HttpException::fromResponse()
#19 lib/http.php(36)

Expected behavior
a ready-to-import config for your RSS reader of choice

Desktop (please complete the following information):

  • OS: Linux
  • Browser: Firefox 136

Additional context
the feeds that don't show the 401 error are in turn affected by #4463

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug-ReportConfirmed bug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions