hiddify-next icon indicating copy to clipboard operation
hiddify-next copied to clipboard

Unable to bypass websites in China under version 1.5.2, and slower access to websites in China

Open rain-0 opened this issue 1 year ago • 4 comments
trafficstars

Search first

  • [X] I searched and no similar issues were found

What Happened?

When accessing websites in China, I observed that the proxy line is still used, but I have set the region to cn in the config.

Minimal Reproducible Example (MRE)

1.connect 2. Visit any Chinese website, e.g. www.bilibili.com 3. Access was found to be slower than when the agent was not activated, and real-time traffic readings were observed

Expected Behavior

Access to Chinese websites should not go through a proxy and will not be slowed down

Version

1.5.2

Platform/OS

Windows

Additional Context

No response

Application Config Options

{
  "region": "cn",
  "block-ads": false,
  "execute-config-as-is": false,
  "log-level": "info",
  "resolve-destination": false,
  "ipv6-mode": "ipv4_only",
  "remote-dns-address": "udp://1.1.1.1",
  "remote-dns-domain-strategy": "prefer_ipv4",
  "direct-dns-address": "223.5.5.5",
  "direct-dns-domain-strategy": "prefer_ipv4",
  "mixed-port": 2334,
  "tproxy-port": 2335,
  "local-dns-port": 6450,
  "tun-implementation": "mixed",
  "mtu": 9000,
  "strict-route": false,
  "connection-test-url": "http://connectivitycheck.gstatic.com/generate_204",
  "url-test-interval": 1800,
  "enable-clash-api": true,
  "clash-api-port": 6756,
  "enable-tun": false,
  "enable-tun-service": false,
  "set-system-proxy": true,
  "bypass-lan": false,
  "allow-connection-from-lan": false,
  "enable-fake-dns": false,
  "enable-dns-routing": true,
  "independent-dns-cache": true,
  "rules": [],
  "mux": {
    "enable": false,
    "padding": false,
    "max-streams": 8,
    "protocol": "h2mux"
  },
  "tls-tricks": {
    "enable-fragment": false,
    "fragment-size": "1-500",
    "fragment-sleep": "0-500",
    "mixed-sni-case": false,
    "enable-padding": false,
    "padding-size": "1-1500"
  },
  "warp": {
    "enable": false,
    "mode": "proxy_over_warp",
    "wireguard-config": "",
    "license-key": "",
    "account-id": "",
    "access-token": "",
    "clean-ip": "auto",
    "clean-port": 0,
    "noise": "5-10",
    "noise-delay": "20-200"
  },
  "warp2": {
    "enable": false,
    "mode": "proxy_over_warp",
    "wireguard-config": "",
    "license-key": "",
    "account-id": "",
    "access-token": "",
    "clean-ip": "auto",
    "clean-port": 0,
    "noise": "5-10",
    "noise-delay": "20-200"
  }
}

Relevant log output

+0800 2024-07-11 19:17:14 ERROR [173232431 140ms] inbound/mixed[mixed-in]: process connection from 127.0.0.1:8066: read payload: read tcp 127.0.0.1:2334->127.0.0.1:8066: wsarecv: An existing connection was forcibly closed by the remote host.

Are you willing to submit a PR? If you know how to fix the bug.

  • [ ] I'm willing to submit a PR (Thank you!)

rain-0 avatar Jul 11 '24 11:07 rain-0

would you please use china dns for remote dns also? if it fix the issue i will solve it quickly

hiddify-com avatar Jul 12 '24 20:07 hiddify-com

Me too

ChaNg1o1 avatar Jul 13 '24 11:07 ChaNg1o1

would you please use china dns for remote dns also? if it fix the issue i will solve it quickly

I set the remote DNS to udp://223.5.5.5 (a Chinese dns service), and it didn't get any better My current configuration is as follows { "region": "cn", "block-ads": false, "execute-config-as-is": false, "log-level": "info", "resolve-destination": false, "ipv6-mode": "ipv4_only", "remote-dns-address": "udp://223.5.5.5", "remote-dns-domain-strategy": "prefer_ipv4", "direct-dns-address": "udp://223.5.5.5", "direct-dns-domain-strategy": "prefer_ipv4", "mixed-port": 2334, "tproxy-port": 2335, "local-dns-port": 6450, "tun-implementation": "mixed", "mtu": 9000, "strict-route": false, "connection-test-url": "http://connectivitycheck.gstatic.com/generate_204", "url-test-interval": 1800, "enable-clash-api": true, "clash-api-port": 6756, "enable-tun": false, "enable-tun-service": false, "set-system-proxy": true, "bypass-lan": false, "allow-connection-from-lan": false, "enable-fake-dns": false, "enable-dns-routing": true, "independent-dns-cache": true, "rules": [], "mux": { "enable": false, "padding": false, "max-streams": 8, "protocol": "h2mux" }, "tls-tricks": { "enable-fragment": false, "fragment-size": "1-500", "fragment-sleep": "0-500", "mixed-sni-case": false, "enable-padding": false, "padding-size": "1-1500" }, "warp": { "enable": false, "mode": "proxy_over_warp", "wireguard-config": "", "license-key": "", "account-id": "", "access-token": "", "clean-ip": "auto", "clean-port": 0, "noise": "5-10", "noise-delay": "20-200" }, "warp2": { "enable": false, "mode": "proxy_over_warp", "wireguard-config": "", "license-key": "", "account-id": "", "access-token": "", "clean-ip": "auto", "clean-port": 0, "noise": "5-10", "noise-delay": "20-200" } }

rain-0 avatar Jul 18 '24 03:07 rain-0

您是否也请将中国 DNS 用于远程 DNS?如果可以解决问题,我会尽快解决

DNS是否可以配置成组,dns-add: [223.5.5.5, 8.8.4.4]

yangdehui avatar Aug 03 '24 06:08 yangdehui

try v2.3.1 and check if problem has been solved or not

TitanComputer avatar Sep 07 '24 21:09 TitanComputer

try v2.3.1 and check if problem has been solved or not

It seems to have solved the problem and is currently working well

rain-0 avatar Sep 08 '24 03:09 rain-0