Skip to content

Conversation

@LordArrin
Copy link
Contributor

Won't work without API anymore

Won't work without API anymore

 Bridge returned error 401! (20449)
2025-12-27 03:26:04

https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401
Details
Type: HttpException
Code: 401
Message: https://gelbooru.com/index.php?&page=dapi&s=post&q=index&json=1&pid=0&limit=&tags= resulted in 401 Unauthorized
File: lib/http.php
Line: 34
Trace
#0 index.php(73): RssBridge->main()
#1 lib/RssBridge.php(39): RssBridge->{closure}()
RSS-Bridge#2 lib/RssBridge.php(37): BasicAuthMiddleware->__invoke()
RSS-Bridge#3 middlewares/BasicAuthMiddleware.php(13): RssBridge->{closure}()
RSS-Bridge#4 lib/RssBridge.php(37): CacheMiddleware->__invoke()
RSS-Bridge#5 middlewares/CacheMiddleware.php(44): RssBridge->{closure}()
RSS-Bridge#6 lib/RssBridge.php(37): ExceptionMiddleware->__invoke()
RSS-Bridge#7 middlewares/ExceptionMiddleware.php(17): RssBridge->{closure}()
RSS-Bridge#8 lib/RssBridge.php(37): SecurityMiddleware->__invoke()
RSS-Bridge#9 middlewares/SecurityMiddleware.php(19): RssBridge->{closure}()
RSS-Bridge#10 lib/RssBridge.php(37): MaintenanceMiddleware->__invoke()
RSS-Bridge#11 middlewares/MaintenanceMiddleware.php(10): RssBridge->{closure}()
RSS-Bridge#12 lib/RssBridge.php(37): TokenAuthenticationMiddleware->__invoke()
RSS-Bridge#13 middlewares/TokenAuthenticationMiddleware.php(10): RssBridge->{closure}()
RSS-Bridge#14 lib/RssBridge.php(34): DisplayAction->__invoke()
RSS-Bridge#15 actions/DisplayAction.php(54): DisplayAction->createResponse()
RSS-Bridge#16 actions/DisplayAction.php(89): GelbooruBridge->collectData()
RSS-Bridge#17 bridges/GelbooruBridge.php(80): getContents()
RSS-Bridge#18 lib/contents.php(131): HttpException::fromResponse()
RSS-Bridge#19 lib/http.php(34)

Context
Query: action=display&bridge=GelbooruBridge&p=0&t=&l=&format=Html
Version: 2025-08-05
OS: Linux
PHP: 8.2.29
Won't work without API anymore

 Bridge returned error 403! (20449)
2025-12-27 03:31:25

403 Forbidden

The HTTP 403 Forbidden response status code indicates that the server understands the request but refuses to authorize it.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
Details
Type: HttpException
Code: 403
Message: https://rule34.xxx/index.php?&page=dapi&s=post&q=index&json=1&pid=0&limit=&tags= resulted in 403 Forbidden
File: lib/http.php
Line: 34
Trace
#0 index.php(73): RssBridge->main()
#1 lib/RssBridge.php(39): RssBridge->{closure}()
RSS-Bridge#2 lib/RssBridge.php(37): BasicAuthMiddleware->__invoke()
RSS-Bridge#3 middlewares/BasicAuthMiddleware.php(13): RssBridge->{closure}()
RSS-Bridge#4 lib/RssBridge.php(37): CacheMiddleware->__invoke()
RSS-Bridge#5 middlewares/CacheMiddleware.php(44): RssBridge->{closure}()
RSS-Bridge#6 lib/RssBridge.php(37): ExceptionMiddleware->__invoke()
RSS-Bridge#7 middlewares/ExceptionMiddleware.php(17): RssBridge->{closure}()
RSS-Bridge#8 lib/RssBridge.php(37): SecurityMiddleware->__invoke()
RSS-Bridge#9 middlewares/SecurityMiddleware.php(19): RssBridge->{closure}()
RSS-Bridge#10 lib/RssBridge.php(37): MaintenanceMiddleware->__invoke()
RSS-Bridge#11 middlewares/MaintenanceMiddleware.php(10): RssBridge->{closure}()
RSS-Bridge#12 lib/RssBridge.php(37): TokenAuthenticationMiddleware->__invoke()
RSS-Bridge#13 middlewares/TokenAuthenticationMiddleware.php(10): RssBridge->{closure}()
RSS-Bridge#14 lib/RssBridge.php(34): DisplayAction->__invoke()
RSS-Bridge#15 actions/DisplayAction.php(54): DisplayAction->createResponse()
RSS-Bridge#16 actions/DisplayAction.php(89): GelbooruBridge->collectData()
RSS-Bridge#17 bridges/GelbooruBridge.php(80): getContents()
RSS-Bridge#18 lib/contents.php(131): HttpException::fromResponse()
RSS-Bridge#19 lib/http.php(34)

Context
Query: action=display&bridge=Rule34Bridge&p=0&t=&l=&format=Html
Version: 2025-08-05
OS: Linux
PHP: 8.2.29
@github-actions
Copy link

github-actions bot commented Dec 27, 2025

Pull request artifacts

Bridge Context Status
Gelbooru 1 untitled (current) Bridge returned error 401! (20468)
Type: HttpException
Message: https://gelbooru.com/index.php?&page=dapi&s=post&q=index&json=1&pid=0&limit=&tags= resulted in 401 Unauthorized
Gelbooru 1 untitled (pr) Bridge returned error 0! (20468)
Type: Exception
Message: Required parameter(s) missing
Rule34 1 untitled (current) Bridge returned error 0! (20468)
Type: ErrorException
Message: foreach() argument must be of type arrayobject, string given
Rule34 1 untitled (pr) Bridge returned error 0! (20468)
Type: Exception
Message: Required parameter(s) missing

last change: Thursday 2026-01-15 19:49:12

@LordArrin
Copy link
Contributor Author

Fix #4848

@Mynacol Mynacol added the Bridge-Broken Confirmed broken bridge label Dec 31, 2025
[BarraqueiroBridges] Add three bridges (RSS-Bridge#4842)
Copy link
Contributor

@Mynacol Mynacol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, I reconsidered and am merging this. The bridge is currently broken, the required change is small and the site operators seem nice to use the API with.

If someone wants to avoid an API key, they can look into scraping the HTML page and send a PR.

Edit: I'm merging after you fix the CI error.

@LordArrin
Copy link
Contributor Author

LordArrin commented Jan 15, 2026

Yep, in few days. Reassembling my PC right now)

@Mynacol
Copy link
Contributor

Mynacol commented Jan 15, 2026

I went ahead and fixed it myself 😄

I cannot really test the bridge without API key (and no, I don't want to make one), but this should be fine for now.

@Mynacol Mynacol merged commit c4b681b into RSS-Bridge:master Jan 15, 2026
14 checks passed
@LordArrin
Copy link
Contributor Author

Nice 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bridge-Broken Confirmed broken bridge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants