-
Notifications
You must be signed in to change notification settings - Fork 14
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
Can't ping an IP address when using mobile data on iOS16 #52
Comments
Interesting. Is the IP you are pinging responding to pings on the open web when pinging from other platforms? |
Yes, the ip addresses I tried to ping work well. And I tried to ping from my Mac, my Android.
After the comparison, I felt it just didn't work when you tried to ping an IP address directly on iOS16. (I'm not sure about iOS system under 16). I tried to solve this problem, but I'm not familiar with Objective-C, have no idea about that. Here is an example:
On iOS16 mobile data, will get unknownHost error for every IP address. |
Okay thanks for that. I'll look into it. Guessing it works in iOS simulator as well but just not on hardware? |
Yes, just made a test on iOS simulator and on my phone. On simulator it works well.
|
Sorry it took me so long to look at this. I didn't have any iOS devices with a mobile data plan. I have now attempted to reproduce this using an iPad Pro (3rd Gen) on Google Fi with wifi turned off. I was able to ping |
Thank you for your reply. I made a test just now. Still got My device: iPhone 14 Pro I can help to get logs if you can tell me how to catch useful logs for you. As I met before, only on real phone and under mobile data will 100% meet this problem. |
Hello, thank you for your excellent work.
But I found a bug that if you ping an IP address on iOS16 when using mobile data, you will get "unknownHost"
But you can ping a domain, it will work as normal.
The text was updated successfully, but these errors were encountered: