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

NOROUTE 使用docker启动rsshub,能够看到首页,但是无法解析任何路由 #14133

Closed
1 task done
maoze opened this issue Dec 29, 2023 · 2 comments
Closed
1 task done
Labels

Comments

@maoze
Copy link

maoze commented Dec 29, 2023

Routes

/twitter/user/DIYgod

Full routes

/twitter/user/DIYgod

Related documentation

https://docs.rsshub.app/install

What is expected?

rsshub可以正常使用

What is actually happening?

Route requested: /twitter/user/DIYgod
Error message: Invalid twitter oauth tokens
Helpful Information to provide when opening issue:
Path: /twitter/user/DIYgod
Node version: v20.10.0
Git Hash: 2eefc7f

Deployment information

Self-hosted

Deployment information (for self-hosted)

OS:Ubuntu 22.04.3 LTS,docker 24.0.5

Additional info

我使用aws的美国的ecs,系统信息如上。我按照install文档,分别使用docker-compose和docker启动了rsshub,这两种方式都能看到首页,但输入路由就报错。
rsshub运行在1200端口,我加了nginx代理。但由于一直有问题,我目前的测试方法是在ecs上使用curl localhost:1200/twitter/user/DIYgod来测试,但也报同样的错误。
我在本地使用命令curl https://rsshub.app/twitter/user/DIYgod是没问题的

This is not a duplicated issue

  • I have searched existing issues to ensure this bug has not already been reported
@maoze maoze added the RSS bug Something isn't working label Dec 29, 2023
Copy link
Contributor

Searching for maintainers:
  • /twitter/user/DIYgod: Route not found

To maintainers: if you are not willing to be disturbed, list your username in scripts/workflow/test-issue/call-maintainer.js. In this way, your username will be wrapped in an inline code block when tagged so you will not be notified.

如果所有路由都无法匹配,issue 将会被自动关闭。如果 issue 和路由无关,请使用 NOROUTE 关键词,或者留下评论。我们会重新审核。
If all routes can not be found, the issue will be closed automatically. Please use NOROUTE for a route-irrelevant issue or leave a comment if it is a mistake.

@la3rence
Copy link
Contributor

https://docs.rsshub.app/zh/install/config#twitter

鉴于 Twitter 和其 API 访问的最新变化,已经设计了一种新的匿名访问 Twitter 的方法。该方法涉及使用在通过 Android 应用程序进行注册流程时创建的临时访客账户。
详细信息请参阅 Nitter - Guest Account Branch Deploymentzedeus/nitter#983
另外我们也准备了一个 Node.js 脚本来帮助你使用代理批量创建这些 token,请点击这里
TWITTER_OAUTH_TOKEN: 支持多个 key,用英文逗号 , 隔开
TWITTER_OAUTH_TOKEN_SECRET: 支持多个 key,用英文逗号 , 隔开

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

No branches or pull requests

2 participants