MatsuriDayo / nekoray

Qt based cross-platform GUI proxy configuration manager (backend: v2ray / sing-box)
https://matsuridayo.github.io/
GNU General Public License v3.0
11.18k stars 1.1k forks source link

APP/DNS Failed Error in NekoRay #1308

Open neestzjov opened 4 weeks ago

neestzjov commented 4 weeks ago

Hello, Im using nekoray to route all traffic to a socks5 proxy. Websites load fine but I sometimes see these logs in my nekoray. I feel like not all the traffic is routed and I may be caught by some requests

2024/05/29 10:19:23 [Error] app/dns: failed to retrieve response for api.snapkit.com. > Post "https://8.8.8.8/dns-query": context canceled

2024/05/29 10:19:23 [Error] app/dns: failed to retrieve response for app-analytics-services.com. > Post "https://8.8.8.8/dns-query": context canceled

2024/05/29 10:19:23 [Error] app/dns: failed to retrieve response for www.google.com. > Post "https://8.8.8.8/dns-query": context canceled

2024/05/29 10:19:23 [Error] app/dns: failed to retrieve response for gecko16-normal-useast8.tiktokv.us. > Post "https://8.8.8.8/dns-query": context canceled

2024/05/29 10:19:23 [Error] app/dns: failed to retrieve response for jsb16-normal-useast8.tiktokv.us. > Post "https://8.8.8.8/dns-query": context canceled

2024/05/29 10:19:23 [Error] app/dns: failed to retrieve response for roovza-launches.appsflyersdk.com. > Post "https://8.8.8.8/dns-query": context canceled

2024/05/29 10:19:23 [Error] app/dns: failed to retrieve response for api16-normal-useast8.tiktokv.us. > Post "https://8.8.8.8/dns-query": context canceled

2024/05/29 10:19:23 [Error] app/dns: failed to retrieve response for frontier-ttp2.tiktokv.us. > Post "https://8.8.8.8/dns-query": context canceled

2024/05/29 10:19:23 [Error] app/dns: failed to retrieve response for webcast16-normal-useast8.tiktokv.us. > Post "https://8.8.8.8/dns-query": context canceled

2024/05/29 10:19:23 [Error] app/dns: failed to retrieve response for api16-core-useast8.tiktokv.us. > Post "https://8.8.8.8/dns-query": context canceled

Any suggestions?

mecrayavcin commented 4 weeks ago

Hello, Im using nekoray to route all traffic to a socks5 proxy. Websites load fine but I sometimes see these logs in my nekoray. I feel like not all the traffic is routed and I may be caught by some requests

2024/05/29 10:19:23 [Error] app/dns: failed to retrieve response for api.snapkit.com. > Post "https://8.8.8.8/dns-query": context canceled

2024/05/29 10:19:23 [Error] app/dns: failed to retrieve response for app-analytics-services.com. > Post "https://8.8.8.8/dns-query": context canceled

2024/05/29 10:19:23 [Error] app/dns: failed to retrieve response for www.google.com. > Post "https://8.8.8.8/dns-query": context canceled

2024/05/29 10:19:23 [Error] app/dns: failed to retrieve response for gecko16-normal-useast8.tiktokv.us. > Post "https://8.8.8.8/dns-query": context canceled

2024/05/29 10:19:23 [Error] app/dns: failed to retrieve response for jsb16-normal-useast8.tiktokv.us. > Post "https://8.8.8.8/dns-query": context canceled

2024/05/29 10:19:23 [Error] app/dns: failed to retrieve response for roovza-launches.appsflyersdk.com. > Post "https://8.8.8.8/dns-query": context canceled

2024/05/29 10:19:23 [Error] app/dns: failed to retrieve response for api16-normal-useast8.tiktokv.us. > Post "https://8.8.8.8/dns-query": context canceled

2024/05/29 10:19:23 [Error] app/dns: failed to retrieve response for frontier-ttp2.tiktokv.us. > Post "https://8.8.8.8/dns-query": context canceled

2024/05/29 10:19:23 [Error] app/dns: failed to retrieve response for webcast16-normal-useast8.tiktokv.us. > Post "https://8.8.8.8/dns-query": context canceled

2024/05/29 10:19:23 [Error] app/dns: failed to retrieve response for api16-core-useast8.tiktokv.us. > Post "https://8.8.8.8/dns-query": context canceled

