Can't create meetings through API

619 views
Skip to first unread message

g soon

unread,
Oct 29, 2015, 10:19:45 AM10/29/15
to BigBlueButton-Setup
Hi.

All API call works, but I can't create meeting using API.
I use API Mate for test, but I still have a "404 not found" answer from the nginx server.

I just saw that my bbb-conf --check not ending properly...

Here the bbb-conf --check

BigBlueButton Server 0.9.1 (354)
                    Kernel version: 3.16.0-51-generic
                      Distribution: Ubuntu 14.04.3 LTS (64-bit)
                            Memory: 7980 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
   Port test (tunnel): 46.218.250.54
                              Red5: 46.218.250.54
              useWebrtcIfAvailable: true

/opt/freeswitch/conf/sip_profiles/external.xml (FreeSWITCH)
                    websocket port: 5066
                    WebRTC enabled: true

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: 46.218.250.54
                              port: 80
                    bbb-client dir: /var/www/bigbluebutton

/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
                      bbb-web host: 46.218.250.54

/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
                  voice conference: FreeSWITCH
                     capture video: true
                   capture desktop: true

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback host: 46.218.250.54


** Potential problems described below **
# IP does not match:
#                           IP from ifconfig: 192.168.5.10
#   /etc/nginx/sites-available/bigbluebutton: 46.218.250.54

Log from var/log/nginx/error.log

2015/10/29 14:04:56 [error] 4131#0: *2 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 82.127.63.28, server: 46.218.250.54, request: "GET /bigbluebutton/api/create?allowStartStopRecording=false&autoStartRecording=false&meetingID=1&record=false&checksum=ca3316d1ea3a6c00a748c0125c9b561004e5ab7e HTTP/1.1", upstream: "http://127.0.0.1:8080/bigbluebutton/api/create?allowStartStopRecording=false&autoStartRecording=false&meetingID=1&record=false&checksum=ca3316d1ea3a6c00a748c0125c9b561004e5ab7e", host: "46.218.250.54", referrer: "http://mconf.github.io/api-mate/"

2015/10/29 14:04:56 [error] 4131#0: *2 open() "/var/www/nginx-default/50x.html" failed (2: No such file or directory), client: 82.127.63.28, server: 46.218.250.54, request: "GET /bigbluebutton/api/create?allowStartStopRecording=false&autoStartRecording=false&meetingID=1&record=false&checksum=ca3316d1ea3a6c00a748c0125c9b561004e5ab7e HTTP/1.1", upstream: "http://127.0.0.1:8080/bigbluebutton/api/create?allowStartStopRecording=false&autoStartRecording=false&meetingID=1&record=false&checksum=ca3316d1ea3a6c00a748c0125c9b561004e5ab7e", host: "46.218.250.54", referrer: "http://mconf.github.io/api-mate/"

I hope you can help me.

Fred Dixon

unread,
Oct 29, 2015, 8:33:32 PM10/29/15
to bigbluebu...@googlegroups.com
Hi Soon,

Are you setting BigBlueButton up behind a firewall? if so, see


The key is to access the BigBlueButton server via a hostname (not IP address) after configuring your server and firewall according to the steps at the above URL.

Regards,... Fred


--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
@bigbluebutton

g soon

unread,
Nov 2, 2015, 4:10:24 AM11/2/15
to BigBlueButton-Setup
Hi,

Thanks Fred, it solved my 404 error.

But I still can't create meeting. When I try, I get a SUCCESS code but meeting is not running.

Create meeting :

<response>
<returncode>SUCCESS</returncode>
<meetingID>666666</meetingID>
<attendeePW>ap</attendeePW>
<moderatorPW>mp</moderatorPW>
<createTime>1446454764937</createTime>
<createDate>Mon Nov 02 09:59:24 CET 2015</createDate>
<hasUserJoined>false</hasUserJoined>
<duration>1440</duration>
<hasBeenForciblyEnded>false</hasBeenForciblyEnded>
<messageKey/>
<message/>
</response>

isMeetingRunning : 

<response>
<returncode>SUCCESS</returncode>
<running>false</running>
</response>

g soon

unread,
Nov 2, 2015, 5:49:08 AM11/2/15
to BigBlueButton-Setup
My bad, the isMeetingRunning API call return true only when a user join the meeting.

Regards.
Reply all
Reply to author
Forward
0 new messages