Server connecting problem on 0.9 version server, using client from a different machine

214 views
Skip to first unread message

Sujatha Alluru

unread,
Oct 20, 2014, 6:17:56 AM10/20/14
to bigbluebu...@googlegroups.com
Hi

My setup is ubuntu 14.04 on AWS EC2.
I am trying to connect a client installed on another server - modified the client/config.xml as instructed in the documentation.  All URI IP addresses are changed to BBB-server IP.

the request goes to BBB-server, but after loading the modules it gets stuck in the "connecting to server...."

the /var/log/nginx/error.log on BBB-server is showing the message below:

2014/10/20 10:01:23 [error] 18396#0: *100 open() "/var/www/bigbluebutton-default/crossdomain.xml" failed (2: No such file or directory)


I am doing something wrong in the config.xml?

The BBB-client on the BBB-server machine works fine.  the config.xml files has the same IP.

Appreciate any help.

Thanks
Sujatha


Chad Pilkey

unread,
Oct 20, 2014, 11:47:03 AM10/20/14
to bigbluebu...@googlegroups.com
Flash needs a crossdomain.xml file to know that the connection to a different domain is allowed. There's a couple of ways to configure the file and Adobe has documentation on how to do it on their site.

Sujatha Alluru

unread,
Oct 20, 2014, 1:36:23 PM10/20/14
to bigbluebu...@googlegroups.com
Hi Chad

thanks for the quick response.  

The issue is resolved now.

Following the adobe documentation, I have added the following to the /var/www/bigbluebutton-default/crossdomain.xml on the BBB-server

<?xml version="1.0"?> <!-- http://www.osmf.org/crossdomain.xml --> <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"> <cross-domain-policy> <allow-access-from domain="*" /> <site-control permitted-cross-domain-policies="all"/> </cross-domain-policy>

Thanks
Sujatha


--
You received this message because you are subscribed to a topic in the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bigbluebutton-setup/pTQ7nlo7MVw/unsubscribe.
To unsubscribe from this group and all its topics, 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.



--
Regards,
Sujatha

Sujatha Alluru

unread,
Oct 21, 2014, 2:27:19 AM10/21/14
to bigbluebu...@googlegroups.com
Hi Chad


 I seemed to have messed up the client config.xml.  This is the case where the BB-client has to connect from a different server.
 Pasted below is the config.xml on client. when i tried to connect to the client demo, it tries to connect to the server and I get the message that I got logged out. 

/var/log/nginx/bigbluebutton.access.log   on BBB-Server shows the client has sent the request.

Any help is greatly appreciated. 
 

Client_IP  = IP address of the EC2 instance where the client is running
BBB_Server_IP = IP address of the EC2 instance acting as BBB-Server

Please note that client works when it points to the same address (ie. both client & server on the same public ip)


<?xml version="1.0" ?>

<config>

    <localeversion suppressWarning="false">0.9.0</localeversion>

    <version>165</version>

    <help url="http://Client_IP/help.html"/>

 

    <javaTest url="http://Client_IP/testjava.html"/>

 

    <porttest host="BBB_Server_IP" application="video/portTest" timeout="10000"/>

 

    <bwMon server="Client_IP" application="video/bwTest"/>

 

    <application uri="rtmp://BBB_Server_IP/bigbluebutton" host="http://BBB_Server_IP/bigbluebutton/api/enter" />

 

    <language userSelectionEnabled="true" />

    <skinning enabled="true" url="http://Client_IP/client/branding/css/BBBDefault.css.swf" />

    <shortcutKeys showButton="true" />

    <layout showLogButton="true" showVideoLayout="false" showResetLayout="true" defaultLayout="Default"

            showToolbar="true" showFooter="true" showMeetingName="true" showHelpButton="true"

            showLogoutWindow="true" showLayoutTools="true" showNetworkMonitor="false" confirmLogout="true"/>

    <lock allowModeratorLocking="false" disableCamForLockedUsers="false" disableMicForLockedUsers="false" disablePrivateChatForLockedUsers="false"

          disablePublicChatForLockedUsers="false" lockLayoutForLockedUsers="false"/>

 

<modules>

 

                <module name="ChatModule" url="http://Client_IP/client/ChatModule.swf?v=165"

                        uri="rtmp://BBB_Server_IP/bigbluebutton"

                        dependsOn="UsersModule"

                        translationOn="false"

                        translationEnabled="false"

                        privateEnabled="true"

                        position="top-right"

                        baseTabIndex="701"

                        colorPickerIsVisible="false"

/>

 

                <module name="UsersModule" url="http://Client_IP/client/UsersModule.swf?v=165"

                        uri="rtmp://BBB_Server_IP/bigbluebutton"

                        allowKickUser="true"

                        enableRaiseHand="true"

                        enableSettingsButton="true"

                        baseTabIndex="301"

                />

 

  <module name="DeskShareModule"

                        url="http://Client_IP/client/DeskShareModule.swf?v=4105"

                        uri="rtmp://BBB_Server_IP/deskShare"

                        showButton="false"

                        autoStart="false"

                        autoFullScreen="false"

                        baseTabIndex="201"

                />

  <module name="PhoneModule" url="http://Client_IP/client/PhoneModule.swf?v=165"

                        uri="rtmp://BBB_Server_IP/sip"

                        autoJoin="true"

                        listenOnlyMode="true"

                        forceListenOnly="false"

                        presenterShareOnly="false"

                        skipCheck="false"

                        showButton="true"

                        enabledEchoCancel="true"

                        useWebRTCIfAvailable="true"

                       showPhoneOption="false"

                        echoTestApp="9196"

                        dependsOn="UsersModule"

                />

 

<module name="VideoconfModule" url="http://Client_IP/client/VideoconfModule.swf?v=165"

                        uri="rtmp://BBB_Server_IP/video"

                        dependson = "UsersModule"

                        videoQuality = "100"

                        presenterShareOnly = "false"

                        controlsForPresenter = "false"

                        resolutions = "320x240,640x480,1280x720"

                        autoStart = "false"

                        skipCamSettingsCheck="false"

                        showButton = "true"

                        showCloseButton = "true"

                        publishWindowVisible = "true"

                        viewerWindowMaxed = "false"

                        viewerWindowLocation = "top"

                        camKeyFrameInterval = "30"

                        camQualityBandwidth = "0"

                        camQualityPicture = "90"

                        smoothVideo="false"

                        applyConvolutionFilter="false"

                        convolutionFilter="-1, 0, -1, 0, 6, 0, -1, 0, -1"

                        filterBias="0"

                        filterDivisor="4"

                        enableH264 = "true"

                        h264Level = "2.1"

                        h264Profile = "main"

                        displayAvatar = "false"

                        focusTalking = "false"

                        glowColor = "0x4A931D"

                        glowBlurSize = "30.0"

                />

<module name="WhiteboardModule" url="http://Client_IP/client/WhiteboardModule.swf?v=4105"

                        uri="rtmp://BBB_Server_IP/bigbluebutton"

                        dependsOn="PresentModule"

                        baseTabIndex="601"

                        whiteboardAccess="presenter"

                        keepToolbarVisible="false"

                />


<module name="PresentModule" url="http://Client_IP/client/PresentModule.swf?v=165"

                        uri="rtmp://BBB_Server_IP/bigbluebutton"

                        host="http://BBB_Server_IP"

                        showPresentWindow="true"

                        showWindowControls="true"

                        openExternalFileUploadDialog="false"

                        dependsOn="UsersModule"

                        baseTabIndex="501"

                        maxFileSize="30"

                />

 

                <module name="VideodockModule" url="http://Client_IP/client/VideodockModule.swf?v=165"

                        uri="rtmp:// BBB_Server_IP /bigbluebutton"

                        dependsOn="VideoconfModule, UsersModule"

                        autoDock="true"

                        showControls="true"

                        maximizeWindow="false"

                        position="bottom-right"

                         width="172"

                        height="179"

                        layout="smart"

                        oneAlwaysBigger="false"

                        baseTabIndex="401"

                />

 

                <module name="LayoutModule" url="http://Client_IP/client/LayoutModule.swf?v=165"

                        uri="rtmp:// BBB_Server_IP /bigbluebutton"

                        layoutConfig=http://Client_IP/client/conf/layout.xml

                                enableEdit="false"

                />

 

        </modules>

