Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rss源无法添加到feed上 #411

Closed
KwToPA opened this issue Aug 4, 2018 · 9 comments
Closed

rss源无法添加到feed上 #411

KwToPA opened this issue Aug 4, 2018 · 9 comments

Comments

@KwToPA
Copy link

KwToPA commented Aug 4, 2018

RSSHub已经部署在vps上,

npm start &

> rsshub@0.0.1 start /RSSHub
> node index.js
warn: pixiv RSS is disabled for lacking config.
warn: Disqus RSS is disabled for lacking config.
warn: Twitter RSS is disabled for lacking config.
warn: Youtube RSS is disabled for lacking config.
warn: Telegram RSS is disabled for lacking config.
warn: GitHub Repos RSS is disabled for lacking config.
info: 🎉 RSSHub start! Cheers!
info: Listening Port 1200

127.0.0.1:1200能打开,知乎用户的动态能通过rss读取。不过好像和我vps上的无关,我把node index.js 终止后,https://rsshub.app/zhihu/people/activities/ 也能被正常读取(我是通过https://feedly.com/ 这个看的)。

请问如何能够使用自己vps上部署的rssHub? 谢谢

@KwToPA KwToPA changed the title install failure with debug.log 已部署在vps上,请问如何添加zhihu的配置到config.js ? Aug 4, 2018
@KwToPA
Copy link
Author

KwToPA commented Aug 4, 2018

我挂着ss,把https://rsshub.app/ 链接换成 http://vps_ip:1200/zhihu/people/activities/xx 后,浏览器可以正常打开,但是feedly无法识别,而且用本地ip无法打开上述链接。

@Qixingchen
Copy link
Contributor

@KwToPA 请配置 VPS 防火墙允许外部网络访问 1200 端口

@KwToPA
Copy link
Author

KwToPA commented Aug 4, 2018

不好意思出了点问题,iptables 上已经允许端口
feedly 能识别 http://vps_ip:1200/zhihu/people/activities/xx 但是点击follow无法添加到feed ,vps上反馈 info: /zhihu/people/activities/xx, user IP: ::ffff:8.29.198.46

点follow 后,浏览器右下角反馈红色的报错,chrome和safari都是如此: error 404或者是 Error: window.localStorage.getitem is not a function ,狂點几下状态变成following后,依然无法读取内容,显示 Feed not found Wrong feed URL or dead feed

@KwToPA KwToPA closed this as completed Aug 4, 2018
@KwToPA KwToPA reopened this Aug 4, 2018
@KwToPA
Copy link
Author

KwToPA commented Aug 4, 2018

之前用https://rsshub.app/ 作为rss源添加时,虽然也出现过error 404,但添加成功

@KwToPA KwToPA changed the title 已部署在vps上,请问如何添加zhihu的配置到config.js ? rss源无法添加到feed上 Aug 4, 2018
@KwToPA
Copy link
Author

KwToPA commented Aug 4, 2018

我通过RSS Subscription options订阅该rss源,反馈{"errorCode":404,"errorId":"ap9int-sv2.2018080405.989724","errorMessage":"API version not found"}

@KwToPA KwToPA closed this as completed Aug 4, 2018
@makttub
Copy link

makttub commented Sep 20, 2018

我遇到了同样的问题,解决方案是购买一个域名绑定到 vps,开启 https 后,问题得以解决。

@renzhexigua
Copy link
Contributor

Find a similar issue here: Feedly.com not accepting it

Feedly does not currently let you add feeds with non-standard ports (e.g. 3322). It finds the feed via search just fine. When you try to add it to your feeds you will get a 404 error and the "dead or invalid feed" message. I had to change to the standard 80/443 to get my valid feed accepted by feedly.

Post the solution here as it suits my case.

@fredericky123
Copy link

我遇到了同样的问题
浏览器能访问,本地阅读器能访问,feedly却不能订阅

@RainyH2O
Copy link

RainyH2O commented Sep 6, 2022

提供一下通过反向代理解决的方案,安装nginx,增加如下配置到server_name与部署环境域名相同的server块下:

    location = /rss {
        return 301 http://$server_name$request_uri/;
    }
    location /rss/ {
        proxy_pass http://localhost:1200/;
    }

然后把订阅链接http://${server_name}:1200/${router_uri}换成http://${server_name}/rss/${router_uri}就可以通过Feedly订阅了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants