I did a quick install and now I am manually configuring/customizing it to my requirements or my previous installation.
now I want to use “mysql” instead of default “internal” for storage and “internal_plain” instead of default “internal_hashed” for authentication. but as every component is already configured it didn’t just work after I changed the authentication/storage from prosody.cfg.lua rather it ran into error, even mysql login isn’t working after prosody restart though I installed the required package for prosody mysql. what should I do or how should I approach to change authentication/storage in a existing system?
now I tried t revert the changes I made to add secure domain auth with mysql, but now everything seems breaking and I am confused what to do as normal room was working after quick installation.
prosody error :
May 11 10:49:33 portmanager error Error binding encrypted port for https: No certificate present in SSL/TLS configuration for https port 5281
May 11 10:49:33 portmanager error Error binding encrypted port for https: No certificate present in SSL/TLS configuration for https port 5281
May 11 10:55:05 portmanager error Error binding encrypted port for https: No certificate present in SSL/TLS configuration for https port 5281
prosody.log :
May 11 10:56:06 c2s5600587407c0 info Client disconnected: connection closed
May 11 10:56:08 c2s56005874bbc0 info Client connected
May 11 10:56:08 c2s56005874bbc0 info Stream encrypted (TLSv1.2 with ECDHE-RSA-AES128-GCM-SHA256)
May 11 10:56:08 c2s56005874bbc0 info Client disconnected: connection closed
May 11 10:56:11 c2s560058783670 info Client connected
May 11 10:56:11 c2s560058783670 info Stream encrypted (TLSv1.2 with ECDHE-RSA-AES128-GCM-SHA256)
May 11 10:56:11 c2s560058783670 info Client disconnected: connection closed
May 11 10:56:13 c2s56005878eba0 info Client connected
jicofo.log :
Jicofo 2021-05-11 10:56:31.306 INFO: [13] [xmpp_connection=client] XmppProviderImpl.doConnect#205: Connected, JID= null
Jicofo 2021-05-11 10:56:31.308 SEVERE: [13] [xmpp_connection=client] XmppProviderImpl.doConnect#225: Failed to connect/login: SASLError using SCRAM-SHA-1: not-authorized
org.jivesoftware.smack.sasl.SASLErrorException: SASLError using SCRAM-SHA-1: not-authorized
at org.jivesoftware.smack.SASLAuthentication.authenticationFailed(SASLAuthentication.java:292)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1100)
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 2021-05-11 10:56:36.343 INFO: [48] [xmpp_connection=client] XmppProviderImpl.doConnect#205: Connected, JID= null
Jicofo 2021-05-11 10:56:36.344 SEVERE: [48] [xmpp_connection=client] XmppProviderImpl.doConnect#225: Failed to connect/login: SASLError using SCRAM-SHA-1: not-authorized
jvb.log :
JVB 2021-05-11 10:56:43.612 INFO: [17] [hostname=localhost id=shard] MucClient.lambda$getConnectAndLoginCallable$8#597: Logging in.
JVB 2021-05-11 10:56:43.614 WARNING: [17] [hostname=localhost id=shard] MucClient.lambda$getConnectAndLoginCallable$8#611: Failed to login. Disconnecting to trigger a re-connect.
JVB 2021-05-11 10:56:43.615 INFO: [17] [hostname=localhost id=shard] MucClient$1.connectionClosed#271: Closed.
JVB 2021-05-11 10:56:47.518 INFO: [21] VideobridgeExpireThread.expire#140: Running expire()
JVB 2021-05-11 10:56:47.529 INFO: [22] HealthChecker.run#171: Performed a successful health check in PT0S. Sticky failure: false
JVB 2021-05-11 10:56:47.542 WARNING: [26] [hostname=localhost id=shard] MucClient.setPresenceExtensions#420: Cannot set presence extension: not connected.
JVB 2021-05-11 10:56:48.641 INFO: [17] [hostname=localhost id=shard] MucClient$1.connected#259: Connected.
JVB 2021-05-11 10:56:48.641 INFO: [17] [hostname=localhost id=shard] MucClient.lambda$getConnectAndLoginCallable$8#597: Logging in.
JVB 2021-05-11 10:56:48.642 WARNING: [17] [hostname=localhost id=shard] MucClient.lambda$getConnectAndLoginCallable$8#611: Failed to login. Disconnecting to trigger a re-connect.
JVB 2021-05-11 10:56:48.643 INFO: [17] [hostname=localhost id=shard] MucClient$1.connectionClosed#271: Closed.
JVB 2021-05-11 10:56:52.542 WARNING: [26] [hostname=localhost id=shard] MucClient.setPresenceExtensions#420: Cannot set presence extension: not connected.
JVB 2021-05-11 10:56:53.674 INFO: [17] [hostname=localhost id=shard] MucClient$1.connected#259: Connected.
I just did the opposite of secure domain , mysql adding but what happened actually?
Its like I cant go forward or backward and I felt like this in multiple times recently. Thanks in advance for any help
I just did a quick install and everything was working fine with normal room creation. then I tried secure domain with mysql and after failing I tried to revert back and this error pops up. what should I do? should I follow manual install from scratch or have to make log in other components again and how?
Thanks for the reply
@emrah
no I just simply followed this Secure Domain setup · Jitsi Meet Handbook
and what I did extra was tried using “storage=sql” (installed required packages,mysql) and “authentication=internal_plain” in our domain virtual host.
more specifically, added ‘authentication = “internal_plain”’ instead of ‘authentication=internal_hashed"’ in prosody.cfg.lua
these were the changes apart from secure domain adding. but then I was facing errors in prosody about “portmanager / error in binding encrypted ports also about failed connectivity of mysql with prosody”. then I tried to revert these things and the secure domain things (change manually) and restart but now I am facing these error I posted here
Thanks for the reply
yeah my next plan was to apply the changes we had in previous but before I wanted to add secure domain with mysql(previously we used default internal). and I also think just replacing can cause serious error, I will have to check the changes then add/substract the necessary lines in specific files?
Thanks a lot for the replies… now I can create rooms normally with even authentication with plain password saved internally… the problem was what @damencho suspected… while reverting I made a problem in auth domain and now fixed this.
and checked that it was added in mysql database and also working .
it is good to have a good understanding of manual installation (Self-Hosting Guide - Manual installation · Jitsi Meet Handbook) for debugging or add this authentication/storage configs from scratch. now account info’s are in mysql and other (components) user/pass are internal_hashed.
also thanks a lot @emrah for your detailed sharing
Hi @damencho , I have installed the jitsi meet latest stable version today. But it is not working. If 2nd participant joined it got disconnected. I did not modified any configuration file. Can you please help in this regards?
okay I see your success try to install mariaDB but there is no table creations with columns , i ask if there some configurations lost or not add to your comment ,because i get in DB and show tables there in no tables founded