[Huawei Mate 9 Questions & Answers] yfnew:
I have my Huawei ID set up correctly, but I always got "Signin Failed" error in the BETA app when tapping "AGREE" button on the Terms and Conditions page. I checked to see if there is anything in logcat and found these interesting logs (personal and device info are removed):

10-21 05:57:06.652 19831-19831/com.huawei.betaclub I/BetaClub_Global: BCCloudAccount.loginCloudAccountDialog.hasLogin true exe aidllogin!
10-21 05:57:06.652 19831-19831/com.huawei.betaclub I/BetaClub_Global: BCCloudAccount.aidlLogin start!
10-21 05:57:08.263 19831-19844/com.huawei.betaclub I/BetaClub_Global: BCCloudAccount.saveAccountInfo bean: {"appID":"com.huawei.betaclub","deviceId":"[deleted]","deviceType":0,"loginChannel":57000000,"serviceToken":"[deleted]","siteId":"5","terminalType":"BetaClub","userName":"[deleted]"}
10-21 06:08:47.731 22459-22471/com.huawei.betaclub I/BetaClub_Global: TermsAndConditionsActivity.login() code: 0
10-21 06:08:47.743 22459-22509/com.huawei.betaclub I/BetaClub_Global_Http: HttpCpmmonApi.initUrlPre userInfoLatch.await()
10-21 06:08:50.466 22459-22511/com.huawei.betaclub I/BetaClub_Global: [ApkTypeUtils.assets2Databases]update databases successful
10-21 06:08:50.473 22459-22511/com.huawei.betaclub I/BetaClub_Global_Http: HttpCpmmonApi.initUrlPre failed!1
10-21 06:08:50.474 22459-22511/com.huawei.betaclub I/BetaClub_Global_Http: HttpCpmmonApi.initUrlPre countDownLatch.countdown! https://betaclub-eu.huawei.com/futmini
10-21 06:08:50.476 22459-22509/com.huawei.betaclub I/BetaClub_Global_Http: [HttpUtils.getSafeOkHttpClient]Start
10-21 06:09:51.317 22459-22509/com.huawei.betaclub E/BetaClub_Global_Http: [HttpUtils.post]IOException:java.net.SocketTimeoutException: timeout
10-21 06:10:01.800 22459-22509/com.huawei.betaclub E/BetaClub_Global_Http: [HttpUtils.post]error, errorCode=504
10-21 06:10:01.803 22459-22509/com.huawei.betaclub I/BetaClub_Global: TermsAndConditionsActivity.loadRemoteConfigData isSuccess : false

I tried to connect to betaclub-eu.huawei.com/futmini on my computer using web browser and also got the same HTTP 504 error. Anyone else having this issue? Is it an issue with my ISP or is it more likely to be related to my region (I'm trying to connect from the U.S.)?

Thanks!

UPDATE: I decompiled the BETA app using ApkTool, and while looking at the source code, I found that the program checks your Huawei ID's region info and look it up in a table in its database.db for corresponding server domain. I have attached the database table (converted into xls file) below. If your Huawei ID's region is not in the database table (my Huawei ID's region is Hong Kong, which is not in this table), it will use the betaclub-eu domain by default.

I don't know why we can't connect to the betaclub-eu domain, but if you can't sign in, you need to make sure that:

1. Your Huawei ID's region is in the table, and

2. The server address is the betaclub-sg domain instead of betaclub-eu.

I personally solved it by registering another Huawei ID in Malaysia region.

Here is a list of regions in that database table (country_list) that has the betaclub-sg domain:

[IMG="region table"]https://dl.xda-developers.com/4/3/1/0/0/5/8/country_list.JPG?key=5gGbzuqEEaG1XL41RAX2Sg&ts=1508621924[/IMG]