Build bigbluebutton-client and nginx appears "403 forbidden"

1,888 views
Skip to first unread message

Daniel Ton

unread,
Sep 27, 2012, 10:45:13 PM9/27/12
to bigblueb...@googlegroups.com
Hi,everybody.

When I build bigbluebutton-client followed the link https://code.google.com/p/bigbluebutton/wiki/DevelopingBBB#Build_the_client,it's no problem.But when I visited the site 192.268.1.202(my ip), it responded nginx's "403 forbidden ", How to fix the problem ?
 
/etc/bigbluebutton/nginx  client_dev is the same as client.nginx :
        location /client/BigBlueButton.html {
                root    /home/firstuser/dev/bigbluebutton/bigbluebutton-client;
                index  index.html index.htm;
                expires 1m;
        }

        # BigBlueButton Flash client.
        location /client {
                root    /home/firstuser/dev/bigbluebutton/bigbluebutton-client;
                index  index.html index.htm;
        }

Daniel Ton

unread,
Sep 27, 2012, 11:33:31 PM9/27/12
to bigblueb...@googlegroups.com
I found that in "/home/firstuser/bigbluebutton/bigbluebutton-client/bin/conf/config.xml" ,ip was 192.168.1.188. And it didn't match my VM ip. 

在 2012年9月28日星期五UTC+8上午10时45分13秒,Daniel Ton写道:

Fred Dixon

unread,
Sep 28, 2012, 12:11:06 AM9/28/12
to bigblueb...@googlegroups.com
Hi Daniel,

Check out 
 

which states

Also note, when setting up a development environment for the client, the config.xml file for the BigBlueButton client is now loaded from~/dev/bigbluebutton/bigbluebutton-client/bin/conf/config.xml. This means that any changes made to the default config.xml by bbb-conf will not affect the config.xml in your development environment.

In other words, when you use sudo bbb-conf --setip, it's modifying the installed version of config.xml.  The script bbb-conf does not modify the your development config.xml because you control its contents.

If you are not making any custom changes to the development config.xml, you can overwrite it with the contents of the default config.xml in

  /var/www/bigbluebutton-default/client/conf/config.xml

Regards,... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton



--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bigbluebutton-dev/-/LKBzhvIMI98J.

To post to this group, send email to bigblueb...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.





Quang Quynh

unread,
Nov 14, 2012, 5:00:26 AM11/14/12
to bigblueb...@googlegroups.com
I have a same error Daniel Ton when setup BBB-dev ,  " 403 forbidden " . I check file config.xml ok ,build no error but bbb-dev no run ?

Can anybody help me ? 

Vào 09:45:13 UTC+7 Thứ sáu, ngày 28 tháng chín năm 2012, Daniel Ton đã viết:

Fu Jiantao

unread,
Nov 14, 2012, 9:38:06 AM11/14/12
to bigblueb...@googlegroups.com
try find some hint by checking the nginx log:

tail -f /var/log/nginx/bigbluebutton.access.log


2012/11/14 Quang Quynh <quangquynh...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bigbluebutton-dev/-/3mWiuWtrWWIJ.

Quang Quynh

unread,
Nov 15, 2012, 3:11:41 AM11/15/12
to bigblueb...@googlegroups.com
Hi every body 

i check var/log/nginx/error.log

------------------------------------
2012/11/15 13:55:48 [error] 6099#0: *2 open() "/home/server/dev/bigbluebutton/bigbluebutton-client/bin/client/BigBlueButton.html" failed (13: Permission denied), client: 192.168.11.17, server: 192.168.11.10, request: "GET /client/BigBlueButton.html HTTP/1.1", host: "192.168.11.10", referrer: "http://192.168.11.10/demo/demo1.jsp?username=quangquynh&action=create"
2012/11/15 13:58:37 [error] 6099#0: *11 open() "/home/server/dev/bigbluebutton/bigbluebutton-client/bin/client/BigBlueButton.html" failed (13: Permission denied), client: 192.168.11.17, server: 192.168.11.10, request: "GET /client/BigBlueButton.html HTTP/1.1", host: "192.168.11.10", referrer: "http://192.168.11.10/demo/demo1.jsp?username=quangquynh&action=create"
2012/11/15 13:58:43 [error] 6099#0: *11 open() "/home/server/dev/bigbluebutton/bigbluebutton-client/bin/client/BigBlueButton.html" failed (13: Permission denied), client: 192.168.11.17, server: 192.168.11.10, request: "GET /client/BigBlueButton.html HTTP/1.1", host: "192.168.11.10", referrer: "http://192.168.11.10/demo/demo1.jsp?username=quangquynh&action=create"
2012/11/15 13:59:09 [error] 6168#0: *2 open() "/home/server/dev/bigbluebutton/bigbluebutton-client/client/BigBlueButton.html" failed (13: Permission denied), client: 192.168.11.17, server: 192.168.11.10, request: "GET /client/BigBlueButton.html HTTP/1.1", host: "192.168.11.10", referrer: "http://192.168.11.10/demo/demo1.jsp?username=quangquynh&action=create"
2012/11/15 14:27:57 [error] 6168#0: *13 open() "/home/server/dev/bigbluebutton/bigbluebutton-client/client/BigBlueButton.html" failed (13: Permission denied), client: 192.168.11.17, server: 192.168.11.10, request: "GET /client/BigBlueButton.html HTTP/1.1", host: "192.168.11.10", referrer: "http://192.168.11.10/demo/demo1.jsp?username=quangquynh&action=create"
2012/11/15 14:27:57 [error] 6168#0: *13 open() "/home/server/dev/bigbluebutton/bigbluebutton-client/client/BigBlueButton.html" failed (13: Permission denied), client: 192.168.11.17, server: 192.168.11.10, request: "GET /client/BigBlueButton.html HTTP/1.1", host: "192.168.11.10", referrer: "http://192.168.11.10/demo/demo1.jsp?username=quangquynh&action=create"
------------------------------------


File var/log/nginx/bigbluebutton.access.log :

-----
192.168.11.17 - - [15/Nov/2012:15:07:18 +0700] "GET /client/BigBlueButton.html HTTP/1.1" 403 143 "-" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11"
192.168.11.17 - - [15/Nov/2012:15:07:50 +0700] "GET /client/BigBlueButton.html HTTP/1.1" 403 143 "-" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11"
192.168.11.17 - - [15/Nov/2012:15:07:50 +0700] "GET /favicon.ico HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11
-----



I have installed two servers were so same .

Can anybody help me ?


Vào 09:45:13 UTC+7 Thứ sáu, ngày 28 tháng chín năm 2012, Daniel Ton đã viết:
Hi,everybody.
bbb-dev 403 Forbidden.JPG

Fu Jiantao

unread,
Nov 15, 2012, 11:50:16 PM11/15/12
to bigblueb...@googlegroups.com
"/home/server/dev/
bigbluebutton/bigbluebutton-client/bin/client/BigBlueButton.html" failed (13: Permission denied),

ll /home/server/dev/bigbluebutton/bigbluebutton-client/bin/client/BigBlueButton.html

Ensure nginx has permission to access the dir



2012/11/15 Quang Quynh <quangquynh...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bigbluebutton-dev/-/4BcYKx-w2JQJ.

HostBBB.com

unread,
Nov 16, 2012, 8:45:19 AM11/16/12
to BigBlueButton-dev
sudo chmod -R 777 /home/server/dev/bigbluebutton
sudo bbb-conf --clean

regards,
Stephen

