Jicofo tries to connect to the server to create an xmpp connection and log in, but the connection cannot be established because the domain is not serving,
I did the jibri setup and configurations for the meeting recordings, I remember that I entered this domain there, I think it was an error, how can I solve it?
thanks for your quick answer.
this is fields not in comment line in my prosody.cfg.lua prosody.txt (3.3 KB)
I’m creating a meeting with a jwt token for your information
While setting up the jibri configuration on my server, the subdomains I entered do not host, I did not open it and mydomain.com is not the frontend, but the host where the jitsi is installed.
Did you modify the main prosody config?
This seems wrong. What is the prosody config for your jitsi-meet in conf.d folder? You should be modifying that not /etc/prosody/prosody.cfg.lua.
You are right, I have configured the wrong file path. so how can i undo the changes here i don’t know much about it i would be grateful if you can help
This is the default prosody config, you can put it as /etc/prosody/prosody.cfg.lua, restart prosody and jicofo and see whether it works. If that is ok then start over adding the modifications you want in the correct file.
[modules/xmpp/moderator.js] <Or._handleError>: Failed to get a successful response, giving up. Error: Failed to get a successful response, giving up
at Or._handleError (moderator.js:394:23)
at Or._handleIqError (moderator.js:449:10)
at moderator.js:272:31
at Handler.handler (strophe.umd.js:2961:25)
at Handler.run (strophe.umd.js:2092:33)
at strophe.umd.js:3363:37
at Array.reduce ()
at strophe.umd.js:3360:49
at Object.forEachChild (strophe.umd.js:1193:21)
at g.Connection._dataRecv (strophe.umd.js:3358:25)
at e._onRequestStateChange (strophe.umd.js:4626:19)
this is my prosody log:
Apr 11 13:41:23 c2s56092f430f60 info Client disconnected: connection closed
Apr 11 13:41:28 c2s56092f13d4f0 info Client connected
Apr 11 13:41:28 c2s56092f13d4f0 info Client disconnected: connection closed
Apr 11 13:41:28 c2s56092e9051b0 info Client connected
Apr 11 13:41:28 c2s56092e9051b0 info Client disconnected: connection closed
Apr 11 13:41:32 mod_bosh info New BOSH session, assigned it sid '5a848f8f-a6a9-4bf8-adf6-8bab5e7b0371'
Apr 11 13:41:32 bosh5a848f8f-a6a9-4bf8-adf6-8bab5e7b0371 info Authenticated as 40f89a4b-451e-496b-9a6e-8b29bc47eff8@mydomain.com
Apr 11 13:41:33 c2s56092f170fb0 info Client connected
Apr 11 13:41:33 c2s56092f170fb0 info Client disconnected: connection closed
Apr 11 13:41:33 c2s56092f1c50a0 info Client connected
Apr 11 13:41:33 c2s56092f1c50a0 info Client disconnected: connection closed
Apr 11 13:41:38 c2s56092f2e40f0 info Client connected
Apr 11 13:41:38 c2s56092f2e40f0 info Client disconnected: connection closed
Apr 11 13:41:38 c2s56092f12ca00 info Client connected
Apr 11 13:41:38 c2s56092f12ca00 info Client disconnected: connection closed
<stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text>This server does not serve ***auth.mydomain.com*** </text></stream:error>
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:984)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$700(XMPPTCPConnection.java:916)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:939)
at java.base/java.lang.Thread.run(Thread.java:829)
Jicofo 2023-04-12 05:40:31.529 SEVERE: [17] [xmpp_connection=client] XmppProvider.doConnect#179: Failed to connect/login: host-unknown You can read more abou>
<stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text>This server does not serve ***auth.mydomain.com***</text></stream:error>
org.jivesoftware.smack.XMPPException$StreamErrorException: host-unknown You can read more about the meaning of this stream error at http://xmpp.org/rfcs/rfc6>
<stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text>This server does not serve ***auth.mydomain.com***</text></stream:error>
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:984)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$700(XMPPTCPConnection.java:916)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:939)
at java.base/java.lang.Thread.run(Thread.java:829)
Jicofo 2023-04-12 05:40:31.532 WARNING: [37386] org.jivesoftware.smack.AbstractXMPPConnection.callConnectionClosedOnErrorListener: Connection XMPPTCPConnecti>
org.jivesoftware.smack.XMPPException$StreamErrorException: host-unknown You can read more about the meaning of this stream error at http://xmpp.org/rfcs/rfc6>
<stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text>This server does not serve ***auth.mydomain.com***</text></stream:error>
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:984)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$700(XMPPTCPConnection.java:916)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:939)
at java.base/java.lang.Thread.run(Thread.java:829)
Jicofo 2023-04-12 05:40:36.533 SEVERE: [17] [xmpp_connection=client] XmppProvider.doConnect#179: Failed to connect/login: host-unknown You can read more abou>
<stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text>This server does not serve ***auth.mydomain.com***</text></stream:error>
org.jivesoftware.smack.XMPPException$StreamErrorException: host-unknown You can read more about the meaning of this stream error at http://xmpp.org/rfcs/rfc6>
<stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text>This server does not serve ***auth.mydomain.com***</text></stream:error>
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:984)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$700(XMPPTCPConnection.java:916)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:939)
at java.base/java.lang.Thread.run(Thread.java:829)
Jicofo 2023-04-12 05:40:36.536 WARNING: [37389] org.jivesoftware.smack.AbstractXMPPConnection.callConnectionClosedOnErrorListener: Connection XMPPTCPConnecti>
org.jivesoftware.smack.XMPPException$StreamErrorException: host-unknown You can read more about the meaning of this stream error at http://xmpp.org/rfcs/rfc6>
<stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text>This server does not serve ***auth.mydomain.com***</text></stream:error>
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:984)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$700(XMPPTCPConnection.java:916)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:939)
at java.base/java.lang.Thread.run(Thread.java:829)
I think I found the source of the error but I don’t know what to do
command >>> prosodyctl register jibri auth.mydomain.com jibriPass
return this error >>> The given hostname does not exist in the config
@damencho hello damian, how are you? We are developing a project using jitsi, we have changed a few configurations while installing jibri. We were able to start a meeting on the UI side, but we can’t create this now. I created a topic yesterday, you provided a very quick response, thank you, do you have a chance to deal with it in your free time.
This may be the probable cause of the error, maybe I can’t register an account for jibri
root@mydomain:/etc/prosody/conf.d# prosodyctl register recorder recorder.mydomain.com Aa123456
root@mydomain:/etc/prosody/conf.d# prosodyctl register jibri auth.mydomain.com Aa123456
>The given hostname does not exist in the config
Apr 13 05:36:11 mod_posix warn Received SIGTERM
Apr 13 05:36:11 startup info Shutting down: Received SIGTERM
Apr 13 05:36:11 portmanager info Deactivated service 'c2s'
Apr 13 05:36:11 portmanager info Deactivated service 'c2s_direct_tls'
Apr 13 05:36:11 portmanager info Deactivated service 'legacy_ssl'
Apr 13 05:36:11 portmanager info Deactivated service 's2s'
Apr 13 05:36:11 portmanager info Deactivated service 's2s_direct_tls'
Apr 13 05:36:11 general info Shutting down...
Apr 13 05:36:11 general info Shutdown status: Cleaning up
Apr 13 05:36:11 general info Shutdown complete
Apr 13 05:36:12 startup info Hello and welcome to Prosody version 0.12.3
Apr 13 05:36:12 startup info Prosody is using the epoll backend for connection handling
Apr 13 05:36:12 conference.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host conference.mydomain.com!
Apr 13 05:36:12 conference.mydomain.com:tls info Certificates loaded
Apr 13 05:36:12 modulemanager error Unable to load module 'token_affiliation ': /usr/lib/prosody/modules/share/lua/5.2/mod_token_affiliation /mod_token_a>
Apr 13 05:36:12 portmanager info Activated service 's2s' on [*]:5269, [::]:5269
Apr 13 05:36:12 portmanager info Activated service 's2s_direct_tls' on no ports
Apr 13 05:36:12 conference.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host focus.mydomain.com!
Apr 13 05:36:12 focus.mydomain.com:tls info Certificates loaded
Apr 13 05:36:12 conference.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host guest.domain.loc!
Apr 13 05:36:12 portmanager info Activated service 'c2s' on [*]:5222, [::]:5222
Apr 13 05:36:12 portmanager info Activated service 'c2s_direct_tls' on no ports
Apr 13 05:36:12 portmanager info Activated service 'legacy_ssl' on no ports
Apr 13 05:36:12 certmanager info No certificate present in SSL/TLS configuration for guest.domain.loc. SNI will be required.
Apr 13 05:36:12 certmanager info No certificate present in SSL/TLS configuration for guest.domain.loc. SNI will be required.
Apr 13 05:36:12 guest.domain.loc:tls info Certificates loaded
Apr 13 05:36:12 conference.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host internal.auth.mydomain.com!
Apr 13 05:36:12 internal.auth.mydomain.com:tls info Certificates loaded
Apr 13 05:36:12 conference.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host mydomain.com!
Apr 13 05:36:12 mydomain.com:muc_breakout_rooms info Hook to muc events on conference.mydomain.com
Apr 13 05:36:12 mydomain.com:tls info Certificates loaded
Apr 13 05:36:12 mod_bosh info The 'cross_domain_bosh' option has been deprecated
Apr 13 05:36:12 portmanager info Activated service 'http' on [::1]:5280, [127.0.0.1]:5280
Apr 13 05:36:12 portmanager info Activated service 'https' on [*]:5281, [::]:5281
Apr 13 05:36:12 mydomain.com:http info Serving 'bosh' at https://mydomain.com:5281/http-bind
Apr 13 05:36:12 metadata.mydomain.com:room_metadata_component info Starting room metadata for conference.mydomain.com
Apr 13 05:36:12 metadata.mydomain.com:room_metadata_component info Hook to muc events on conference.mydomain.com
Apr 13 05:36:12 metadata.mydomain.com:tls info Certificates loaded
Apr 13 05:36:12 conference.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host metadata.mydomain.com!
Apr 13 05:36:12 conference.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host lobby.mydomain.com!
Apr 13 05:36:12 lobby.mydomain.com:tls info Certificates loaded
Apr 13 05:36:12 mydomain.com:muc_lobby_rooms info Lobby component loaded lobby.mydomain.com
Apr 13 05:36:12 conference.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host recorder.mydomain.com!
Apr 13 05:36:12 recorder.mydomain.com:tls info Certificates loaded
Apr 13 05:36:12 conference.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host breakout.mydomain.com!
Apr 13 05:36:12 mydomain.com:muc_breakout_rooms info Breakout rooms component created breakout.mydomain.com
Apr 13 05:36:12 metadata.mydomain.com:room_metadata_component info Hook to muc events on breakout.mydomain.com
Apr 13 05:36:12 mydomain.com:muc_breakout_rooms info Hook to muc events on breakout.mydomain.com
Apr 13 05:36:12 breakout.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host conference.mydomain.com!
Apr 13 05:36:12 breakout.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host focus.mydomain.com!
Apr 13 05:36:12 breakout.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host internal.auth.mydomain.com!
Apr 13 05:36:12 breakout.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host mydomain.com!
Apr 13 05:36:12 breakout.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host recorder.mydomain.com!
Apr 13 05:36:12 breakout.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host breakout.mydomain.com!
Apr 13 05:36:12 breakout.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host lobby.mydomain.com!
Apr 13 05:36:12 breakout.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host metadata.mydomain.com!
Apr 13 05:36:12 breakout.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host guest.domain.loc!
Apr 13 05:36:12 breakout.mydomain.com:tls info Certificates loaded
Apr 13 05:36:12 conference.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host endconference.mydomain.com!
Apr 13 05:36:12 endconference.mydomain.com:end_conference info Starting end_conference for conference.mydomain.com
Apr 13 05:36:12 endconference.mydomain.com:tls info Certificates loaded
Apr 13 05:36:12 breakout.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host endconference.mydomain.com!
Apr 13 05:36:12 conference.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host avmoderation.mydomain.com!
Apr 13 05:36:12 avmoderation.mydomain.com:av_moderation_component info Starting av_moderation for conference.mydomain.com
Apr 13 05:36:12 avmoderation.mydomain.com:av_moderation_component info Hook to muc events on conference.mydomain.com
Apr 13 05:36:12 avmoderation.mydomain.com:tls info Certificates loaded
Apr 13 05:36:12 breakout.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host avmoderation.mydomain.com!
Apr 13 05:36:12 conference.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host conferenceduration.testmeetapi.bul.com>
Apr 13 05:36:12 conferenceduration.mydomain.com:conference_duration_component info Starting conference duration timer for conference.testmeetapi>
Apr 13 05:36:12 conferenceduration.mydomain.com:conference_duration_component info Hook to muc events on conference.mydomain.com
Apr 13 05:36:12 conferenceduration.mydomain.com:tls info Certificates loaded
Apr 13 05:36:12 breakout.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host conferenceduration.testmeetapi.bul.com>
Apr 13 05:36:12 conference.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host localhost!
Apr 13 05:36:12 certmanager info No certificate present in SSL/TLS configuration for localhost. SNI will be required.
Apr 13 05:36:12 certmanager info No certificate present in SSL/TLS configuration for localhost. SNI will be required.
Apr 13 05:36:12 localhost:tls info Certificates loaded
Apr 13 05:36:12 breakout.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host localhost!
Apr 13 05:36:12 conference.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host speakerstats.mydomain.com!
Apr 13 05:36:12 speakerstats.mydomain.com:speakerstats_component info Starting speakerstats for conference.mydomain.com
Apr 13 05:36:12 speakerstats.mydomain.com:speakerstats_component info Conference component loaded conference.mydomain.com
Apr 13 05:36:12 speakerstats.mydomain.com:speakerstats_component info Hook to muc events on table: 0x55b21f89d180
Apr 13 05:36:12 speakerstats.mydomain.com:speakerstats_component info Main muc service table: 0x55b21efabda0
Apr 13 05:36:12 speakerstats.mydomain.com:speakerstats_component info Breakout component loaded breakout.mydomain.com
Apr 13 05:36:12 speakerstats.mydomain.com:speakerstats_component info Hook to muc events on table: 0x55b21f9dd230
Apr 13 05:36:12 speakerstats.mydomain.com:tls info Certificates loaded
Apr 13 05:36:12 breakout.mydomain.com:muc_domain_mapper info Loading mod_muc_domain_mapper for host speakerstats.mydomain.com!
Apr 13 05:36:12 c2s55b21fa25aa0 info Client connected
Apr 13 05:36:12 c2s55b21fa25aa0 info Client disconnected: connection closed
Apr 13 05:36:13 c2s55b21f882da0 info Client connected
Apr 13 05:36:13 c2s55b21f882da0 info Client disconnected: connection closed
Apr 13 05:36:17 c2s55b21f94d4e0 info Client connected
Apr 13 05:36:17 c2s55b21f94d4e0 info Client disconnected: connection closed