Any suggestions?

Same problem. While VPN mode was activated, i checked ipleak report and i think DNS was not working properly. I've noticed that some of the Dns numbers were the numbers were used by the original IP address. They were not 1.1.1.1 Proxy mode works without problem.

I also tried Netch but it always crashes. I did not like it.

I think best method is:

V2rayN + Proxifier or V2rayN + SSTAP

neestzjov commented 4 weeks ago

Why not using V2ray alone ?

I get this using V2ray:

2024/05/29 09:11:34 System proxy setting is changedForcedClear -0700 2024-05-29 09:11:45 ERROR [3222296599 8.73s] inbound/tun[tun-in]: socks5: request rejected, code=4 2024/05/29 09:11:46 The ping of current service: -1 ms -0700 2024-05-29 09:11:56 ERROR [3242285888 8.68s] inbound/tun[tun-in]: socks5: request rejected, code=4 -0700 2024-05-29 09:11:56 ERROR dns: exchange failed for ipleak.net. IN A: context canceled -0700 2024-05-29 09:12:34 ERROR [1644854542 8.64s] inbound/tun[tun-in]: socks5: request rejected, code=4 -0700 2024-05-29 09:12:39 ERROR [1541778695 8.65s] inbound/tun[tun-in]: socks5: request rejected, code=4 -0700 2024-05-29 09:12:44 ERROR [3200183421 8.64s] inbound/tun[tun-in]: socks5: request rejected, code=4 -0700 2024-05-29 09:19:06 ERROR [461280042 8.67s] inbound/tun[tun-in]: socks5: request rejected, code=4

I feel there are alot of leaks, how to properly verify?

mecrayavcin commented 4 weeks ago

Why not using V2ray alone ?

I get this using V2ray:

2024/05/29 09:11:34 System proxy setting is changedForcedClear -0700 2024-05-29 09:11:45 ERROR [3222296599 8.73s] inbound/tun[tun-in]: socks5: request rejected, code=4 2024/05/29 09:11:46 The ping of current service: -1 ms -0700 2024-05-29 09:11:56 ERROR [3242285888 8.68s] inbound/tun[tun-in]: socks5: request rejected, code=4 -0700 2024-05-29 09:11:56 ERROR dns: exchange failed for ipleak.net. IN A: context canceled -0700 2024-05-29 09:12:34 ERROR [1644854542 8.64s] inbound/tun[tun-in]: socks5: request rejected, code=4 -0700 2024-05-29 09:12:39 ERROR [1541778695 8.65s] inbound/tun[tun-in]: socks5: request rejected, code=4 -0700 2024-05-29 09:12:44 ERROR [3200183421 8.64s] inbound/tun[tun-in]: socks5: request rejected, code=4 -0700 2024-05-29 09:19:06 ERROR [461280042 8.67s] inbound/tun[tun-in]: socks5: request rejected, code=4

I feel there are alot of leaks, how to properly verify?

Because V2rayN program is only change the Browser IP. You can not change IP for gaming or other apps alone only using V2rayN program. For This you need third party programs. Like Proxifier or SSTAP Github.

instead using two different programs, Developers have coded apps like Nekoray and Netch. But this apps have some bugs. Nekoray has too many issues. You can try Netch also. These programs change your IP for all your internet traffic. Netch needs .NET 6.0 x64 https://github.com/netchx/netch. I had not installed .NET 6.0 so i had a crash problem in Netch. I should have installed .NET 6.0 x64. Also V2rayN needs .NET 6.0 x64 or .NET 8.0 x64 according to its version.

I don't use nekoray. Maybe check Netch or use V2rayN+proxifier

neestzjov commented 4 weeks ago

I am trying to share a proxified wifi hotspot (routing all traffic to the socks5 proxy). Once the Network Connection tunnel is setted with one of these programs I will share the hotspot.

Any suggestions for what Im trying to do?

mecrayavcin commented 4 weeks ago

I am trying to share a proxified wifi hotspot (routing all traffic to the socks5 proxy). Once the Network Connection tunnel is setted with one of these programs I will share the hotspot.

Any suggestions for what Im trying to do?

I am a basic user so i could not understood exactly. Maybe this can help https://www.youtube.com/watch?v=zyOKqcqnIqE