shadowsocks-android icon indicating copy to clipboard operation
shadowsocks-android copied to clipboard

Unable to resolve host "www.google.com":No address associated with hostname

Open 860git opened this issue 9 years ago • 46 comments

需要检查的是android客户端的配置,还是服务器的配置呢?

860git avatar Sep 12 '17 13:09 860git

遇到了同样的情况,同一个服务器,osx上可以正常使用,android上无法联网,应该是客户端的问题。因为我昨天下午更新了版本,不知道是不是新版的缘故

laoyang945 avatar Sep 13 '17 02:09 laoyang945

重置了一下网络设置就可以了

laoyang945 avatar Sep 13 '17 13:09 laoyang945

请问在哪里?ss客户端的"重置"试过很多次了@laoyang945

860git avatar Sep 13 '17 13:09 860git

最近也有遇到过,通过应用管理强制停止运行应用,再重新运行,再试试。

感觉是手机的省电模式在捣鬼。

ryanlid avatar Sep 13 '17 15:09 ryanlid

@860git 不是在ss客户端里,是在系统的设置里

laoyang945 avatar Sep 14 '17 02:09 laoyang945

Closing due to inactivity.

Mygod avatar Sep 15 '17 03:09 Mygod

I encountered the same problem and i think dns forwarding causes the problem.

myrshfrs avatar Oct 10 '17 07:10 myrshfrs

I also encountered the same problem, resetting the network is useless 荣耀V9 Android 7.0

yhhwpp avatar Nov 08 '17 04:11 yhhwpp

hi,我这个问题依然没有解决。而且由于自己没有仔细看清laoyang945的“极简建议”,将服务器上的网络重置,导致花了好长时间重新安装服务端。 重新配置好服务端,恢复了手机的网络设置(没有找到重置网络设置),依然是这个问题。

请问您的问题解决了吗?

另外你知道Unable to resolve host "www.google.com"指的是安卓手机端还是服务端呢?

renz2048 avatar Dec 08 '17 14:12 renz2048

相同的问题,还以为是服务器问题。。。折腾了1天(PC端是没有问题的)

moritenw avatar Dec 22 '17 03:12 moritenw

降级就好了,换回4.04s可以

moritenw avatar Dec 22 '17 05:12 moritenw

我的解决了,真的是省点模式搞的鬼。

aijs avatar Dec 30 '17 12:12 aijs

我操作了一下清除应用数据后就可以了。应该有些小bug。

luckyfish0826 avatar Jan 24 '18 10:01 luckyfish0826

has somebody resolved the problem ?

nineteenthSpring avatar Aug 21 '18 04:08 nineteenthSpring

我的解决了,真的是省点模式搞的鬼。

我的是Huawei Mate8 Android 8 怎么解决的?

sunzhongmeng avatar Dec 04 '18 04:12 sunzhongmeng

我有一样的问题,华为honor9 安卓8;ipad 和 电脑可以上,所以怀疑不是服务器的问题。有人解决了吗?

ghost avatar Feb 11 '19 05:02 ghost

已经解决,我是荣耀手机,emui应该存在同样的问题, 把ss的启动管理设置成手动管理,并且允许自启动,允许关联启动,允许后台活动,都打开就可以了。 我的具体设置是:设置->应用和通知->应用管理->选择ss->电池->启动管理 我的问题现象:连接成功,测试也能通过,但是切出去之后,刚开始能用,之后就不能用了,然后 再点测试连接,就通不过了。这是我的最终现象,如果解决不了你们的问题,可以先试试其他方法。

panxin1024 avatar Feb 12 '19 07:02 panxin1024

谢谢。我试着按您说的设置启动管理,但似乎还是未解决问题。还有就是我每次重新输入密码或者清除缓存,第一次重新连接时会有3-4s 的成功连接,之后就不行了。 是因为安卓系统8不兼容的原因吗😓

ghost avatar Feb 12 '19 14:02 ghost

Try to add name_server:1.1.1.1 in config.json on the server side. That problem is usually caused by DNS problem

elsadeny avatar Feb 12 '19 15:02 elsadeny

The problem has been sloved .Thankyou!

ghost avatar Feb 12 '19 17:02 ghost