tieto/sipe

ms-diagnostics: 24012 "Error parsing SDP: Cannot support any media offered by client" when opening meeting presentation

Closed this issue · 9 comments

Initiating SDP message from the user's Sipe client:

v=0
o=- 0 0 IN IP4 1.2.3.195
s=session
c=IN IP4 1.2.3.195
b=CT:99980
t=0 0
m=applicationsharing 50024 TCP/RTP/AVP 96
a=candidate:1 1 TCP-ACT 2020212991 1.2.3.195 50024 typ host 
a=candidate:1 2 TCP-ACT 2020212991 1.2.3.195 50024 typ host 
a=candidate:2 1 TCP-PASS 2019819775 1.2.3.195 50024 typ host 
a=candidate:2 2 TCP-PASS 2019819775 1.2.3.195 50024 typ host 
a=candidate:3 1 TCP-ACT 1684668671 4.5.6.129 50024 typ srflx raddr 1.2.3.195 rport 50024
a=candidate:3 2 TCP-ACT 1684668671 4.5.6.129 50024 typ srflx raddr 1.2.3.195 rport 50024
a=candidate:4 1 TCP-PASS 1684275455 4.5.6.129 50024 typ srflx raddr 1.2.3.195 rport 50024
a=candidate:4 2 TCP-PASS 1684275455 4.5.6.129 50024 typ srflx raddr 1.2.3.195 rport 50024
a=candidate:5 1 TCP-ACT 174719231 7.8.9.145 44635 typ relay raddr 1.2.3.195 rport 50024
a=candidate:5 2 TCP-ACT 174719231 7.8.9.145 44635 typ relay raddr 1.2.3.195 rport 50024
a=candidate:6 1 TCP-PASS 174326015 7.8.9.145 44635 typ relay raddr 1.2.3.195 rport 50024
a=candidate:6 2 TCP-PASS 174326015 7.8.9.145 44635 typ relay raddr 1.2.3.195 rport 50024
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:XKpC5JNbfGfhfVL7zXqw+cQStxCXPnk00gzVHCIp|2^31
a=rtpmap:96 X-DATA/90000
a=rtcp:50024
a=connection:new
a=setup:active
a=x-applicationsharing-session-id:1
a=x-applicationsharing-role:viewer
a=x-applicationsharing-media-type:rdp
a=ice-ufrag:INgu
a=ice-pwd:hC/SvfXXJpSKG5tRHEK1up

488 Not Acceptable Here reply:

ms-diagnostics: 24012;Component="RTCC/5.0.0.0_applicationsharing";Reason="Error parsing SDP: Cannot support any media offered by client";Source="server.company.com"

Installed packages:

