• Hello,

    My Kopano server works like a charm with Android and Windows, but when i tri to use it with Safari (Ios and MacOS), i don’t see it in Turn Sessions…
    Actually my kwmserverd retrieve a JSON for connect to coturn where only turns URI are present.

          {"username":"username","password":"password","ttl":8400,"uris":["turns:turnserver.example.com:5349?transport=tcp","turns:turnserver.example.com:5350?transport=tcp"]}
    

    If i use turn URI without TLS, it’s working.

          {"username":"username","password":"password","ttl":8400,"uris":["turn:turnserver.example.com:3478?transport=udp","turn:turnserver.example.com:3479?transport=tcp","turns:turnserver.example.com:5349?transport=tcp","turns:turnserver.example.com:5350?transport=tcp"]}
    

    My coturn certificate is delivered by letsencrypt (TLS 1.2).

    My setup :

    Debian GNU/Linux 10 (buster)
    Packages installed :

    root@kopano:/etc/kopano# dpkg -l | grep -i kopano
         ii  kopano-backup                                   10.0.3.24.2fde1fea9-0+4.1    amd64        Utility to back up and restore Kopano stores
         ii  kopano-client                                   10.0.3.24.2fde1fea9-0+8.1    amd64        Kopano MAPI provider library
         ii  kopano-common                                   10.0.3.24.2fde1fea9-0+8.1    amd64        Shared files for Kopano services
         ii  kopano-dagent                                   10.0.3.24.2fde1fea9-0+8.1    amd64        E-Mail Delivery Agent for Kopano Core
         ii  kopano-dagent-pytils                            10.0.3.24.2fde1fea9-0+4.1    amd64        Additional message handlers for kopano-dagent
         ii  kopano-gateway                                  10.0.3.24.2fde1fea9-0+8.1    amd64        POP3 and IMAP Gateway for Kopano Core
         ii  kopano-grapi                                    10.2.0+0.200fd8f-0+27.1      amd64        REST entrypoints to the Kopano Groupware Core stack
         ii  kopano-grapi-bin                                10.2.0+0.200fd8f-0+27.1      amd64        Kopano GRAPI service
         ii  kopano-ical                                     10.0.3.24.2fde1fea9-0+8.1    amd64        ICal and CalDAV Gateway for Kopano Core
         ii  kopano-kapid                                    0.14.0-0+337.2               amd64        Kopano API HTTP REST-Endpoints
         ii  kopano-konnectd                                 0.30.0-0+346.1               amd64        Kopano Konnect OpenID Connect Provider service daemon
         ii  kopano-kwebd                                    0.9.1-0+302.1                amd64        Kopano Web Server
         ii  kopano-kwmserverd                               1.1.0-0+333.2                amd64        Kopano Web Meetings Server
         ii  kopano-lang                                     10.0.3.24.2fde1fea9-0+8.1    all          Translations for Kopano Core components
         ii  kopano-meet                                     2.1.0-0+353.1                all          Metapackage to install Kopano Meet
         ii  kopano-meet-packages                            2.1.0-0+353.1                all          Metapackage to install the entire Kopano Meet stack
         ii  kopano-meet-webapp                              2.1.0-0+353.1                all          Kopano Meet Webapp
         ii  kopano-migration-imap                           10.0.3.24.2fde1fea9-0+8.1    amd64        Utility to migrate between IMAP mailboxes
         ii  kopano-migration-pst                            10.0.3.24.2fde1fea9-0+4.1    amd64        Utility to import PST files
         ii  kopano-monitor                                  10.0.3.24.2fde1fea9-0+8.1    amd64        Quota Monitor for Kopano Core
         ii  kopano-python-utils                             10.0.3.24.2fde1fea9-0+4.1    amd64        Additional Python-based command-line utils for Kopano Core
         ii  kopano-python3-extras                           0.2.0+0-0+55.1               amd64        Kopano Python 3 extra dependencies
         ii  kopano-search                                   10.0.3.24.2fde1fea9-0+4.1    amd64        Indexed search engine for Kopano Core
         ii  kopano-server                                   10.0.3.24.2fde1fea9-0+8.1    amd64        Server component for Kopano Core
         ii  kopano-server-packages                          10.0.3.24.2fde1fea9-0+8.1    all          Metapackage to install the entire Kopano Core stack
         ii  kopano-spooler                                  10.0.3.24.2fde1fea9-0+8.1    amd64        E-mail Spooler for Kopano Core
         ii  kopano-webapp                                   4.0.2676+1570.1              all          New and improved WebApp for Kopano
         ii  kopano-webapp-plugin-contactfax                 4.0.2676+1570.1              all          Kopano WebApp fax plugin
         ii  kopano-webapp-plugin-desktopnotifications       2.0.3.48+72.2                all          Kopano WebApp Desktop notifications plugin
         ii  kopano-webapp-plugin-filepreviewer              2.2.0.26+21.5                all          Kopano File previewer plugin
         ii  kopano-webapp-plugin-files                      3.0.0.22+328.1               all          Adds Files functionality to Kopano enabling access to WebDAV and other files backends.
         ii  kopano-webapp-plugin-filesbackend-owncloud      3.0.0.5+104.6                all          Adds Owncloud specific functionality to Kopano Files plugin.
         ii  kopano-webapp-plugin-filesbackend-smb           3.0.0.5+73.2                 all          Adds Samba specific functionality to Kopano Files plugin.
         ii  kopano-webapp-plugin-folderwidgets              4.0.2676+1570.1              all          Kopano WebApp folder widgets plugin
         ii  kopano-webapp-plugin-gmaps                      4.0.2676+1570.1              all          Kopano WebApp google maps plugin
         ii  kopano-webapp-plugin-htmleditor-minimal-tinymce 1.0.0.13+27.3                all          Kopano WebApp TinyMCE editor with minimal functionality
         ii  kopano-webapp-plugin-htmleditor-quill           1.0.0.80+77.1                all          Kopano WebApp Quill editor
         ii  kopano-webapp-plugin-intranet                   1.0.1.17+64.2                all          This plugin adds one or more buttons in the top menu bar which can be used to open a webpage inside Kopano WebApp.
         ii  kopano-webapp-plugin-mdm                        3.0.135+86.1                 all          Kopano WebApp MDM plugin
         ii  kopano-webapp-plugin-meetings                   3.0.6.38                     all          Kopano WebApp Meetings Plugin
         ii  kopano-webapp-plugin-pimfolder                  4.0.2676+1570.1              all          Kopano WebApp personal inbox plugin
         ii  kopano-webapp-plugin-quickitems                 4.0.2676+1570.1              all          Kopano WebApp quick items plugin
         ii  kopano-webapp-plugin-smime                      2.3.0.225+174.2              all          Kopano WebApp S/MIME plugin
         ii  kopano-webapp-plugin-titlecounter               4.0.2676+1570.1              all          Kopano WebApp Titlecounter plugin
         ii  kopano-webapp-plugin-webappmanual               4.0.2676+1570.1              all          Kopano WebApp Manual plugin
         ii  libgsoap-kopano-2.8.99                          2.8.99-0+1.1                 amd64        Runtime libraries for gSOAP
         ii  libkcarchiver0                                  10.0.3.24.2fde1fea9-0+8.1    amd64        Library with shared Kopano archiver functionality
         ii  libkcindex0                                     10.0.3.24.2fde1fea9-0+8.1    amd64        Fulltext indexing API for Kopano Core
         ii  libkcoidc0                                      0.8.1-0+331.1                amd64        Kopano OpenID Connect Library
         ii  libkcserver0                                    10.0.3.24.2fde1fea9-0+8.1    amd64        The Kopano Server library
         ii  libkcsoap0                                      10.0.3.24.2fde1fea9-0+8.1    amd64        SOAP (de)serializer functions for Kopano's RPCs
         ii  libkcutil0                                      10.0.3.24.2fde1fea9-0+8.1    amd64        Miscellaneous utility functions for Kopano Core
         ii  libmapi1                                        10.0.3.24.2fde1fea9-0+8.1    amd64        Kopano's implementation of the Messaging API
         ii  libvmime-kopano3                                0.9.2.96+3.5                 amd64        Library for working with MIME messages and IMAP/POP/SMTP
         ii  php-kopano-smime                                1.0.00+18.1                  amd64        PHP Kopano SMIME Extension extends the php-openssl functions.
         ii  python3-grapi                                   10.2.0+0.200fd8f-0+27.1      amd64        Kopano GRAPI Python 3 API
         ii  python3-grapi.api.v1                            10.2.0+0.200fd8f-0+27.1      amd64        Kopano GRAPI Python 3 REST API v1 endpoints
         ii  python3-grapi.backend.kopano                    10.2.0+0.200fd8f-0+27.1      amd64        Kopano GRAPI Python 3 backend for Kopano Groupware
         ii  python3-grapi.mfr                               10.2.0+0.200fd8f-0+27.1      amd64        Kopano GRAPI Python 3 MFR
         ii  python3-kopano                                  10.0.3.24.2fde1fea9-0+4.1    all          High-level Python 3 bindings for Kopano
         ii  python3-kopano-search                           10.0.3.24.2fde1fea9-0+4.1    all          Kopano search module for Python 3
         ii  python3-kopano-utils                            10.0.3.24.2fde1fea9-0+4.1    all          Kopano utils modules for Python 3
         ii  z-push-backend-kopano                           2.5.1+0-0                    all          Z-Push Kopano backend
         ii  z-push-kopano                                   2.5.1+0-0                    all          Z-Push for Kopano
    

    I have also find this thread on coturn github page where i explain my problem but i don’t think coturn is the problem (https://github.com/coturn/coturn/issues/249)

    Best regards,
    Benoit

  • Kopano

    Browser support for turns is not great. Webkit might not support it. I suggest you just use turn without tls, preferably on port 443. Coturn serves all it’s protocols on all ports. Turn tls has little benefit and your data which is relayed through the turn server is encrypted regardless.

  • Kopano

    Btw , last I checked Firefox did not support turns either.


  • Thanks I understand. Port 443 is only used to pass through firewalls easier or is there other reason ?

  • Kopano

    @benoit_22100

    Yes 443 is just so it’s more likely that firewalls let the traffic through. Also it might be required with a http proxy which limit the connect target ports.