</config>

               

 

 

 

 

 

 

 

 








--
Regards,
Sujatha

Chad Pilkey

unread,
Oct 21, 2014, 1:16:55 PM10/21/14
to bigbluebu...@googlegroups.com
One problem is the URL that you have for the enter API call. That URL should be to whatever server you sent the join API call to because only that server will have the correct information.

It's also possible this approach won't work anymore. In past versions it was possible to join a conference without the create and join API calls being made to that specific server but it's possible that was changed at some point. You might have to change how you're doing your API calls so they are sent to the actual BBB server and then redirect the browser to the server where you have the client hosted.

Sujatha Alluru

unread,
Oct 22, 2014, 7:47:38 AM10/22/14
to bigbluebu...@googlegroups.com
Hi Chad

Thanks for the valuable suggestion.  
I made further tweaks to the config.. where the the URI in the modules is pointing to the BBB-server IP.  
With this I see BBB-Server port 1935 is getting 3 connections.
Everything except the "upload presentation" is working.

I am able to open a file, start upload... but it hangs after 100% processing and does not display.
Is there a way to find out how the return path works?

Do you think this issue does not belong to this thread anymore, as rest of the functionality works fine.

Please advice.

Thanks
Sujatha
 

On Tue, Oct 21, 2014 at 10:46 PM, Chad Pilkey <capi...@gmail.com> wrote:
One problem is the URL that you have for the enter API call. That URL should be to whatever server you sent the join API call to because only that server will have the correct information.

It's also possible this approach won't work anymore. In past versions it was possible to join a conference without the create and join API calls being made to that specific server but it's possible that was changed at some point. You might have to change how you're doing your API calls so they are sent to the actual BBB server and then redirect the browser to the server where you have the client hosted.

--
You received this message because you are subscribed to a topic in the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bigbluebutton-setup/pTQ7nlo7MVw/unsubscribe.
To unsubscribe from this group and all its topics, 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.



--
Regards,
Sujatha

Chad Pilkey

unread,
Oct 22, 2014, 5:22:23 PM10/22/14
to bigbluebu...@googlegroups.com
Presentations get uploaded to bbb-web, then processed, and finally bbb-apps is notified somehow of the file's existence. I'm not sure on the specifics of how it bbb-web and bbb-apps are connected. You could try checking the output of "bbb-conf --debug" and see if anything sticks out. I have a suspicion that the file upload isn't working because bbb-web doesn't know about the meeting because the create call was sent to a different BBB server.


On Wednesday, October 22, 2014 7:47:38 AM UTC-4, Sujatha Alluru wrote:
Hi Chad

Thanks for the valuable suggestion.  
I made further tweaks to the config.. where the the URI in the modules is pointing to the BBB-server IP.  
With this I see BBB-Server port 1935 is getting 3 connections.
Everything except the "upload presentation" is working.

I am able to open a file, start upload... but it hangs after 100% processing and does not display.
Is there a way to find out how the return path works?

Do you think this issue does not belong to this thread anymore, as rest of the functionality works fine.

Please advice.

Thanks
Sujatha
 
On Tue, Oct 21, 2014 at 10:46 PM, Chad Pilkey <capi...@gmail.com> wrote:
One problem is the URL that you have for the enter API call. That URL should be to whatever server you sent the join API call to because only that server will have the correct information.

It's also possible this approach won't work anymore. In past versions it was possible to join a conference without the create and join API calls being made to that specific server but it's possible that was changed at some point. You might have to change how you're doing your API calls so they are sent to the actual BBB server and then redirect the browser to the server where you have the client hosted.

--
You received this message because you are subscribed to a topic in the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bigbluebutton-setup/pTQ7nlo7MVw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bigbluebutton-setup+unsub...@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.



--
Regards,
Sujatha
Reply all
Reply to author
Forward
0 new messages