rc  freerdp-sipe                                          1.1.0~git20150628.1.084b365+dfsg-0+sipe~177~ubuntu14.04.1         amd64        RDP client for Windows Terminal Services (X11 client)
ii  gstreamer0.10-nice:amd64                              0.1.14~sipe-0+201605181250~ubuntu14.04.1                          amd64        ICE library (GStreamer 0.10 plugin)
ii  gstreamer1.0-nice:amd64                               0.1.4-1                                                           amd64        ICE library (GStreamer plugin)
ii  gstreamer1.4-nice:amd64                               0.1.14~sipe-0+201605181250~ubuntu14.04.1                          amd64        ICE library (GStreamer plugin)
ii  libfarstream-0.1-0:amd64                              0.1.2-1ubuntu3                                                    amd64        Audio/Video communications framework: core library
ii  libfarstream-0.2-2:amd64                              0.2.3-1ubuntu2                                                    amd64        Audio/Video communications framework: core library
rc  libfarstream-0.2-2-sipe:amd64                         0.2.7~sipe+collab-0.2991+201602270832~ubuntu14.04.1               amd64        Audio/Video communications framework: core library
ii  libfarstream-0.2-5-sipe:amd64                         0.2.8+sipe+collab-1+201605231323~ubuntu14.04.1                    amd64        Audio/Video communications framework: core library
rc  libfreerdp-client1.1:amd64                            1.1.0~git20150628.1.084b365+dfsg-0+sipe~173~ubuntu14.04.1         amd64        Free Remote Desktop Protocol library (client library)
ii  libfreerdp-client2:amd64                              2.0.0~git20160503.1.f828595+dfsg1-0~201605121048~ubuntu14.04.1    amd64        Free Remote Desktop Protocol library (client library)
ii  libfreerdp-server2:amd64                              2.0.0~git20160503.1.f828595+dfsg1-0~201605121048~ubuntu14.04.1    amd64        Free Remote Desktop Protocol library (server library)
ii  libfreerdp-shadow2:amd64                              2.0.0~git20160503.1.f828595+dfsg1-0~201605121048~ubuntu14.04.1    amd64        FreeRDP Remote Desktop Protocol shadow libraries
ii  libfreerdp1:amd64                                     1.0.2-2ubuntu1                                                    amd64        RDP client for Windows Terminal Services (library)
rc  libfreerdp1.1:amd64                                   1.1.0~git20150628.1.084b365+dfsg-0+sipe~173~ubuntu14.04.1         amd64        Free Remote Desktop Protocol library (core library)
ii  libfreerdp2:amd64                                     2.0.0~git20160503.1.f828595+dfsg1-0~201605121048~ubuntu14.04.1    amd64        Free Remote Desktop Protocol library (core library)
ii  libnice10:amd64                                       0.1.14~sipe-0+201605181250~ubuntu14.04.1                          amd64        ICE library (shared library)
ii  libtelepathy-farstream3:amd64                         0.6.1-0ubuntu1                                                    amd64        Glue library between telepathy and farstream
rc  libwinpr0.1:amd64                                     1.1.0~git20150628.1.084b365+dfsg-0+sipe~173~ubuntu14.04.1         amd64        Windows Portable Runtime library (winsock library)
rc  libxfreerdp-client1.1:amd64                           1.1.0~git20150628.1.084b365+dfsg-0+sipe~173~ubuntu14.04.1         amd64        Free Remote Desktop Protocol library (xfreerdp-client library)
ii  pidgin                                                1:3.0.0~collab-1+201605231324~ubuntu14.04.1                       amd64        graphical multi-protocol instant messaging client for X
ii  pidgin-data                                           1:3.0.0~collab-1+201605231324~ubuntu14.04.1                       all          multi-protocol instant messaging client - data files
ii  pidgin-gnome-keyring                                  2.0~trusty-1                                                      amd64        integrates pidgin (and libpurple) with the system keyring
ii  pidgin-sipe                                           1.21.0+sipe-0+201605231325~ubuntu14.04.1                          amd64        Pidgin plugin for MS Office Communicator and MS Lync
ii  remmina                                               1.1.2-sipe+201605231549+next+852~ubuntu14.04.1                    amd64        remote desktop client for GNOME desktop environment
ii  remmina-common                                        1.1.2-sipe+201605231549+next+852~ubuntu14.04.1                    all          common files for remmina remote desktop client
ii  remmina-plugin-rdp                                    1.1.2-sipe+201605231549+next+852~ubuntu14.04.1                    amd64        RDP plugin for remmina remote desktop client
ii  remmina-plugin-vnc                                    1.1.2-sipe+201605231549+next+852~ubuntu14.04.1                    amd64        VNC plugin for remmina remote desktop client

@hojthojt This doesn't look right:

a=rtpmap:96 X-DATA/90000

it should read:

a=rtpmap:127 X-DATA/90000

Most Lync endpoints aren't so picky about RTP payload type numbers, but conference server is one of them.

This issue is caused by an incomplete update of your installation, namely libfarstream-0.2-5-sipe doesn't match installed pidgin-sipe. To fix this, please update to libfarstream-0.2-5-sipe 0.2.8+sipe+collab-1+201605241617~ubuntu14.04.1 or newer.

I'll update the dependencies of pidgin-sipe package so that next time it pulls in also the correct Farstream version.

@hojthojt Turns out on 14.04 it won't work even after Farstream update because some files are installed in different locations there. So hold on, I'll have to fix that too...

@hojthojt @gy-lehel Depending on your Ubuntu version, please update to one of the following pidgin-sipe packages and re-test:

pidgin-sipe - 1.21.0+sipe-0+201605260901~ubuntu16.04.1
pidgin-sipe - 1.21.0+sipe-0+201605260901~ubuntu15.10.1
pidgin-sipe - 1.21.0+sipe-0+201605260901~ubuntu14.04.1

Installing the package should also update libfarstream-0.2-5 to the required version automatically.

@xhaakon Thank you very much for the quick fix. I have updated (I'm on 14.04.1).

@hojthojt Please let me know it it's fixed so that I can close this issue.

@xhaakon I do not have a "test case" that could reproduce this error every time. But I have successfully tested on one meeting so far and it worked. For my point of view you can close this one. If it happens to me again, I'll let you now ;) . Again, thank you for your quick response.

@hojthojt This issue is 100% reproducible with meetings of multiple users ("chats" in Pidgin), so one working is enough to be sure it has been fixed. Thanks and closing.

I've got this today for the first time, and it repeatedly failed until I eventually restarted pidgin, which recovered it for me.

I recall seeing something similar, or even identical. It behaves as if an old connection wasn't terminated or cleaned up correctly. A restart did the trick in my case also.