android-async-http icon indicating copy to clipboard operation
android-async-http copied to clipboard

android 6.0.1 not work in 1.4.11

Open qinghe81070 opened this issue 4 years ago • 9 comments

network is ok,and I can use other APP normally on the same phone。I can also use this APP normally on other versions of phones The error reported by my project is UnknownHostException exception: Unable to resolve host "myHostURl": No address associated with hostname

qinghe81070 avatar Sep 22 '20 10:09 qinghe81070

hi @qinghe81070 can you check this solution? https://github.com/android-async-http/android-async-http/wiki/Support-SNI-on-lower-android-device

saeed-rz avatar Sep 27 '20 11:09 saeed-rz

sorry, I have tried it, but it still doesn't work

qinghe81070 avatar Sep 28 '20 06:09 qinghe81070

@qinghe81070 sorry for late response, can you share your url with me? so i can test and debug it my email is : saeed.rezaei.sa at gmail . com

saeed-rz avatar Oct 07 '20 16:10 saeed-rz

@saeed-rz The email has been sent, please let me know if you cannot receive it

qinghe81070 avatar Oct 08 '20 06:10 qinghe81070

@qinghe81070 I have recieved your email. I will let you know when I check it 🙏

saeed-rz avatar Oct 08 '20 14:10 saeed-rz

hello again @qinghe81070 I Tested your URL, I think the issue is When connecting a server with an IP in the URL and the IP is under another domain that has many IPs, the client may try to connect another IP resolved from that domain. the issue is fixed on version 1.5.0, but it's not ready to publish. maybe if you use a domain instead of IP, it's worked fine.

saeed-rz avatar Oct 17 '20 08:10 saeed-rz

Thank you very much for your help, and  I am looking forward to the release of the next version

------------------ 原始邮件 ------------------ 发件人: "android-async-http/android-async-http" <[email protected]>; 发送时间: 2020年10月17日(星期六) 下午4:27 收件人: "android-async-http/android-async-http"<[email protected]>; 抄送: "123456"<[email protected]>;"Mention"<[email protected]>; 主题: Re: [android-async-http/android-async-http] android 6.0.1 not work in 1.4.11 (#1353)

hello again @qinghe81070 I Tested your URL, I think the issue is When connecting a server with an IP in the URL and the IP is under another domain that has many IPs, the client may try to connect another IP resolved from that domain. the issue is fixed on version 1.5.0, but it's not ready to publish. maybe if you use a domain instead of IP, it's worked fine.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

qinghe81070 avatar Oct 22 '20 03:10 qinghe81070

Hello, could you show us at least where is the bug? We use this library and this problem is a headache for us. At least, to be able to do a fork or something like that.

soltrac avatar Apr 05 '21 15:04 soltrac

hi @soltrac the problem is SNI. in the old version of android(below 5). the framework can't handle it correctly. in version 5.x.x the implementation changed and it fixed. we need to add all features and provide migration flow. after that, version 5.x.x release. can you help us to achieve it?

saeed-rz avatar Apr 07 '21 11:04 saeed-rz