-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Mobile/Russia] dns_probe_finished_nxdomain when visiting lm.facebook.com #1518
Comments
I think the DNS query should be handled by your iOS App, which serve as a local client of shadowsocks. So I think you should first open this issue first to the iOS App repository. |
But this issue only happened on the 4G network, the other networks were not. And only happened to lm.facebook.com, the other facebook's domains still worked well. And only happened in Russia. In Vietnam, Finland, and Thailand still work |
If you suspect there are something happening in the server side, you could run |
I am also recently experiencing issues with access to most of the sites while connecting to SS server using mobile network in Russia. |
You can run whatever command you want with |
Ok, I've figured it out. I have copied logs with https://gist.github.com/frozzway/0a5c84739e75770b114268c449ff417c And some more: Chrome says "This site can't be reached, unexpectedly closed the connection" For now had to deploy wireguard in parallel. Works fine by the way |
From the first logs, I can see a tunnel to |
In the second one, I can see access to For example, lines like this:
indicated that the tunnel and lines like:
told us that the tunnel was finished. It has copied 1563 bytes from local to remote, and 4424 bytes in the other direction. This tells us the tunnel working well and actually transferred data from local to remote. I didn't see anything abnormal in these logs. |
BTW, I didn't see any UDP logs. Did you enabled UDP mode? Or you don't need that in your environment? |
Yep(
Yes. That is the issue. Some connections establishes fine, especially those that goes though some applications like Telegram or Instagram. But some breaks immediately (like 90% that comes through Chrome or YouTube). And it is always random. I might 'get through' on to some site only because few minutes before I visited it without SS enabled (or not because of this, I really do not know). But then I open one-two-three other random sites and poof -> no more establishing connections to any of them.
I have used tcp_only configuration just fine for several months. So I guess I don't need it. Yet about "ya.ru" connection. How can it be that logs show no abnormalities but I still couldn't reach the site? Btw, I did not change any of server or client configurations myself from the time this issue appeared and weeks before. And the issue persists only on mobile 4G network. WiFi home/work networks just fine. |
I have rented another VM on another hosting and deployed my configuration to it. |
That's very interesting. You can see access logs on server when you are using 4G network, right? (for example, "accepted connection xxxx").
I can only guess:
|
I saw an error in your log:
As you can see, This is the connection you saw on Chrome that showed errors. Chrome or your sslocal client closed the connection actively before finishing receiving the whole respond data. But we can still see some connections to Which client application were you using? Could you see its logs about this connection? |
I'm using ShadowSocks by LV Max on Android OS (Download from Google Play Store). I've never gotten this issue before on 4G Networks |
@madeye Do you have any idea about this issue? |
I tried Shadowsocks by Max Lv and v2rayNG. Same symptoms. Some logs from v2rayNG https://gist.github.com/frozzway/28ef2645eefac19964fc14a618246e50 |
shadowsocks/shadowsocks-android#3151 (comment) Found similar issue report |
It looks your ISP blocks all the UDP traffic, causing DNS issues. Enabling a SIP003 plugin can solve the problem, as it makes SS app works in TCP-only mode. |
Any thoughts on this one #1518 (comment)? |
Hello! I wanted to make separate bug, but I think this is almost the same. Testing from Russia also.
Using 4G from smartphone I can not connect to
|
Compiled and enabled https://github.com/shadowsocks/v2ray-plugin for |
So it is suspected that there was a firewall that trying to detact such kinds of data packets in cellular network of RU. |
Shadowsocks version: 1.17.2 - 1.18.0 - 1.18.1 - 1.18.3
Client device: IPhone (iOS)
Server: Ubuntu 23 (Vultr and OVH)
Config:
When I clicked on a link on Facebook, It returned an error screen. When I copied the link to the browser, It said dns_probe_finished_nxdomain. This issue only occurs on 4G network (OctopusNet Ltd), but not on Wifi (another ISP: Zelenaya Vladivostok Network).
It has no errors on the log. I tried to ping or traceroute to l.facebook.com or lm.facebook.com on my VPS, It still responded
https://l.facebook.com/l.php?u=https%3A%2F%2Fbaonga.com%2Fuav-va-ten-lua-nga-pha-huy-trung-tam-hau-can-cua-ukraine-o-odessa.html%3Ffbclid%3DIwZXh0bgNhZW0CMTAAAR1tMfKhQpRQwdEeWKPs6bkHYpaxsUCaL-9gWUmLBkJx_XlMKMjG37Abphg_aem_AUQ06mMNOEoxacNHH9qatPBT50R57-qs79wnQvKI_ufWHY6MrCxo5BXActIIHjclcK_JzP5U8l1Zu8KVBZyW6nK1&h=AT3TRiH86M5iyQke2wCwr_-mBUpipxOI9uTm1P_hdeM7MeI-k3DQT6VoQd1Ku8kHa3sUPQVmVLWBIRwos53RE_5Cf2L9R4k-Z846hAClXIowZKwbTG0EkCEwHxwKsRfu1Zea
The text was updated successfully, but these errors were encountered: