Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646
1136 Discussions

[v3.3] RabbitMQ configuration for MCU cluster deployment

Li__Guangming
New Contributor I
586 Views

Hello there
I am using version 3.1.

1. One machine install RabbitMQ, MongoDB,Nuve, Cluster Manager, Portal, Access Agent. audio agent.

2. One machine install video agent.

Has been sure that rabbit.port and rabbit.host point to the RabbitMQ server,But the following error message appears when the web client logs in

           ERROR: server connection failed: initRoom failed.                              woogeen.sdk.js:219 
           INFO: Server disconnected                                                                        woogeen.sdk.js:219 

Debugging and checking for a long time, or so, can I help me?
thank you very much.

0 Kudos
1 Solution
Lei_Z_Intel1
Employee
586 Views

Good topic. Maybe you hit the RabbitMQ configuration issue and we will improve our product in further release. Now we use guest to access RabbitMQ, which only support accessing from localhost, so need some configuration to allow remote access.

============================================================================================================

"guest" user can only connect via localhost

By default, the guest user is prohibited from connecting to the broker remotely; it can only connect over a loopback interface (i.e. localhost). This applies both to AMQP and to any other protocols enabled via plugins. Any other users you create will not (by default) be restricted in this way.

This is configured via the loopback_users item in the configuration file.

If you wish to allow the guest user to connect from a remote host, you should set the loopback_usersconfiguration item to []. A complete rabbitmq.config which does this would look like:

[{rabbit, [{loopback_users, []}]}].

View solution in original post

7 Replies
Li__Guangming
New Contributor I
586 Views

Can someone help me? Also, when the two servers are open, there is no problem

Lei_Z_Intel1
Employee
586 Views

What do you mean 'when the two servers are open, there is no problem'?  Have you changed other configurations in video-agent? 

Li__Guangming
New Contributor I
586 Views

Changed the video_agent / agent.toml rabbit.host.
I mean, the server did not see the opening of the error, but the web client can not log on.

Lei_Z_Intel1
Employee
586 Views

Can you send us the log from both servers?

Li__Guangming
New Contributor I
586 Views

This is a  error log file today.

http://pan.baidu.com/s/1i5bXoTB

 

Log_m1 is to start the RabbitMQ, MongoDB,Nuve, Cluster Manager, Portal, Access Agent. audio agent.

Log_m2 is to start the video agent.

Lei_Z_Intel1
Employee
587 Views

Good topic. Maybe you hit the RabbitMQ configuration issue and we will improve our product in further release. Now we use guest to access RabbitMQ, which only support accessing from localhost, so need some configuration to allow remote access.

============================================================================================================

"guest" user can only connect via localhost

By default, the guest user is prohibited from connecting to the broker remotely; it can only connect over a loopback interface (i.e. localhost). This applies both to AMQP and to any other protocols enabled via plugins. Any other users you create will not (by default) be restricted in this way.

This is configured via the loopback_users item in the configuration file.

If you wish to allow the guest user to connect from a remote host, you should set the loopback_usersconfiguration item to []. A complete rabbitmq.config which does this would look like:

[{rabbit, [{loopback_users, []}]}].

View solution in original post

Li__Guangming
New Contributor I
586 Views

Solved, is indeed guest can not remote access problems.
thank you very much.

Reply