Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
1145 Discussions

[v3.3] RabbitMQ configuration for MCU cluster deployment

Li__Guangming
New Contributor I
844 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
844 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
844 Views

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

Lei_Z_Intel1
Employee
844 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
844 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
844 Views

Can you send us the log from both servers?

Li__Guangming
New Contributor I
844 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
845 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, []}]}].
Li__Guangming
New Contributor I
844 Views

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

Reply