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

LocalProxy config error #54

Open
holipay opened this issue Apr 29, 2024 · 0 comments
Open

LocalProxy config error #54

holipay opened this issue Apr 29, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@holipay
Copy link

holipay commented Apr 29, 2024

Describe the bug
After setting up the local agent, the update feed sync was successful. However, if you delete a local agent, all feeds will not be synced, including feeds that would otherwise not be proxyed.
设置本地代理后更新提要同步成功。但如果删除本地代理,所有提要都无法同步,包括原本不用代理的提要。

You need to find the configuration file in the user's .lettura folder and delete the proxy settings in it (even if the IP and prot are empty) in order to update the feed without proxy normally.
需要在用户.lettura文件夹中,找到配置文件,删除其中代理的设置内容(哪怕ip 和 prot 为空),才能正常更新不要代理的提要。

In the config file, whether you should remove the ip and port entries instead of setting the proxy ip and port to empty
在config文件中,是否应该删除ip 和port 项,而不是设置代理 ip 和port 为空, scheme = socks5h:// :

if let Some(config) = user_config {
if let Some(proxy) = config.local_proxy {
log::info!("user_config.local_proxy {:?}", proxy);

  let mut scheme = String::from("socks5h://");

  scheme.push_str(&proxy.ip.to_string());
  scheme.push_str(":");
  scheme.push_str(&proxy.port.to_string());
@zhanglun zhanglun self-assigned this May 16, 2024
@zhanglun zhanglun added the enhancement New feature or request label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants