<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Johathan,</p>
    <p>Should I expose prosody directly?<br>
    </p>
    <pre class="moz-signature" cols="72">Jávorszky Balázs
</pre>
    <div class="moz-cite-prefix">On 1/30/21 7:26 PM, Jonathan Engwall
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAP=T6ZNSM=RQ4_9_nbA3iCnWg2yuafWMKNE2FBXupcOzddZcfg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">
        <div dir="auto">Hello J?vorsky,
          <div dir="auto">(sorry about the lack of character support)</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">I read your post again, the links you provided
            and had good results last night.</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">Your foremost problem is simply starting the
            server through nginx. </div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">Jonathan Engwall</div>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Wed, Jan 27, 2021, 9:51
            AM <<a href="mailto:users-request@dragonflybsd.org"
              target="_blank" rel="noreferrer" moz-do-not-send="true">users-request@dragonflybsd.org</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Users
            mailing list submissions to<br>
                    <a href="mailto:users@dragonflybsd.org"
              rel="noreferrer noreferrer" target="_blank"
              moz-do-not-send="true">users@dragonflybsd.org</a><br>
            <br>
            To subscribe or unsubscribe via the World Wide Web, visit<br>
                    <a
              href="http://lists.dragonflybsd.org/mailman/listinfo/users"
              rel="noreferrer noreferrer noreferrer" target="_blank"
              moz-do-not-send="true">http://lists.dragonflybsd.org/mailman/listinfo/users</a><br>
            or, via email, send a message with subject or body 'help' to<br>
                    <a href="mailto:users-request@dragonflybsd.org"
              rel="noreferrer noreferrer" target="_blank"
              moz-do-not-send="true">users-request@dragonflybsd.org</a><br>
            <br>
            You can reach the person managing the list at<br>
                    <a href="mailto:users-owner@dragonflybsd.org"
              rel="noreferrer noreferrer" target="_blank"
              moz-do-not-send="true">users-owner@dragonflybsd.org</a><br>
            <br>
            When replying, please edit your Subject line so it is more
            specific<br>
            than "Re: Contents of Users digest..."<br>
            <br>
            <br>
            Today's Topics:<br>
            <br>
               1. jitsi server for DragonFlyBSD (J?vorszky Bal?zs)<br>
            <br>
            <br>