On Nov 15, 11:50 pm, Fu Jiantao <fuji...@gmail.com> wrote:
> "/home/server/dev/
> bigbluebutton/bigbluebutton-client/bin/client/BigBlueButton.html" failed
> (13: Permission denied),
>
> ll
> /home/server/dev/bigbluebutton/bigbluebutton-client/bin/client/BigBlueButto­n.html
>
> Ensure nginx has permission to access the dir
>
> 2012/11/15 Quang Quynh <quangquynh.quangqu...@gmail.com>
>
>
>
> > Hi every body
>
> > i check var/log/nginx/error.log
>
> > ------------------------------------
> > 2012/11/15 13:55:48 [error] 6099#0: *2 open()
> > "/home/server/dev/bigbluebutton/bigbluebutton-client/bin/client/BigBlueButt­on.html"
> > failed (13: Permission denied), client: 192.168.11.17, server:
> > 192.168.11.10, request: "GET /client/BigBlueButton.html HTTP/1.1", host:
> > "192.168.11.10", referrer: "
> >http://192.168.11.10/demo/demo1.jsp?username=quangquynh&action=create"
> > 2012/11/15 13:58:37 [error] 6099#0: *11 open()
> > "/home/server/dev/bigbluebutton/bigbluebutton-client/bin/client/BigBlueButt­on.html"
> > failed (13: Permission denied), client: 192.168.11.17, server:
> > 192.168.11.10, request: "GET /client/BigBlueButton.html HTTP/1.1", host:
> > "192.168.11.10", referrer: "
> >http://192.168.11.10/demo/demo1.jsp?username=quangquynh&action=create"
> > 2012/11/15 13:58:43 [error] 6099#0: *11 open()
> > "/home/server/dev/bigbluebutton/bigbluebutton-client/bin/client/BigBlueButt­on.html"
> > failed (13: Permission denied), client: 192.168.11.17, server:
> > 192.168.11.10, request: "GET /client/BigBlueButton.html HTTP/1.1", host:
> > "192.168.11.10", referrer: "
> >http://192.168.11.10/demo/demo1.jsp?username=quangquynh&action=create"
> > 2012/11/15 13:59:09 [error] 6168#0: *2 open()
> > "/home/server/dev/bigbluebutton/bigbluebutton-client/client/BigBlueButton.h­tml"
> > failed (13: Permission denied), client: 192.168.11.17, server:
> > 192.168.11.10, request: "GET /client/BigBlueButton.html HTTP/1.1", host:
> > "192.168.11.10", referrer: "
> >http://192.168.11.10/demo/demo1.jsp?username=quangquynh&action=create"
> > 2012/11/15 14:27:57 [error] 6168#0: *13 open()
> > "/home/server/dev/bigbluebutton/bigbluebutton-client/client/BigBlueButton.h­tml"
> > failed (13: Permission denied), client: 192.168.11.17, server:
> > 192.168.11.10, request: "GET /client/BigBlueButton.html HTTP/1.1", host:
> > "192.168.11.10", referrer: "
> >http://192.168.11.10/demo/demo1.jsp?username=quangquynh&action=create"
> > 2012/11/15 14:27:57 [error] 6168#0: *13 open()
> > "/home/server/dev/bigbluebutton/bigbluebutton-client/client/BigBlueButton.h­tml"
> >>https://code.google.com/**p/bigbluebutton/wiki/**
> >> DevelopingBBB#Build_the_client<https://code.google.com/p/bigbluebutton/wiki/DevelopingBBB#Build_the_...>
> >> **,it's no problem.But when I visited the site 192.268.1.202(my ip), it
> >> responded nginx's "403 forbidden ", How to fix the problem ?
>
> >> /etc/bigbluebutton/nginx  client_dev is the same as client.nginx :
> >>         location /client/BigBlueButton.html {
> >>                 root    /home/firstuser/dev/**
> >> bigbluebutton/bigbluebutton-**client;
> >>                 index  index.html index.htm;
> >>                 expires 1m;
> >>         }
>
> >>         # BigBlueButton Flash client.
> >>         location /client {
> >>                 root    /home/firstuser/dev/**
> >> bigbluebutton/bigbluebutton-**client;

Quang Quynh

unread,
Nov 16, 2012, 11:09:21 AM11/16/12
to bigblueb...@googlegroups.com
Hi HostBBB.com 
I have followed your instructions but still nothing changes.Still the same error .
I installed on server 10.04 3 times and still the same error
(Sorry my English)

Vào 20:45:21 UTC+7 Thứ sáu, ngày 16 tháng mười một năm 2012, HostBBB.com đã viết:

Yauri Edogawa

unread,
Nov 21, 2012, 10:56:25 PM11/21/12
to bigblueb...@googlegroups.com
Check permission of your /home/{username} folder
Make it readable

Probably you install ubuntu with maximum security that's why no one can read your home folder

charlie

unread,
Nov 27, 2012, 2:48:46 PM11/27/12
to bigblueb...@googlegroups.com
hi every1, 

I'm having same problem like Daniel, i followed the steps from http://code.google.com/p/bigbluebutton/wiki/DevelopingBBB#Build_the_client but when i'm trying to access my own server i've got an error "403 Forbidden nginx/0.7.65".

looking my error log (/var/log/nginx/error.log ) appears this lines "2012/11/26 15:26:05 [error] 10400#0: *7 open() "~/dev/bigbluebutton/bigbluebutton-client/client/BigBlueButton.html" failed (13: Permission denied), client: 192.168.232.1, server: 192.168.232.134, request: "GET /client/BigBlueButton.html HTTP/1.1", host: "192.168.232.134", referrer: "http://192.168.232.134/demo/demo1.jsp?username=admin&action=create" " 
i don't have anymore errors, i was searching for a fix, giving permission my dev folder
 "sudo chmod -R 777 /home/reltics/dev/bigbluebutton/" but stills the problem,

no problems using " sudo ln -s -f /etc/bigbluebutton/nginx/client /etc/bigbluebutton/nginx/client.nginx " but when i change to my client_dev "  sudo ln -s -f /etc/bigbluebutton/nginx/client_dev /etc/bigbluebutton/nginx/client.nginx " i get failure

Chad Pilkey

unread,
Nov 27, 2012, 3:28:01 PM11/27/12
to bigblueb...@googlegroups.com
You can't just check the endpoint, you have to check every directory in the path "/home/reltics/dev/bigbluebutton". Make sure that the directories all have read (r) and execute (x) access for all three groups.

charlie

unread,
Nov 27, 2012, 8:25:40 PM11/27/12
to bigblueb...@googlegroups.com
thank you chad, the problem seems to be another... like a bug for chrome, i tested in iExplorer 9 and it works.
Reply all
Reply to author
Forward
0 new messages