有用域名成功调试的朋友吗?

淘气柚子 2021-8-4 1002

IM服务用了一级域名还是无法发消息,APP服务用的还是二级域名,在服务端和客户端都把IM SEVER HOST 都改成了域名,能登陆,无法发消息,有成功的大佬指点下吗?

W/Glide: Load failed for  with size [96x96]     class com.bumptech.glide.load.engine.GlideException: Failed to load resource W/Glide: Load failed for  with size [80x80]     class com.bumptech.glide.load.engine.GlideException: Failed to load resource     Load failed for  with size [120x120]     class com.bumptech.glide.load.engine.GlideException: Failed to load resource

最新回复 (6)
  • 淘气柚子 2021-8-5
    引用 2
    问题在这里
    E/mcssdk---: MCS-->isExistPackage NameNotFoundException:com.coloros.mcs
    E/FirebaseInstanceId: Failed to get FIS auth token
        java.util.concurrent.ExecutionException: com.google.firebase.installations.FirebaseInstallationsException: Firebase Installations Service is unavailable. Please try again later.
            at com.google.android.gms.tasks.Tasks.zzb(Unknown Source:61)
            at com.google.android.gms.tasks.Tasks.await(Unknown Source:23)
            at com.google.firebase.iid.GmsRpc.setDefaultAttributesToBundle(com.google.firebase:firebase-iid@@21.0.1:11)
            at com.google.firebase.iid.GmsRpc.startRpc(com.google.firebase:firebase-iid@@21.0.1:1)
            at com.google.firebase.iid.GmsRpc.getToken(com.google.firebase:firebase-iid@@21.0.1:1)
            at com.google.firebase.iid.FirebaseInstanceId.lambda$getInstanceId$1$FirebaseInstanceId(Unknown Source:2)
            at com.google.firebase.iid.FirebaseInstanceId$$Lambda$3.start(Unknown Source:8)
            at com.google.firebase.iid.RequestDeduplicator.getOrStartGetTokenRequest(com.google.firebase:firebase-iid@@21.0.1:7)
            at com.google.firebase.iid.FirebaseInstanceId.lambda$getInstanceId$2$FirebaseInstanceId(Unknown Source:33)
            at com.google.firebase.iid.FirebaseInstanceId$$Lambda$0.then(Unknown Source:6)
            at com.google.android.gms.tasks.zzf.run(Unknown Source:2)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
            at com.google.android.gms.common.util.concurrent.zza.run(Unknown Source:6)
            at java.lang.Thread.run(Thread.java:764)
         Caused by: com.google.firebase.installations.FirebaseInstallationsException: Firebase Installations Service is unavailable. Please try again later.
            at com.google.firebase.installations.remote.FirebaseInstallationServiceClient.createFirebaseInstallation(FirebaseInstallationServiceClient.java:200)
            at com.google.firebase.installations.FirebaseInstallations.registerFidWithServer(FirebaseInstallations.java:533)
            at com.google.firebase.installations.FirebaseInstallations.doNetworkCallIfNecessary(FirebaseInstallations.java:388)
            at com.google.firebase.installations.FirebaseInstallations.lambda$doRegistrationOrRefresh$2(FirebaseInstallations.java:377)
            at com.google.firebase.installations.FirebaseInstallations$$Lambda$4.run(Unknown Source:4)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
            at java.lang.Thread.run(Thread.java:764) 
    E/MessageViewHolderManager: re-register message view holder SimpleNotificationMessageContentViewHolder
  • HeavyRain 2021-8-5
    引用 3
    上面问题是谷歌推送初始化失败的日志,跟IM连接没有关系。请把客户端SDK更新到最新试试,另外就是地址是只有host,不要http头
  • 淘气柚子 2021-8-5
    引用 4
    已经是最新的客户端了  地址只是HOST
  • 淘气柚子 2021-8-5
    引用 5
    域名是不是要直接解析到主机才行?
  • x86 2021-8-5
    引用 6
    淘气柚子 域名是不是要直接解析到主机才行?
    是的,需要直接解析到主机
  • 淘气柚子 2021-8-5
    引用 7
    x86 是的,需要直接解析到主机
    安卓端在哪里设置访问长链接1883端口
返回