----------------------------------------------------------------------<br>
            <br>
            Message: 1<br>
            Date: Wed, 27 Jan 2021 18:50:49 +0100<br>
            From: J?vorszky Bal?zs <<a
              href="mailto:javorszky.balazs@gmail.com" rel="noreferrer
              noreferrer" target="_blank" moz-do-not-send="true">javorszky.balazs@gmail.com</a>><br>
            To: <a href="mailto:users@dragonflybsd.org" rel="noreferrer
              noreferrer" target="_blank" moz-do-not-send="true">users@dragonflybsd.org</a><br>
            Subject: jitsi server for DragonFlyBSD<br>
            Message-ID: <<a
              href="mailto:5950c523-130a-7850-2a1d-cdef82fc64dc@gmail.com"
              rel="noreferrer noreferrer" target="_blank"
              moz-do-not-send="true">5950c523-130a-7850-2a1d-cdef82fc64dc@gmail.com</a>><br>
            Content-Type: text/plain; charset="utf-8"<br>
            <br>
            Hi,<br>
            <br>
            I tried to setup a jitsi server on my DragonFlyBSD machine.
            I've<br>
            encountered a few problems, some of them fatal as far as I
            understand.<br>
            Could anyone help? I understand that this is not a "top
            priority"<br>
            problem but anyway :) FYI we have a lot of free bandwidth
            and capacity<br>
            in our servers and we do a lot of virtual conferences lately
            for well<br>
            known reasons.<br>
            <br>
            I found two quite useful guides, easy to follow:<br>
            <br>
            <a
              href="https://honeyguide.eu/posts/jitsi-freebsd/?utm_source=discoverbsd"
              rel="noreferrer noreferrer noreferrer" target="_blank"
              moz-do-not-send="true">https://honeyguide.eu/posts/jitsi-freebsd/?utm_source=discoverbsd</a><br>
            <br>
            <a href="https://www.bobeager.uk/jitsi.html" rel="noreferrer
              noreferrer noreferrer" target="_blank"
              moz-do-not-send="true">https://www.bobeager.uk/jitsi.html</a>
            (Warning! the jitsi-meet config.js<br>
            doesn't work the way he described!)<br>
            <br>
            Of course these are for FreeBSD, but they are very helpful
            anyway. It's<br>
            also evident that the relevant DragonFly packages are
            actually<br>
            mechanically produced from the corresponding FreeBSD ones.<br>
            <br>
            1. net-im/jitsi-videobridge and net-im/jicofo both use the<br>
            ${name}_env_file mechanism in the corresponding rc files.
            This is quite<br>
            new in FreeBSD (available from 12.x), and evidently it's not
            ported to<br>
            DragonFly. I ended up hand modifying the rc script and
            sourcing the env<br>
            file, an easy fix.<br>
            <br>
            /usr/local/etc/rc.d/jicofo:<br>
            <br>
            ...<br>
            <br>
            {<br>
            *??????? . $jicofo_env_file*<br>
            ??????? daemon -p ${pidfile} -o /var/log/${name}.log \<br>
            ??????????????? ${command} -Xmx${MAX_MEMORY} \<br>
            ...<br>
            <br>
            <br>
            2. jitsi-videobridge is throwing java exceptions (log
            excerpt below). I<br>
            found the *bold, red* parts especially "disturbing". This
            component<br>
            should work smoothly after a very minimal configuration:<br>
            <br>
            /usr/local/etc/jitsi/videobridge/jitsi-videobridge.conf:<br>
            <br>
            JVB_XMPP_HOST=localhost<br>
            JVB_XMPP_DOMAIN=<a href="http://meet.somedomain.hu"
              rel="noreferrer noreferrer noreferrer" target="_blank"
              moz-do-not-send="true">meet.somedomain.hu</a><br>
            JVB_XMPP_PORT=5347<br>
            JVB_XMPP_SECRET=SomeSecret<br>
            <br>
            VIDEOBRIDGE_MAX_MEMORY=3072m<br>
            <br>
/usr/local/etc/jitsi/videobridge/sip-communicator.properties:<br>
            <br>
            org.jitsi.videobridge.TCP_HARVESTER_PORT=4443<br>
            <br>
            I'm quite sure my jitsi-videobridge doesn't work but I'm not
            even sure.<br>
            It should listen on the tcp port 4443 and the udp port 10000
            but<br>
            according to netstat -na it does not, so it's very likely
            not working.<br>
            <br>
            Thanks for any help in advance,<br>
            <br>
            Regards:<br>
            <br>
            Bal?zs<br>
            <br>
            <br>
            2021-01-27 18:09:45.271 INFO: [1] NewConfig$1.invoke#88:
            Loaded<br>
            NewConfig with origin: merge of system properties,system<br>
            properties,reference.conf @<br>
<a class="moz-txt-link-freetext" href="jar:file:/usr/local/share/java/classes/jitsi-videobridge.jar!/reference.conf">jar:file:/usr/local/share/java/classes/jitsi-videobridge.jar!/reference.conf</a>:<br>
            1<br>
            <br>
            2021-01-27 18:09:45.276 INFO: [1]<br>
            LegacyConfigFileLoader$Companion.load#40: Attempting to load
            legacy<br>
            config file at path /usr/local/etc/jitsi, videobridge,<br>
            sip-communicator.properties<br>
            2021-01-27 18:09:45.473 INFO: [1]<br>
            LegacyConfigFileLoader$Companion.load#40: Attempting to load
            legacy<br>
            config file at path /usr/local/etc/jitsi, videobridge,<br>
            sip-communicator.properties<br>
            2021-01-27 18:09:45.474 INFO: [1]
            JitsiConfig$Companion.reload#40:<br>
            Reloading.<br>
            2021-01-27 18:09:45.483 INFO: [1] NewConfig$1.invoke#88:
            Loaded<br>
            NewConfig with origin: merge of system properties,system<br>
            properties,reference.conf @<br>
<a class="moz-txt-link-freetext" href="jar:file:/usr/local/share/java/classes/jitsi-videobridge.jar!/reference.conf">jar:file:/usr/local/share/java/classes/jitsi-videobridge.jar!/reference.conf</a>:<br>
            1<br>
            2021-01-27 18:09:45.483 INFO: [1]<br>
            LegacyConfigFileLoader$Companion.load#40: Attempting to load
            legacy<br>
            config file at path /usr/local/etc/jitsi, videobridge,<br>
            sip-communicator.properties<br>
            2021-01-27 18:09:45.484 INFO: [1]<br>
            LegacyConfigFileLoader$Companion.load#40: Attempting to load
            legacy<br>
            config file at path /usr/local/etc/jitsi, videobridge,<br>
            sip-communicator.properties<br>
            2021-01-27 18:09:45.523 INFO: [13]
            ConfigurationActivator.start#45:<br>
            Registered the LegacyConfigurationServiceShim in OSGi.<br>
            2021-01-27 18:09:45.526 INFO: [13]
            AbstractVersionActivator.start#91:<br>
            VersionService registered: JVB 2.1.SNAPSHOT<br>
            2021-01-27 18:09:45.542 INFO: [13]<br>
            org.eclipse.jetty.util.log.Log.initialized: Logging
            initialized @648ms<br>
            to org.eclipse.jetty.util.log.JavaUtilLog<br>
            2021-01-27 18:09:45.641 INFO: [13]<br>
            org.eclipse.jetty.server.Server.doStart:
            jetty-9.4.z-SNAPSHOT; built:<br>
            2019-02-15T16:53:49.381Z; git:
            eb70b240169fcf1abbd86af36482d1c49826fa0b;<br>
            jvm 1.8.0_181-b13<br>
            2021-01-27 18:09:47.488 INFO: [13]<br>
            org.eclipse.jetty.server.handler.ContextHandler.doStart:
            Started<br>
            o.e.j.s.ServletContextHandler@1f475259{/,null,AVAILABLE}<br>
            2021-01-27 18:09:47.501 INFO: [13]<br>
            org.eclipse.jetty.server.AbstractConnector.doStart: Started<br>
            ServerConnector@14a826bd{HTTP/1.1,[http/1.1]}{<a
              href="http://0.0.0.0:8080" rel="noreferrer noreferrer
              noreferrer" target="_blank" moz-do-not-send="true">0.0.0.0:8080</a>}<br>
            2021-01-27 18:09:47.501 INFO: [13]<br>
            org.eclipse.jetty.server.Server.doStart: Started @2608ms<br>
            2021-01-27 18:09:47.512 INFO: [13]<br>
            AbstractJettyBundleActivator.start#613: Not starting the
            Jetty service<br>
            for
            org.jitsi.videobridge.websocket.WebSocketBundleActivator(port=-1)<br>
            *2021-01-27 18:09:47.525 WARNING: [13]
            UlimitCheck.printUlimits#111:<br>
            Running with open files limit null (hard null), thread limit
            null (hard<br>
            null). These values are too low and they will limit the
            number of<br>
            participants that the bridge can serve simultaneously.**<br>
            *2021-01-27 18:09:47.528 INFO: [13]
            VideobridgeExpireThread.start#92:<br>
            Starting with 60 second interval.<br>
            2021-01-27 18:09:47.529 WARNING: [13] Videobridge.start#909:
            No<br>
            authorized source regexp configured. Will accept requests
            from any source.<br>
            2021-01-27 18:09:47.632 INFO: [13]
            JitsiConfig$Companion.reload#40:<br>
            Reloading.<br>
            2021-01-27 18:09:47.638 INFO: [13] NewConfig$1.invoke#88:
            Loaded<br>
            NewConfig with origin: merge of system properties,system<br>
            properties,reference.conf @<br>
<a class="moz-txt-link-freetext" href="jar:file:/usr/local/share/java/classes/jitsi-videobridge.jar!/reference.conf">jar:file:/usr/local/share/java/classes/jitsi-videobridge.jar!/reference.conf</a>:<br>
            1<br>
            2021-01-27 18:09:47.638 INFO: [13]<br>
            LegacyConfigFileLoader$Companion.load#40: Attempting to load
            legacy<br>
            config file at path /usr/local/etc/jitsi, videobridge,<br>
            sip-communicator.properties<br>
            2021-01-27 18:09:47.639 INFO: [13]<br>
            LegacyConfigFileLoader$Companion.load#40: Attempting to load
            legacy<br>
            config file at path /usr/local/etc/jitsi, videobridge,<br>
            sip-communicator.properties<br>
            2021-01-27 18:09:47.648 INFO: [13]
            AbstractHealthCheckService.start#96:<br>
            Started with interval=10000, timeout=PT30S,
            maxDuration=PT3S,<br>
            stickyFailures=false.<br>
            2021-01-27 18:09:47.660 INFO: [13]
            OctoRelayService.start#62: Octo relay<br>
            is disabled.<br>
            2021-01-27 18:09:47.723 INFO: [28]
            ComponentBase.loadConfig#202:<br>
            Component org.jitsi.videobridge. config:<br>
            2021-01-27 18:09:47.723 INFO: [28]
            ComponentBase.loadConfig#203:?? ping<br>
            interval: 10000 ms<br>
            2021-01-27 18:09:47.724 INFO: [28]
            ComponentBase.loadConfig#204:?? ping<br>
            timeout: 5000 ms<br>
            2021-01-27 18:09:47.724 INFO: [28]
            ComponentBase.loadConfig#205:?? ping<br>
            threshold: 3<br>
            2021-01-27 18:09:48.157 INFO: [24]<br>
            org.ice4j.ice.harvest.MappingCandidateHarvesters.initialize:
            Initialized<br>
            mapping harvesters (delay=513ms).? stunDiscoveryFailed=false<br>
            2021-01-27 18:09:57.675 INFO: [25]
            Videobridge.createConference#319:<br>
            create_conf, id=c552d97d6078c229 gid=null logging=false<br>
            2021-01-27 18:09:57.690 INFO: [25]
            TaskPools.<clinit>#81: TaskPools<br>
            detected 8 processors, creating the CPU pool with that many
            threads<br>
            2021-01-27 18:09:57.831 INFO: [25]<br>
            org.ice4j.ice.harvest.AbstractUdpListener.<init>:
            Initialized<br>
            AbstractUdpListener with address <a
              href="http://217.116.43.47:10000/udp" rel="noreferrer
              noreferrer noreferrer" target="_blank"
              moz-do-not-send="true">217.116.43.47:10000/udp</a>.
            Receive buffer<br>
            size 419430 (asked for 1048 5760)<br>
            2021-01-27 18:09:57.832 INFO: [25]<br>
            org.ice4j.ice.harvest.SinglePortUdpHarvester.<init>:
            Initialized<br>
            SinglePortUdpHarvester with address <a
              href="http://217.116.43.47:10000/udp" rel="noreferrer
              noreferrer noreferrer" target="_blank"
              moz-do-not-send="true">217.116.43.47:10000/udp</a><br>
            *Error loading native library: java.lang.Exception:
            Unsupported OS:<br>
            DragonFlyBSD**<br>
            *2021-01-27 18:09:58.607 SEVERE: [25]
            RecurringRunnableExecutor.run#230:<br>
            The invocation of the method
            org.jitsi.videobridge.health.Health.run()<br>
            threw an exception.<br>
            java.lang.UnsatisfiedLinkError:<br>
            org.jitsi_modified.sctp4j.SctpJni.usrsctp_init(I)Z<br>
            ??????? at
            org.jitsi_modified.sctp4j.SctpJni.usrsctp_init(Native
            Method)<br>
            ??????? at
            org.jitsi_modified.sctp4j.Sctp4j.init(Sctp4j.java:40)<br>
            ??????? at<br>
org.jitsi.videobridge.sctp.SctpManager.<clinit>(SctpManager.java:54)<br>
            ??????? at<br>
org.jitsi.videobridge.Endpoint.createSctpConnection(Endpoint.java:860)<br>
            ??????? at
            org.jitsi.videobridge.health.Health.check(Health.java:77)<br>
            ??????? at
            org.jitsi.videobridge.health.Health.performCheck(Health.java:211)<br>
            ??????? at<br>
org.jitsi.health.AbstractHealthCheckService.run(AbstractHealthCheckService.kt:144)<br>
            ??????? at<br>
org.jitsi.utils.concurrent.RecurringRunnableExecutor.run(RecurringRunnableExecutor.java:216)<br>
            ??????? at<br>
org.jitsi.utils.concurrent.RecurringRunnableExecutor.runInThread(RecurringRunnableExecutor.java:292)<br>
            ??????? at<br>
org.jitsi.utils.concurrent.RecurringRunnableExecutor.access$000(RecurringRunnableExecutor.java:36)<br>
            ??????? at<br>
org.jitsi.utils.concurrent.RecurringRunnableExecutor$1.run(RecurringRunnableExecutor.java:328)<br>
            2021-01-27 18:10:07.677 INFO: [25]
            Videobridge.createConference#319:<br>
            create_conf, id=2cf3fa4f00c2ff3a gid=null logging=false<br>
            2021-01-27 18:10:07.683 SEVERE: [25]
            RecurringRunnableExecutor.run#230:<br>
            The invocation of the method
            org.jitsi.videobridge.health.Health.run()<br>
            threw an exception.<br>
            java.lang.NoClassDefFoundError: Could not initialize class<br>
            org.jitsi.videobridge.sctp.SctpManager<br>
            ??????? at<br>
org.jitsi.videobridge.Endpoint.createSctpConnection(Endpoint.java:860)<br>
            ??????? at
            org.jitsi.videobridge.health.Health.check(Health.java:77)<br>
            ??????? at
            org.jitsi.videobridge.health.Health.performCheck(Health.java:211)<br>
            ??????? at<br>
org.jitsi.health.AbstractHealthCheckService.run(AbstractHealthCheckService.kt:144)<br>
            ??????? at<br>
org.jitsi.utils.concurrent.RecurringRunnableExecutor.run(RecurringRunnableExecutor.java:216)<br>
            ??????? at<br>
org.jitsi.utils.concurrent.RecurringRunnableExecutor.runInThread(RecurringRunnableExecutor.java:292)<br>
            ??????? at<br>
org.jitsi.utils.concurrent.RecurringRunnableExecutor.access$000(RecurringRunnableExecutor.java:36)<br>
            ??????? at<br>
org.jitsi.utils.concurrent.RecurringRunnableExecutor$1.run(RecurringRunnableExecutor.java:328)<br>
            2021-01-27 18:10:17.677 INFO: [25]
            Videobridge.createConference#319:<br>
            create_conf, id=cd809d65b2aa732a gid=null logging=false<br>
            2021-01-27 18:10:17.683 SEVERE: [25]
            RecurringRunnableExecutor.run#230:<br>
            The invocation of the method
            org.jitsi.videobridge.health.Health.run()<br>
            threw an exception.<br>
            java.lang.NoClassDefFoundError: Could not initialize class<br>
            org.jitsi.videobridge.sctp.SctpManager<br>
            ??????? at<br>
org.jitsi.videobridge.Endpoint.createSctpConnection(Endpoint.java:860)<br>
            ??????? at
            org.jitsi.videobridge.health.Health.check(Health.java:77)<br>
            ??????? at
            org.jitsi.videobridge.health.Health.performCheck(Health.java:211)<br>
            ??????? at<br>
org.jitsi.health.AbstractHealthCheckService.run(AbstractHealthCheckService.kt:144)<br>
            ??????? at<br>
org.jitsi.utils.concurrent.RecurringRunnableExecutor.run(RecurringRunnableExecutor.java:216)<br>
            ??????? at<br>
org.jitsi.utils.concurrent.RecurringRunnableExecutor.runInThread(RecurringRunnableExecutor.java:292)<br>
            ??????? at<br>
org.jitsi.utils.concurrent.RecurringRunnableExecutor.access$000(RecurringRunnableExecutor.java:36)<br>
            ??????? at<br>
org.jitsi.utils.concurrent.RecurringRunnableExecutor$1.run(RecurringRunnableExecutor.java:328)<br>
            2021-01-27 18:10:27.697 INFO: [25]
            Videobridge.createConference#319:<br>
            create_conf, id=4bb74965720a56d9 gid=null logging=false<br>
            2021-01-27 18:10:27.702 SEVERE: [25]
            RecurringRunnableExecutor.run#230:<br>
            The invocation of the method
            org.jitsi.videobridge.health.Health.run()<br>
            threw an exception.<br>
            java.lang.NoClassDefFoundError: Could not initialize class<br>
            org.jitsi.videobridge.sctp.SctpManager<br>
            ??????? at<br>
org.jitsi.videobridge.Endpoint.createSctpConnection(Endpoint.java:860)<br>
            ??????? at
            org.jitsi.videobridge.health.Health.check(Health.java:77)<br>
            ??????? at
            org.jitsi.videobridge.health.Health.performCheck(Health.java:211)<br>
            ??????? at<br>
org.jitsi.health.AbstractHealthCheckService.run(AbstractHealthCheckService.kt:144)<br>
            ??????? at<br>
org.jitsi.utils.concurrent.RecurringRunnableExecutor.run(RecurringRunnableExecutor.java:216)<br>
            ??????? at<br>
org.jitsi.utils.concurrent.RecurringRunnableExecutor.runInThread(RecurringRunnableExecutor.java:292)<br>
            ??????? at<br>
org.jitsi.utils.concurrent.RecurringRunnableExecutor.access$000(RecurringRunnableExecutor.java:36)<br>
            ??????? at<br>
org.jitsi.utils.concurrent.RecurringRunnableExecutor$1.run(RecurringRunnableExecutor.java:328)<br>
            <br>
            -------------- next part --------------<br>
            An HTML attachment was scrubbed...<br>
            URL: <<a
href="http://lists.dragonflybsd.org/pipermail/users/attachments/20210127/d6980781/attachment.htm"
              rel="noreferrer noreferrer noreferrer" target="_blank"
              moz-do-not-send="true">http://lists.dragonflybsd.org/pipermail/users/attachments/20210127/d6980781/attachment.htm</a>><br>
            -------------- next part --------------<br>
            A non-text attachment was scrubbed...<br>
            Name: 0xC6991810B203B247.asc<br>
            Type: application/pgp-keys<br>
            Size: 949 bytes<br>
            Desc: not available<br>
            URL: <<a
href="http://lists.dragonflybsd.org/pipermail/users/attachments/20210127/d6980781/attachment.bin"
              rel="noreferrer noreferrer noreferrer" target="_blank"
              moz-do-not-send="true">http://lists.dragonflybsd.org/pipermail/users/attachments/20210127/d6980781/attachment.bin</a>><br>
            -------------- next part --------------<br>
            A non-text attachment was scrubbed...<br>
            Name: signature.asc<br>
            Type: application/pgp-signature<br>
            Size: 228 bytes<br>
            Desc: OpenPGP digital signature<br>
            URL: <<a
href="http://lists.dragonflybsd.org/pipermail/users/attachments/20210127/d6980781/attachment-0001.bin"
              rel="noreferrer noreferrer noreferrer" target="_blank"
              moz-do-not-send="true">http://lists.dragonflybsd.org/pipermail/users/attachments/20210127/d6980781/attachment-0001.bin</a>><br>
            <br>
            ------------------------------<br>
            <br>
            Subject: Digest Footer<br>
            <br>
            _______________________________________________<br>
            Users mailing list<br>
            <a href="mailto:Users@dragonflybsd.org" rel="noreferrer
              noreferrer" target="_blank" moz-do-not-send="true">Users@dragonflybsd.org</a><br>
            <a
              href="http://lists.dragonflybsd.org/mailman/listinfo/users"
              rel="noreferrer noreferrer noreferrer" target="_blank"
              moz-do-not-send="true">http://lists.dragonflybsd.org/mailman/listinfo/users</a><br>
            <br>
            <br>
            ------------------------------<br>
            <br>
            End of Users Digest, Vol 101, Issue 13<br>
            **************************************<br>
          </blockquote>
        </div>
      </div>
    </blockquote>
  </body>
</html>