Configuring authentication stops Jitsi Meet from working

I’m on Ubuntu 18.04
I installed jitsi through the quick install instructions via apt: [GITHUB]jitsi/jitsi-meet/blob/master/doc/quick-install.md
I didn’t install jigasi
This install works (I checked with 2 users on video call).

When I try to add authentication according to [GITHUB]jitsi/jicofo#secure-domain
The Jitsi video calls stop working.
When I go into a call, I get an “allow permissions for microphone and camera” page, then after allowing, it would be “error network connection, check your network, rejoining in X seconds” page.

Note, I had to follow this post: https://discourse.diasporafoundation.org/t/prosody-errors-connections-binding-encrypted-port/1317/2 to add bosh ssl since prosody logs complained with this error:
portmanager error Error binding encrypted port for https: No key present in SSL/TLS configuration for https port 5281

But after applying that fix, I now get this error:
When I go into the meeting, I get the call interface but it’s as if the call was disconnected/hung up, and none of the buttons work. There is no asking for permissions or anything anymore.
Here are parts of the logs with errors or warnings: (next post since the forum thinks there are >2 links).

/var/log/jitsi/jicofo.log

Jicofo 2020-05-03 04:00:42.255 INFO: [29] org.jitsi.jicofo.xmpp.BaseBrewery.removeInstance().386 Removed brewery instance: jvbbrewery@internal.auth.mydomain.com/f8b6a8e3-03b3-49f6-94d9-6714a9c62918
Jicofo 2020-05-03 04:00:42.256 INFO: [29] org.jitsi.jicofo.xmpp.BaseBrewery.notifyInstanceOffline().184 A bridge left the MUC: jvbbrewery@internal.auth.mydomain.com/f8b6a8e3-03b3-49f6-94d9-6714a9c62918
Jicofo 2020-05-03 04:00:42.256 INFO: [29] org.jitsi.jicofo.bridge.BridgeSelector.log() Removing JVB: jvbbrewery@internal.auth.mydomain.com/f8b6a8e3-03b3-49f6-94d9-6714a9c62918
Jicofo 2020-05-03 04:00:42.256 INFO: [46] org.jitsi.jicofo.bridge.JvbDoctor.log() Stopping health-check task for: jvbbrewery@internal.auth.mydomain.com/f8b6a8e3-03b3-49f6-94d9-6714a9c62918
Jicofo 2020-05-03 04:00:44.293 SEVERE: [29] org.jitsi.impl.protocol.xmpp.ChatRoomImpl.log() Failed to properly leave MUC: jvbbrewery@internal.auth.mydomain.com(focus@auth.mydomain.com/focus2818744117368)
org.jivesoftware.smack.SmackException$NotConnectedException: The connection XMPPTCPConnection[focus@auth.mydomain.com/focus2818744117368] (0) is no longer connected. done=true smResumptionPossible=false
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketWriter.throwNotConnectedExceptionIfDoneAndResumptionNotPossible(XMPPTCPConnection.java:1327)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection.throwNotConnectedExceptionIfAppropriate(XMPPTCPConnection.java:358)
        at org.jivesoftware.smack.AbstractXMPPConnection.sendStanza(AbstractXMPPConnection.java:670)
        at org.jivesoftware.smackx.muc.MultiUserChat.leave(MultiUserChat.java:742)
        at org.jitsi.impl.protocol.xmpp.ChatRoomImpl.leave(ChatRoomImpl.java:335)
        at org.jitsi.impl.protocol.xmpp.ChatRoomImpl.processOwnPresence(ChatRoomImpl.java:1134)
        at org.jitsi.impl.protocol.xmpp.ChatRoomImpl.processPresence(ChatRoomImpl.java:1251)
        at org.jivesoftware.smackx.muc.MultiUserChat$3.processStanza(MultiUserChat.java:251)
        at org.jivesoftware.smack.AbstractXMPPConnection$6.run(AbstractXMPPConnection.java:1263)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Jicofo 2020-05-03 04:00:44.293 WARNING: [42] org.jivesoftware.smack.AbstractXMPPConnection.callConnectionClosedOnErrorListener() Connection XMPPTCPConnection[focus@auth.mydomain.com/focus2818744117368] (0) closed with error
org.jivesoftware.smack.XMPPException$StreamErrorException: system-shutdown You can read more about the meaning of this stream error at [HTTP]xmpp.org/rfcs/rfc6120.html#streams-error-conditions
<stream:error><system-shutdown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text>Received SIGTERM</text></stream:error>
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1064)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:1000)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1016)
        at java.lang.Thread.run(Thread.java:748)
Jicofo 2020-05-03 04:00:44.295 SEVERE: [42] org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.connectionClosedOnError().543 XMPP connection closed on error: system-shutdown You can read more about the meaning of this stream error at [HTTP]xmpp.org/rfcs/rfc6120.html#streams-error-conditions
<stream:error><system-shutdown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text>Received SIGTERM</text></stream:error>
Jicofo 2020-05-03 04:00:44.295 INFO: [42] org.jitsi.jicofo.ProtocolProviderHandler.registrationStateChanged().144 XmppProtocolProvider(focus@auth.mydomain.com/focus2818744117368 (Jabber)): RegistrationStateChangeEvent[ oldState=Registered; newState=RegistrationState=Unregistered; reasonCode=-1; reason=null]
Jicofo 2020-05-03 04:00:44.295 INFO: [42] org.jitsi.jicofo.xmpp.BaseBrewery.stop().216 Left brewery room: JvbBrewery@internal.auth.mydomain.com
Jicofo 2020-05-03 04:00:44.295 INFO: [42] org.jitsi.jicofo.ComponentsDiscovery.log() Connection lost - component offline: auth.mydomain.com
Jicofo 2020-05-03 04:00:44.295 INFO: [42] org.jitsi.jicofo.ComponentsDiscovery.log() Connection lost - component offline: conference.mydomain.com
Jicofo 2020-05-03 04:00:44.296 WARNING: [42] org.jitsi.jicofo.JitsiMeetServices.log() MUC component went offline: conference.mydomain.com
Jicofo 2020-05-03 04:00:44.296 INFO: [42] org.jitsi.jicofo.ComponentsDiscovery.log() Connection lost - component offline: focus.mydomain.com
Jicofo 2020-05-03 04:00:44.296 INFO: [42] org.jitsi.jicofo.ComponentsDiscovery.log() Connection lost - component offline: guest.mydomain.com
Jicofo 2020-05-03 04:00:44.296 INFO: [42] org.jitsi.jicofo.FocusManager.log() XMPP provider reg state: RegistrationState=Unregistered
Jicofo 2020-05-03 04:00:44.296 WARNING: [42] org.jitsi.impl.protocol.xmpp.PacketDebugger.log().121 Smack: XMPPConnection closed due to an exception (XMPPTCPConnection[focus@auth.mydomain.com/focus2818744117368] (0))
org.jivesoftware.smack.XMPPException$StreamErrorException: system-shutdown You can read more about the meaning of this stream error at [HTTP]xmpp.org/rfcs/rfc6120.html#streams-error-conditions
<stream:error><system-shutdown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text>Received SIGTERM</text></stream:error>
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1064)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:1000)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1016)
        at java.lang.Thread.run(Thread.java:748)
Jicofo 2020-05-03 04:00:45.289 SEVERE: [39] org.jivesoftware.whack.ExternalComponentManager.error() 
java.net.SocketException: Broken pipe (Write failed)
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
        at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
        at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
        at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
        at java.io.BufferedWriter.flush(BufferedWriter.java:254)
        at org.dom4j.io.XMLWriter.flush(XMLWriter.java:272)
        at org.jivesoftware.whack.ExternalComponent.send(ExternalComponent.java:371)
        at org.jivesoftware.whack.ExternalComponentManager.sendPacket(ExternalComponentManager.java:269)
        at org.xmpp.component.AbstractComponent.send(AbstractComponent.java:925)
        at org.jitsi.xmpp.component.ComponentBase.access$400(ComponentBase.java:36)
        at org.jitsi.xmpp.component.ComponentBase$PingTask.run(ComponentBase.java:577)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)
...
Jicofo 2020-05-03 04:00:47.808 WARNING: [10] org.jitsi.jicofo.FocusManager.log() No dedicated JVB MUC XMPP connection configured - falling back to the default XMPP connection
Jicofo 2020-05-03 04:00:49.207 SEVERE: [17] org.jitsi.impl.protocol.xmpp.OpSetSimpleCapsImpl.getFeatures().144 Failed to discover features for conferenceduration.mydomain.com: XMPP error reply received from conferenceduration.mydomain.com: XMPPError: service-unavailable - cancel
Jicofo 2020-05-03 04:00:49.209 SEVERE: [17] org.jitsi.impl.protocol.xmpp.OpSetSimpleCapsImpl.getFeatures().144 Failed to discover features for speakerstats.mydomain.com: XMPP error reply received from speakerstats.mydomain.com: XMPPError: service-unavailable - cancel
Jicofo 2020-05-03 04:00:49.219 SEVERE: [17] org.jitsi.impl.protocol.xmpp.OpSetSimpleCapsImpl.getFeatures().144 Failed to discover features for focus.mydomain.com: XMPP error reply received from focus.mydomain.com: XMPPError: service-unavailable - wait
Jicofo 2020-05-03 04:00:50.184 WARNING: [29] org.jitsi.jicofo.bridge.BridgeSelector.log() No pub-sub node mapped for jvbbrewery@internal.auth.mydomain.com/f8b6a8e3-03b3-49f6-94d9-6714a9c62918

