Audio and Video Call connection issue

We have been facing issue in our app, where, when we pick the video or audio call app, it gets crashed . Request you to please look in to callActivity, please help us getting that resolved asap

Below is the code we are using

package com.selfychat.Activity;

import android.os.Bundle;
import android.util.Log;
import android.widget.RelativeLayout;


import com.selfychat.Contracts.CallActivityContract;
import com.selfychat.Contracts.StringContract;
import com.selfychat.Presenters.CallActivityPresenter;
import com.selfychat.R;
import com.selfychat.Utils.Logger;

import java.util.concurrent.ConcurrentHashMap;

public class CallActivity extends AppCompatActivity implements CallActivityContract.CallActivityView {

private RelativeLayout callView;

private String sessionId;

private static final String TAG = "CallActivity";

private CallActivityContract.CallActivityPresenter callActivityPresenter;

protected void onCreate(Bundle savedInstanceState) {

    callActivityPresenter=new CallActivityPresenter();
    callView = findViewById(;

    if (getIntent().hasExtra(StringContract.IntentStrings.SESSION_ID)) {
        sessionId = getIntent().getStringExtra(StringContract.IntentStrings.SESSION_ID);
        Logger.error(TAG, " sessionId " + sessionId);
        CometChat.startCall(CallActivity.this, sessionId, callView, new CometChat.OngoingCallListener() {
            public void onUserJoined(User user) {
                Logger.error(TAG, " Name " + user.getName());

            public void onUserLeft(User user) {
                Log.d(TAG, "onUserLeft: "+user.getName());

            public void onError(CometChatException e) {

                Log.d(TAG, "onError: "+e.getMessage());

            public void onCallEnded(Call call) {
                Log.d(TAG, "onCallEnded: "+call.toString());

protected void onStart() {

protected void onDestroy() {


we are not able to connect the call as mentioned by Avinash, Any suggestion what we are doing wrong here?

Hi @avisharma.11

Can you share the error you are getting, So it will be easier for us to identify the issue…?

call is not getting connecting. Once you pickup, connecting screen comes and call drops

Hi @VijayZ,

Can you share the gradle file of your app.?
Also please check logcat for error occured during calling and share it with us.

i am using this dependency of cometchat - implementation ‘com.cometchat:pro-android-chat-sdk:2.0.4-beta1’ in gradle file.

Hello @avisharma.11 @VijayZ
Can you please share the logs of the time when the call gets dismissed so that we can understand the issue better. We tried to replicate this issue at our end but unfortunately are unable to do so. The logs will be really helpful for us to get to the root cause of the issue.
Also, can you please let me know if this issue happens all the time or is this a random issue and happens intermittently.

Awaiting reply

i am getting error this error “No response received within reply timeout. Timeout was 10000ms (~10s). Used filter: No filter used or filter was ‘null’.” when i login in my app. I trying to login from the morning but no success, please let me know why this is happening?

Hello @avisharma.11
This error means that the SDK is not able to establish a connection to our web socket servers. I would like you to amswer a few questions for me.

  1. Is this happening every time or randomly. If this is happening every time, it could be possible that the network you are connecred to is not allowing connections to unknown urls
  2. Are you testing this while you are connected to a VPN or other secure networks that could not allows connections
  3. Is this happening on all the networks? Can you please check the same on a different network like a different wifi or a mobile network and let us know


This is happening from last 2-3 days, but today this is not working from the morning.
I am not using any VPN and any other network simply i am connecting on both network mobile and wifi but not working with both case.

Can you please let us know which region you app is created in…?

The region of the app is US

Hello @avisharma.11
Can you please share with me the logs when you get this error. I would like to have some mors information regarding this as everything is working as expected at our end. Our servers are stable and have had no problems. Please share with me the logs from a while before you get this error so that we can investigate this


D/ViewRootImpl@e69632a[LoginStartPage]: ViewPostIme pointer 0
2020-05-13 17:46:32.023 14725-14725/com.selfychat D/ViewRootImpl@e69632a[LoginStartPage]: ViewPostIme pointer 1
2020-05-13 17:46:32.565 14725-14725/com.selfychat D/ViewRootImpl@e69632a[LoginStartPage]: ViewPostIme pointer 0
2020-05-13 17:46:32.605 14725-14725/com.selfychat D/ViewRootImpl@e69632a[LoginStartPage]: ViewPostIme pointer 1
2020-05-13 17:46:32.766 14725-15061/com.selfychat D/NetworkManagementSocketTagger: tagSocket(64) with statsTag=0xffffffff, statsUid=-1
2020-05-13 17:46:33.094 14725-15061/com.selfychat W/com.selfychat: Accessing hidden method Lcom/android/org/conscrypt/OpenSSLSocketImpl;->setAlpnProtocols([B)V (light greylist, reflection) 2020-05-13 17:46:33.597 14725-15061/com.selfychat W/com.selfychat: Accessing hidden method Lcom/android/org/conscrypt/OpenSSLSocketImpl;->getAlpnSelectedProtocol()[B (light greylist, reflection) 2020-05-13 17:46:35.556 14725-14744/com.selfychat I/com.selfychat: Background concurrent copying GC freed 25979(1362KB) AllocSpace objects, 5(228KB) LOS objects, 49% free, 3MB/6MB, paused 2.358ms total 118.324ms 2020-05-13 17:46:35.717 14725-15192/com.selfychat D/NetworkManagementSocketTagger: tagSocket(76) with statsTag=0xffffffff, statsUid=-1 2020-05-13 17:46:35.717 14725-15193/com.selfychat D/NetworkManagementSocketTagger: tagSocket(72) with statsTag=0xffffffff, statsUid=-1 2020-05-13 17:46:45.875 14725-15193/com.selfychat D/NetworkManagementSocketTagger: tagSocket(72) with statsTag=0xffffffff, statsUid=-1 2020-05-13 17:46:45.882 14725-14725/com.selfychat W/System.err: No response received within reply timeout. Timeout was 10000ms (~10s). Used filter: No filter used or filter was ‘null’. 2020-05-13 17:46:45.883 14725-14725/com.selfychat W/System.err: at$ 2020-05-13 17:46:45.883 14725-14725/com.selfychat W/System.err: at 2020-05-13 17:46:45.954 14725-14725/com.selfychat D/InputTransport: Input channel constructed: fd=76 2020-05-13 17:46:45.955 14725-14725/com.selfychat D/ViewRootImpl@44f0c0a[Toast]: setView = android.widget.LinearLayout{50f5c7b V.E… …I. 0,0-0,0} TM=true MM=false
2020-05-13 17:46:45.956 14725-14725/com.selfychat V/Toast: Text: Oo r in android.widget.Toast$TN@7da0a98
2020-05-13 17:46:45.993 14725-14725/com.selfychat D/ViewRootImpl@44f0c0a[Toast]: Relayout returned: old=[0,85][1080,2214] new=[86,1840][993,2046] result=0x7 surface={true 497878900736} changed=true
2020-05-13 17:46:45.997 14725-14966/com.selfychat D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
2020-05-13 17:46:45.997 14725-14966/com.selfychat D/OpenGLRenderer: eglCreateWindowSurface = 0x73ebde1680, 0x73ebe52010
2020-05-13 17:46:46.004 14725-14725/com.selfychat D/ViewRootImpl@44f0c0a[Toast]: MSG_RESIZED: frame=[86,1840][993,2046] ci=[0,0][0,0] vi=[0,0][0,0] or=1
2020-05-13 17:46:47.939 14725-14966/com.selfychat W/libEGL: EGLNativeWindowType 0x73ebe52010 disconnect failed
2020-05-13 17:46:47.939 14725-14966/com.selfychat D/OpenGLRenderer: eglDestroySurface = 0x73ebde1680, 0x73ebe52000
2020-05-13 17:46:47.940 14725-14725/com.selfychat D/ViewRootImpl@44f0c0a[Toast]: dispatchDetachedFromWindow
2020-05-13 17:46:47.964 14725-14725/com.selfychat D/InputTransport: Input channel destroyed: fd=76

Hello @avisharma.11
Can you please join us on slack so that we can communicate better and debug this faster. Please visit here. Once you have registered, please search for me (Aditya Gokula) and ping me directly. We can take it forward from there.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.