android-async-http
android-async-http copied to clipboard
android 6.0.1 not work in 1.4.11
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
hi @qinghe81070 can you check this solution? https://github.com/android-async-http/android-async-http/wiki/Support-SNI-on-lower-android-device
sorry, I have tried it, but it still doesn't work
@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 The email has been sent, please let me know if you cannot receive it
@qinghe81070 I have recieved your email. I will let you know when I check it 🙏
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.
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.
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.
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?