And full prosody log for the run: /var/log/prosody/prosody.log

May 03 04:00:44 general info    Shutdown complete
May 03 04:00:44 general info    Hello and welcome to Prosody version 0.10.0
May 03 04:00:44 general info    Prosody is using the select backend for connection handling
May 03 04:00:44 portmanager     info    Activated service 's2s' on [::]:5269, [*]:5269
May 03 04:00:44 portmanager     info    Activated service 'c2s' on [::]:5222, [*]:5222
May 03 04:00:44 portmanager     info    Activated service 'legacy_ssl' on no ports
May 03 04:00:44 mod_posix       info    Prosody is about to detach from the console, disabling further console output
May 03 04:00:44 mod_posix       info    Successfully daemonized to PID 3639
May 03 04:00:44 speakerstats.mydomain.com:speakerstats_component       warn    speaker stats will not work with Prosody version 0.10 or less.
May 03 04:00:44 conference.mydomain.com:muc_domain_mapper      info    Loading mod_muc_domain_mapper for host auth.mydomain.com!
May 03 04:00:44 conference.mydomain.com:muc_domain_mapper      info    Loading mod_muc_domain_mapper for host conference.mydomain.com!
May 03 04:00:44 conference.mydomain.com:muc_domain_mapper      info    Loading mod_muc_domain_mapper for host guest.mydomain.com!
May 03 04:00:44 conference.mydomain.com:muc_domain_mapper      info    Loading mod_muc_domain_mapper for host speakerstats.mydomain.com!
May 03 04:00:44 conference.mydomain.com:muc_domain_mapper      info    Loading mod_muc_domain_mapper for host mydomain.com!
May 03 04:00:44 portmanager     info    Activated service 'http' on [localhost]:5280
May 03 04:00:44 portmanager     info    Activated service 'https' on [localhost]:5281
May 03 04:00:44 conference.mydomain.com:muc_domain_mapper      info    Loading mod_muc_domain_mapper for host localhost!
May 03 04:00:44 conference.mydomain.com:muc_domain_mapper      info    Loading mod_muc_domain_mapper for host internal.auth.mydomain.com!
May 03 04:00:44 conference.mydomain.com:muc_domain_mapper      info    Loading mod_muc_domain_mapper for host conferenceduration.mydomain.com!
May 03 04:00:44 conferenceduration.mydomain.com:conference_duration_component  warn    conference duration will not work with Prosody version 0.10 or less.
May 03 04:00:44 conference.mydomain.com:muc_domain_mapper      info    Loading mod_muc_domain_mapper for host focus.mydomain.com!
May 03 04:00:44 portmanager     info    Activated service 'component' on [127.0.0.1]:5347, [::1]:5347
May 03 04:00:45 jcp564df60b78e0 info    Incoming Jabber component connection
May 03 04:00:45 focus.mydomain.com:component   info    External component successfully authenticated
May 03 04:00:46 jcp564df60b78e0 info    component disconnected: focus.mydomain.com (false)
May 03 04:00:47 conference.mydomain.com:muc_domain_mapper      warn    Session filters applied
May 03 04:00:47 c2s564df60c16a0 info    Client connected
May 03 04:00:48 c2s564df60c16a0 info    Stream encrypted (TLSv1.2 with ECDHE-RSA-AES256-GCM-SHA384)
May 03 04:00:49 c2s564df60c16a0 info    Authenticated as focus@auth.mydomain.com
May 03 04:00:49 focus.mydomain.com:component   warn    Component not connected, bouncing error for: <iq id='BjN68-42' type='get' to='focus.mydomain.com' from='focus@auth.mydomain.com/focus3264065541372'>
May 03 04:00:49 conference.mydomain.com:muc_domain_mapper      warn    Session filters applied
May 03 04:00:49 c2s564df61296f0 info    Client connected
May 03 04:00:49 c2s564df61296f0 info    Stream encrypted (TLSv1.2 with ECDHE-RSA-AES256-GCM-SHA384)
May 03 04:00:50 c2s564df61296f0 info    Authenticated as jvb@auth.mydomain.com
May 03 04:00:50 jcp564df5c16590 info    Incoming Jabber component connection
May 03 04:00:50 focus.mydomain.com:component   info    External component successfully authenticated

/var/log/jitsi/jvb.log

2020-05-03 04:00:43.330 WARNING: [11] Videobridge.start#906: No authorized source regexp configured. Will accept requests from any source.
...
2020-05-03 04:00:44.626 WARNING: [20] [hostname=localhost id=shard] MucClient.lambda$getConnectAndLoginCallable$7#643: [MucClient id=shard hostname=localhost] error connecting
org.jivesoftware.smack.SmackException: java.net.SocketException: Broken pipe (Write failed)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1076)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:1000)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1016)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.SocketException: Broken pipe (Write failed)
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
        at sun.security.ssl.OutputRecord.writeBuffer(OutputRecord.java:431)
        at sun.security.ssl.OutputRecord.write(OutputRecord.java:417)
        at sun.security.ssl.SSLSocketImpl.writeRecordInternal(SSLSocketImpl.java:894)
        at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:865)
        at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:735)
        at sun.security.ssl.Handshaker.sendChangeCipherSpec(Handshaker.java:1189)
        at sun.security.ssl.ClientHandshaker.sendChangeCipherAndFinish(ClientHandshaker.java:1323)
        at sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:1233)
        at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:372)
        at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1082)
        at sun.security.ssl.Handshaker.process_record(Handshaker.java:1010)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1079)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1388)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1416)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1400)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection.proceedTLSReceived(XMPPTCPConnection.java:810)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection.access$1200(XMPPTCPConnection.java:151)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1071)
        ... 3 more
2020-05-03 04:00:44.638 WARNING: [27] org.jivesoftware.smack.AbstractXMPPConnection.callConnectionClosedOnErrorListener: Connection XMPPTCPConnection[not-authenticated] (0) closed with error
java.net.SocketException: Broken pipe (Write failed)
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
        at sun.security.ssl.OutputRecord.writeBuffer(OutputRecord.java:431)
        at sun.security.ssl.OutputRecord.write(OutputRecord.java:417)
        at sun.security.ssl.SSLSocketImpl.writeRecordInternal(SSLSocketImpl.java:894)
        at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:865)
        at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:735)
        at sun.security.ssl.Handshaker.sendChangeCipherSpec(Handshaker.java:1189)
        at sun.security.ssl.ClientHandshaker.sendChangeCipherAndFinish(ClientHandshaker.java:1323)
        at sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:1233)
        at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:372)
        at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1082)
        at sun.security.ssl.Handshaker.process_record(Handshaker.java:1010)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1079)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1388)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1416)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1400)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection.proceedTLSReceived(XMPPTCPConnection.java:810)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection.access$1200(XMPPTCPConnection.java:151)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1071)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:1000)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1016)
        at java.lang.Thread.run(Thread.java:748)
...
2020-05-03 04:00:44.642 WARNING: [27] [hostname=localhost id=shard] MucClient$1.connectionClosedOnError#295: Closed on error:
java.net.SocketException: Broken pipe (Write failed)
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
        at sun.security.ssl.OutputRecord.writeBuffer(OutputRecord.java:431)
        at sun.security.ssl.OutputRecord.write(OutputRecord.java:417)
        at sun.security.ssl.SSLSocketImpl.writeRecordInternal(SSLSocketImpl.java:894)
        at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:865)
        at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:735)
        at sun.security.ssl.Handshaker.sendChangeCipherSpec(Handshaker.java:1189)
        at sun.security.ssl.ClientHandshaker.sendChangeCipherAndFinish(ClientHandshaker.java:1323)
        at sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:1233)
        at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:372)
        at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1082)
        at sun.security.ssl.Handshaker.process_record(Handshaker.java:1010)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1079)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1388)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1416)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1400)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection.proceedTLSReceived(XMPPTCPConnection.java:810)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection.access$1200(XMPPTCPConnection.java:151)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1071)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:1000)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1016)
        at java.lang.Thread.run(Thread.java:748)

I can’t seem to post the other jicofo and jvb logs since the forum thinks the body is too similar to OP (“what I recently posted”, or have “more than 2 links” - probably my jitsi domain).
So here’s the rest: https://pastebin.com/XWntTRZE