Error message: The requested resouce cannot be found!
Please make sure your input parameters are correct!
Query string: action=display&bridge=Youtube&s=jessica+world&pa=&duration_min=0&duration_max=300&_cache_timeout=180&format=Atom
Version: git.master.cb488d9
I don't know if this is the same with #875. I get this error sometimes on all bridges that I use.
Thanks for opening this issue!
Your error message is returned from one of the core functions of RSS-Bridge, responsible for downloading data from the internet: https://github.com/RSS-Bridge/rss-bridge/blob/b4b5340b7ee22a6d7098c70794532ed8864fad81/lib/contents.php#L50-L54
The error message is returned if the server didn't respond with "200 OK". So, either the server responded with a different error code, or it didn't respond at all (no connection).
I get this error sometimes on all bridges that I use.
This could indicate connection issues on your server. Can you log the error codes and header data for those situations? These parameters are especially interesting: https://github.com/RSS-Bridge/rss-bridge/blob/b4b5340b7ee22a6d7098c70794532ed8864fad81/lib/contents.php#L35-L36
I've added some additional debug messages to master to track down this issue. Please use that version with debug mode enabled on your server and see if you get log entries that may be of help. See the commit diff for more information.
I'm probably getting this because of unstable connection. The problem is I keep getting feed entries titled "Bridge returned error 0! (17832)". Feed readers have the function to notify the user if the feed is unreachable. These additional entries are redundant and annoying.
Debug log:
2018/10/28 12:45:58 [error] 12122#12122: *2260 FastCGI sent in stderr: "PHP message: /home/user/git/rss-bridge/bridges/TwitterBridge.php:110 class <no-class>->getSimpleHTMLDOM - Reading contents from "https://twitter.com/sicafeed"
PHP message: /home/user/git/rss-bridge/bridges/TwitterBridge.php:110 class <no-class>->getSimpleHTMLDOM - Cant't download https://twitter.com/sicafeed cUrl error: Could not resolve host: twitter.com (6)
PHP message: /home/user/git/rss-bridge/bridges/TwitterBridge.php:110 class <no-class>->getSimpleHTMLDOM - Response header:
PHP message: HttpException: The requested resouce cannot be found!
Please make sure your input parameters are correct! in /home/user/git/rss-bridge/lib/error.php:3
Stack trace:
#0 /home/user/git/rss-bridge/lib/contents.php(70): returnError('The requested r...', 0)
#1 /home/user/git/rss-bridge/lib/contents.php(86): getContents('https://twitter...', '', Array)
#2 /home/user/git/rss-bridge/bridges/TwitterBridge.php(110): getSimpleHTMLDOM('https://twitter...')
#3 /home/user/git/rss-bridge/index.php(256): TwitterBridge->collectData()
#4 {main}" while reading response header from upstream, client: 192.168.2.20, server: rss-bridge.server.lan, request: "GET /?action=display&bridge=Twitter&u=sicafeed&norep=on&noretweet=on&nopic=on&_cache_timeout=180&format=Atom HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.sock:", host: "rss-bridge.server.lan"
Perhaps solution for this - on error 0 call fallback getContents with last resolved ip address.
The problem is I keep getting feed entries titled "Bridge returned error 0! (17832)".
This was recently discussed in #814 and added via #841. The idea is to notify users where feed readers don't display (or hide) error messages. Right now this feature cannot be turned off.
Feed readers have the function to notify the user if the feed is unreachable. These additional entries are redundant and annoying.
Some do, some don't. I see how this can be irritating in feed readers that do support it. We need an option to disable it.
Related to #994.