BBB Unable to connect to default URL for or a BigBlueButton server

BBB Unable to connect to default URL for or a BigBlueButton server

Nosūtīja Risto Chavdarov
Atbilžu skaits: 4

Hi All,

I have just installed BigBlueButtonBN plugin version  2.3.1, on Moodle 3.8.1+ (Build: 20200124), and it is with the default configuration (default URL and default salt).
When I go to the courses and try to add BigBlueButtonBN as an activity or resource I got this error:

"Unable to connect. Please check the url of the BigBlueButton server AND check to see if the BigBlueButton server is running."

The Moodle server can communicate with the BigBlueButton server
When I am running ```wget -qO- http://test-install.blindsidenetworks.com/bigbluebutton/api```
I am getting the correct response

My moodle serevee spec 
OS: CentOS 8.0.1905
Server version: Apache/2.4.37
PHP 7.3.13

Any help?

Regards
Risto


Vidējais novērtējums: -
Atbildot uz Risto Chavdarov

Re: BBB Unable to connect to default URL for or a BigBlueButton server

Nosūtīja Risto Chavdarov
I find the solution.

The problem was with Selinux, so one option was to disable it, and another one was to add extra permission.
Atbildot uz Risto Chavdarov

Re: BBB Unable to connect to default URL for or a BigBlueButton server

Nosūtīja Séverin Terrier
Documentation writers attēls Particularly helpful Moodlers attēls Testers attēls Translators attēls
Hi,

Nice that you found a solution smaidīgs

Could you please explain it with details ; that could be helpful for other people.

Regards,
Séverin
Atbildot uz Séverin Terrier

Re: BBB Unable to connect to default URL for or a BigBlueButton server

Nosūtīja Jesus Federico
Plugin developers attēls
Selinux is a kernel security module for Linux that implements ACL. Something like a firewall, so if outgoing requests are bloqued, Moodle won;t be able to access BBB. If inbound requests are blocked, BBB won't be able to send notifications when recordings are ready or pull the pre-uploaded presentation.

So, for a full implementation, both servers have to be able to talk to each other.

Cheers,
Atbildot uz Séverin Terrier

Re: BBB Unable to connect to default URL for or a BigBlueButton server

Nosūtīja Risto Chavdarov
so there were two solutions to my problem:
1. The more easy one just disable the SELinux
Open the /etc/selinux/config file and set the SELINUX mod to disabled

2. update the SELinux policy to allow HTTP scripts and modules to initiate a connection to a network or remote port.
setsebool -P httpd_can_network_connect on