-
Notifications
You must be signed in to change notification settings - Fork 132
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
Failed to connect to in.appcenter.ms in some areas of China mainland #1478
Comments
Hello @liangchenhe55! |
@vvechkanov There are two different types of exception. 1. |
@liangchenhe55 About 'java.net.ConnectException' issue on real device, we are working now, on reproducing it on different Wear OS real devices. |
@vvechkanov I have tried an other computer but the problem still there. I don't think it is an host computer releated issue since my phone emulator is fine, I will try an other computer in the other city and network environment tomorrow and share the result with you. |
@vvechkanov Unfortunately, the emulator in an other city and network environment failed again. May be we can find out something from the tcp packages above? |
Hi @liangchenhe55! |
@vvechkanov copy that, thanks. I also find some real devices have no problem. However those devices belongs to our users so we can not get it and do some analysis. I am trying more models of devices and more network envs. |
Hi @liangchenhe55, do you still experience the issue? Also is it possible to try the SDK with a proxy? |
Hi @russelarms , yes, the problem is still there.
I apologize for my carelessness since I once said that there is no problem on the phone, because my phone usually runs an proxy, but it still a problem. It seems that For the sake of caution, I tested on some servers with better network environments. e.g. Alibaba Clould Shanghai Node, Tencent Cloud Shanghai /Beijing Node. Run command
|
@liangchenhe55 As I understand it's not the case for the Wear OS only, you have the same problem on the phone if you turn off the proxy, right? |
@russelarms right. |
@liangchenhe55 we've moved our endpoint to another IP pool. Could you try again? |
@russelarms Now the data can be sent successfully in some cases, but it will still fail in some cases with the following errors:
May be I can set up an VPN for you to debug this problem. If necessary, please give me an email so that I can send the VPN account to you. |
Our engineers are working on investigating this problem, but there's not much that we can do apart from changing the IPs at the moment. |
Copy that and thanks. I am glad to provide any assistance and information at any time. |
Hi, @liangchenhe55! Another question just to be sure that we are on the same line: |
Hi @russelarms , yes. I tried the SDK (v4.0.0) on the 27th Nov. UTC+8. At the same time, the test code for |
Maybe the same problems: |
I think we are getting the same issue here (but not a 100% sure) (we are in Jordan) .. also not sure if its related to our upgrade to major AppCenter SDK v4.0 (we were on old 2.1.1) but we're definitely not getting lots of crash reports and when investigated, started seeing these in the logs:
Seen on Samsung Galaxy A20 - Android 10 |
Hi @mzekrallah, how often do you see these errors? |
Due to country specific policies and laws, we cannot guarantee that App Center works in all countries. For some users in China region, Analytics and Diagnostics SDK data may experience significant delay or not make it to our servers based in the United States. |
@DmitriyKirakosyan Thanks fou your work and I'am sorry to hear that. Maybe Microsoft can optimize the routing by, for example, CDN. Of course, I know it's a big project. If things get worse in China such as google(you know 😞 ), I will reopen this issue. |
@DmitriyKirakosyan Facing this connection issue continuously on every device. Can you please provide any solution for this? Device: Google Pixel 5a
|
Hello @AbdullahJaved-dev, according to AppCenter Services Status page - all services works as expected. Most likely your connection issues are related to your location. |
how to custom the dns of I found that the IP I got in mainland China is But if I look it up in
|
Still no solution is present in this thread, I am facing the same issue. |
I'm having a similar issue on my native Android app
|
Description
Can not send any data to AppCenter with the following logs:
Emulator Logs (API28 Wear OS)
Physical Device Logs
However the device can access the internet. This issue only shows up on Wear OS system. But I can use retrofit2 to visit any url like usual.
Repro Steps
Please list the steps used to reproduce your issue.
AppCenter.start()
Details
AppCenter.setLogLevel(Log.VERBOSE)
before your call toAppCenter.start(...)
and include the logs here:Full Logs
The text was updated successfully, but these errors were encountered: