zxchat video call "empty response"
Results 1 to 3 of 3

Thread: zxchat video call "empty response"

  1. #1
    Active Member
    Join Date
    May 2016
    Posts
    8

    zxchat video call "empty response"

    Hi there,

    I am having problems establishing a video call between users. My installation is as follows.

    Zimbra Release 8.6.0_GA_1153.RHEL6_64_20141215151155 RHEL6_64 FOSS edition, Patch 8.6.0_P6
    zxchat version 1.35

    Firefox 45 (mac ox) and Firefox 47 (ubuntu) client

    linux client starts video call

    mac os client asks to share cam and mic

    mac os client accepts to share cam and mic

    mac os client detects invitation and asks to accept or decline

    mac os client accepts invitation

    with the local cam display shown both clients just wait to establish the video call

    video call won't start , connection is dropped if one client closes the dock chat window

    below is the dev js console output which gives "empty response" error but i have no idea where the error is coming from. What might be the culprit?


    ================================================== ======================================

    This site makes use of a SHA-1 Certificate; it's recommended you use certificates with signature algorithms that use hash functions stronger than SHA-1.[Learn More] /
    ------------------------------------- Loading package: MailCore AjxDispatcher.js:266:46
    ------------------------------------- Loading package: ContactsCore AjxDispatcher.js:266:46
    ------------------------------------- Loading package: Startup2 AjxDispatcher.js:266:46
    ------------------------------------- Loading package: CalendarCore, Calendar AjxDispatcher.js:266:46
    KBFF focused for DwtText (zclv-mainText) DwtKeyboardMgr.js:732:3
    ------------------------------------- Loading package: Zimlet AjxDispatcher.js:266:46
    ------------------------------------- Loading package: Alert AjxDispatcher.js:266:46
    13-6-2016 14:0:17,602 LOG [DevEngine] com_zextras_chat_bundle.js:4953
    Installed v0.1.0 com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:17,668 LOG [ZxChatZimlet] com_zextras_chat_bundle.js:4953
    ZxChat Stable Mode com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:17,972 LOG [ZxChatZimletBase] com_zextras_chat_bundle.js:4953
    Zimbra patched com_zextras_chat_bundle.js:4964:10
    Error: Raven has not been configured. com_zextras_chat_bundle.js:7510:10

    13-6-2016 14:0:18,58 LOG [Groups data loaded] com_zextras_chat_bundle.js:4953
    Array [ ] com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:18,209 LOG [MainWindow.onShellResize] com_zextras_chat_bundle.js:4953
    Object { oldX: -123456789, oldY: -123456789, oldWidth: 0, oldHeight: 0, newX: -123456789, newY: -123456789, newWidth: 1407, newHeight: 509, type: null } com_zextras_chat_bundle.js:4964:10
    ------------------------------------- Loading package: Contacts AjxDispatcher.js:266:46
    13-6-2016 14:0:18,315 WARN [] com_zextras_chat_bundle.js:4953
    Groups data reset com_zextras_chat_bundle.js:4960:10
    13-6-2016 14:0:18,344 LOG [DosFiler] com_zextras_chat_bundle.js:4953
    Flushing... com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:18,420 LOG [Session Registered] com_zextras_chat_bundle.js:4953
    Object { code: 17, _hasResponse: true, creationTime: 1468407618420, sessionId: "78a7c527-7d7c-4edd-ad90-c338613a4a05", serverVersion: Object, reqZimletVersion: Object, historyEnabled: true, removeBrand: true, videoChatEnabled: true, silentErrorReportingEnabled: false } com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:18,534 LOG [Received an event on ping] com_zextras_chat_bundle.js:4953
    Object { code: 3, _hasResponse: true, creationTime: 1468407618534, statuses: Array[4] } com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:18,550 LOG [Received an event on ping] com_zextras_chat_bundle.js:4953
    Object { code: 7, _hasResponse: true, creationTime: 1468407618548, buddies: Array[12] } com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:18,613 LOG [Received an event on ping] com_zextras_chat_bundle.js:4953
    Object { code: 4, _hasResponse: true, creationTime: 1468407618613, sender: "zmtest@mydomain.com", senderResource: "78a7c527-7d7c-4edd-ad90-c338613a4a05", eventDate: Date 2016-07-13T11:00:18.941Z, status: Object } com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:18,617 LOG [Received contact information event] com_zextras_chat_bundle.js:4953
    Object { code: 4, _hasResponse: true, creationTime: 1468407618613, sender: "zmtest@mydomain.com", senderResource: "78a7c527-7d7c-4edd-ad90-c338613a4a05", eventDate: Date 2016-07-13T11:00:18.941Z, status: Object } com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:18,619 LOG [Received an event on ping] com_zextras_chat_bundle.js:4953
    Object { code: 4, _hasResponse: true, creationTime: 1468407618619, sender: "myuser.com@mydomain.com", senderResource: "82b8c644-1f25-4787-a5f3-d12ce5af2b39", eventDate: Date 2016-07-13T11:00:18.941Z, status: Object } com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:18,622 LOG [Received contact information event] com_zextras_chat_bundle.js:4953
    Object { code: 4, _hasResponse: true, creationTime: 1468407618619, sender: "myuser.com@mydomain.com", senderResource: "82b8c644-1f25-4787-a5f3-d12ce5af2b39", eventDate: Date 2016-07-13T11:00:18.941Z, status: Object } com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:18,627 LOG [Received an event on ping] com_zextras_chat_bundle.js:4953
    ------------------------------------- Loading package: TasksCore, Tasks AjxDispatcher.js:266:46
    13-6-2016 14:0:32,567 LOG [DosFiler] com_zextras_chat_bundle.js:4953
    Flushing... com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:33,611 LOG [DosFiler] com_zextras_chat_bundle.js:4953
    Flushing... com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:33,633 LOG [DosFiler] com_zextras_chat_bundle.js:4953
    Flushing... com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:34,511 LOG [Received an event on ping] com_zextras_chat_bundle.js:4953
    Object { code: 10, _hasResponse: true, creationTime: 1468407634511, sender: "myuser.com@mydomain.com", senderResource: "", destination: "zmtest@mydomain.com", destinationResource: "", msgId: "919c1c72-c5af-47cc-8c36-7a72d9108d15" } com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:42,532 LOG [JingleSession.onnegotiationneeded] com_zextras_chat_bundle.js:4953
    negotiationneeded { target: RTCPeerConnection, isTrusted: true, currentTarget: RTCPeerConnection, eventPhase: 2, bubbles: false, cancelable: false, defaultPrevented: false, timeStamp: 1468407642532088, originalTarget: RTCPeerConnection, explicitOriginalTarget: <div.ImgZxChat_start-video-conversation>, NONE: 0 } com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:42,550 LOG [CallWindowManager] com_zextras_chat_bundle.js:4953
    Object { _id: 1468407642524, _room: Object, _partecipants: Array[0], _myAddress: "zmtest@mydomain.com/78a7c527-7d7c-4ed…", _initiator: "zmtest@mydomain.com/78a7c527-7d7c-4ed…", _localStream: null, _remoteStream: null, _startTime: null, _stopTime: null, _localSdpSent: false, 17 more… } com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:45,535 LOG [CallWindow.popup] com_zextras_chat_bundle.js:4953
    LocalMediaStream { id: "{ce5781cd-80e8-406d-a736-724db328ab…", currentTime: 0 } com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:45,541 LOG [CallWindow._onLocalStream] com_zextras_chat_bundle.js:4953
    Audio com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:45,545 LOG [CallWindow._onLocalStream] com_zextras_chat_bundle.js:4953
    Video com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:45,640 LOG [JingleSession.setLocalDescription] com_zextras_chat_bundle.js:4953
    RTCSessionDescription { type: "offer", sdp: "v=0 o=mozilla...THIS_IS_SDPARTA-47.…" } com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:45,644 LOG [JingleSession._onSignalingStateChange] com_zextras_chat_bundle.js:4953
    signalingstatechange { target: RTCPeerConnection, isTrusted: true, currentTarget: RTCPeerConnection, eventPhase: 2, bubbles: false, cancelable: false, defaultPrevented: false, timeStamp: 1468407645643943, originalTarget: RTCPeerConnection, explicitOriginalTarget: RTCPeerConnection, NONE: 0 } com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:45,648 LOG [JingleSessionInitiator.setLocalDescription] com_zextras_chat_bundle.js:4953
    Local SDP Set com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:45,650 LOG [DosFiler] com_zextras_chat_bundle.js:4953
    Flushing... com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:45,747 WARN [Received an error from the connection] com_zextras_chat_bundle.js:4953
    Object { _time: 1468407645747, _cause: null, name: "ZxError", _code: "EMPTY_RESPONSE", _message: "ZmCsfeException EMPTY_RESPONSE", _isException: false, _details: Object, _trace: Array[15], stack: "" } com_zextras_chat_bundle.js:4960:10
    13-6-2016 14:0:45,751 WARN [ChatConnectionManager._handleReceivedObject] com_zextras_chat_bundle.js:4953
    Empty response detected com_zextras_chat_bundle.js:4960:10
    13-6-2016 14:0:52,567 LOG [DosFiler] com_zextras_chat_bundle.js:4953
    Flushing... com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:56,926 LOG [JingleSession.onIceCandidates] com_zextras_chat_bundle.js:4953
    Array [ RTCIceCandidate, RTCIceCandidate, RTCIceCandidate, RTCIceCandidate, RTCIceCandidate, RTCIceCandidate, RTCIceCandidate, RTCIceCandidate, RTCIceCandidate, RTCIceCandidate, 5 more… ] com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:56,949 LOG [DosFiler] com_zextras_chat_bundle.js:4953
    Flushing... com_zextras_chat_bundle.js:4964:10
    13-6-2016 14:0:57,32 WARN [Received an error from the connection] com_zextras_chat_bundle.js:4953
    Object { _time: 1468407657032, _cause: null, name: "ZxError", _code: "EMPTY_RESPONSE", _message: "ZmCsfeException EMPTY_RESPONSE", _isException: false, _details: Object, _trace: Array[15], stack: "" } com_zextras_chat_bundle.js:4960:10
    13-6-2016 14:0:57,39 WARN [ChatConnectionManager._handleReceivedObject] com_zextras_chat_bundle.js:4953
    Empty response detected com_zextras_chat_bundle.js:4960:10
    ------------------------------------- Loading package: TinyMCE AjxDispatcher.js:266:46

  2. #2
    Active Member
    Join Date
    Oct 2016
    Posts
    9
    I'm having the same issue, but with a twist:

    video chats sometimes work, depending on timing. Needless to say that means it becomes unusable as you can't expect users to time their clicking (and go into settings every time they want to chat, see below).

    ZCS 8.6.0
    ZxSuite 2.4.2/ZxChat zimlet 1.36
    reTurnserver installed to a separate server (Ubuntu 14.04 LTS)

    Testing between two machines, Linux + Chrome 55.0.2883.87 (64-bit) and Windows 7 Pro (SP1/64 bit) + Firefox 50.1.0. When opening video chats, the lower right corner always shows the local video.

    For the large video view that contains the local video in the lower right corner, it remains blank if you connect from Chrome to FF and make FF remember the camera/mic settings as allowed for your Zimbra site.

    If you keep it on "ask when necessary", and wait 10-15 seconds between pressing Yes for accepting the connection and clicking Allow on the browser's camera/mic permission popup, then the main video window works both ways. If you immediately click Allow it remains blank on both ends (local video in lower right corner keeps working).

    If you accept and remember the setting in FF, it will never work until you remove the permissions from the camera and make it ask every time, with the wait between accepting incoming video chat and allowing the camera permissions so whatever timing issue that needs to can occur.

    Going from FF to Chrome it's pretty much impossible to get it to work, even if you remove the permissions each time from Chrome and reload with F5 so the camera permissions will pop up again (if you accept it once, it will remember for https, you can't keep it on "always ask").

    I haven't looked at ?dev=1 output but rather increased the logging level for reTurnserver. Notable difference between Chrome to FF and FF to Chrome:
    in the first case I see 5 consecutive lines with "StunMessage.cxx:82 | Successfully parsed StunMessage: STUN Request: Bind, id ..", in the second there is a single line.

    Also tried Chrome (Linux) to Chrome (Win 7) and the other way around, both again only work if you insert the wait (i.e. wait for the 5 lines mentioned above, in this case going both ways I see 5 lines).

    Couldn't test FF (Linux) - FF (Win) since my Linux FF installation will not show the Zimbra chat window at all (presumably because of an extension or something that I changed at some point in its deeper config, though same occurs with all extensions disabled).

    (haven't tested audio yet)

    Edit: in the Windows FF the char window appears but the user I logged into Zimbra with on FF/Linux will remain offline, the video chat icon ghosted light green, so it appears my Linux FF doesn't load anything from the zimlet, or at least not enough to appear as logged in, though this is a separate issue again.
    Last edited by Zuser; 12-19-2016 at 05:10 PM.

  3. #3
    Active Member
    Join Date
    Oct 2016
    Posts
    9
    Update:

    tried from a newer version of Linux with FF 50.0, the chat window appears.

    Same happens with timing though, FF (Linux) to/from FF (Win) video chat works, as long as you wait more than 10 seconds or so between clicking accepting the video chat and allowing the browser to use your camera.
    FF (Linux) to/from Chrome (Win) now also works, same applies there regarding timing, and of course having to remove the camera permission by hand in Chrome before you can retry.

    BTW, audio does not seem to work in either direction, not sure what's up with that (I also delete permissions for the microphone before retrying).

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •