sub-store-org / sub-store-org/Sub-Store
【已知,长期跟踪】使用 CF 节点访问 CF 订阅链接时的错误
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 1.4k
- Avg merge
- 5h 31m
- Merged PRs (30d)
- 10
Description
最近使用 https://github.com/cmliu/epeius 项目部署了一个基于 Cloudflare Worker 的订阅服务。
将服务添加到 sub-store 中之后出现了一个奇怪的现象,如图所示:
- 当我通过 Surge 的 sub-store 模块去更新订阅的时候总是会超时(图1),此时走的代理策略是命中 CF 节点中的新加坡节点和瑞士节点(图3)负载均衡(surge 的 smart 分组)。
- 但是我通过浏览器直接打开订阅链接的时候却是可以正常打开的(图3),此时也命中了 CF 策略组下的节点。
为了解决当前的问题,我只好将订阅链接地址单独设置分流规则,用非 CF 的节点去代理请求。这样话无论是通过 sub-store 还是直接请求也就都正常了。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by reproducing the subscription update through Surge's Sub-Store module and compare it with a browser request through the Cloudflare Worker endpoint; done means the timeout cause is identified and the update request works through the CF-node path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100