Closed (fixed)
Project:
BigBlueButton
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
21 Jul 2010 at 11:33 UTC
Updated:
10 Oct 2011 at 10:14 UTC
Jump to comment: Most recent file
Comments
Comment #1
norio commentedThe only file that needs to change is api.bbb.inc. I've made the necessary changes. This is not a patch but I don't have time to work on a patch as I'm busy finishing up a project so I'm just posting the modified source. The changes are very basic.
NB: The only thing this fixes is the checksum generation. There are other changes to api.bbb.inc that should be made but this is good enough for my needs for now so it's all I've done. If I do more, I'll post it here.
PS: To spot the changes, look at the definition of bbb_api_generate_querystring() and where it's been called. That's it. Very simple.
Comment #2
christiaan_ commentedThank you very much for this. I updated to BBB 0.7 and applied you patch/fix on Drupal BigBlueButton 6.x-1.0-beta1 - everything works perfectly for me.
Comment #3
DieterWeb commentedi cant get it to work. first of all, i dont see any logical changes besides in the generate_query_string function, but they were there already in my version, i just had to set the "$salty" param to 2 by default. but, what i dont get is, which version of the module are you referring to here? my constants are named totally different, where yours are "BIGBLUEBUTTON_BASE_URL", my is named "BBB_API_BASE_URL". even some functions are name differently, so im a little irretated which version you're using. i installed the stable version, but recently downloaded the dev-version via drush.
after that realisation, i tried manually to change the api file, but had no luck with that. if i try to start a conference, i only see the login of the bbb demo app, with the warning that this app is deprecated.
any help would be greatly appreciated.
*edit*
here is an example url which gets called:
http://bbb.example.com/bigbluebutton/join/login?meetingID=666&checksum=3...
Comment #4
jvieille commentedI first try with the dev and succeded to pass the connexion test in the admin settings, but couldn't do more.
The url of my server was simply its IP address http://THE.SRV.IP.ADR/
I have bbb 0.7, so I tried to apply this patch without success
Then I realized that the patch was against the beta 2 and tried again.
The simple IP address did not get through anymore
http://THE.SRV.IP.ADR/bigbluebutton/ pass the connexion test from the drupal module settings,
When hit directly this url leads to a bbb login page with the mention:
"NOTE: We are deprecating this web interface in favor of the API. This will be removed in the next release."
http://THE.SRV.IP.ADR/bigbluebutton/api does not pass the connexion test.
When hit directly this url leads to a white page telling "SUCCESS0.7"
the url that is formed to start a meeting is http://www.drupalwebsite.tld./node/xx/meeting/://
which is certainly not correct.
I noticed that the BIGBLUEBUTTON_BASE_URL variable assumes that the api address is http://something.tld/bigbluebutton, not http://something.tld/bigbluebutton/api as the calls to api are all prefixed /api
However, the admin settings test the connexion against BIGBLUEBUTTON_BASE_URL, so whithout the needed "/api" part.
But even setting the correct base url (whithout "/api") that fails in test, bbb does not work at all.
Finally, I made a new trail using the dev version which seems to already have some work done for 0.7
I changed the file manually to fit the indicated changes.
Result: I could get a server response using the http://THE.SRV.IP.ADR/bigbluebutton/api/ setting
However, the connexion fails "The connection could not be established correctly. The server response was: You did not pass the checksum security check."
the url to start a meeting is still http://www.drupalwebsite.tld./node/xx/meeting/://
Entering the same parameters in Chrome succeeded
Comment #5
jvieille commentedFound something in page.bbb.inc (bbb-6.x-dev)
this function has to be modified as follow - then the test passes correctly
Still no way to start a meeeting
Comment #6
jvieille commentedAre there any progress on this?
Marking critical as BBB is now 0.7 for those who install it.
The small change indicated above works for succeed at configuring the connexion in admin/settings, but Moderat or Start meeting does not work
Thanks
Comment #7
jvieille commentedI finally succeeded at getting the thing working.
- uninstalled the dev version
- installed the patched beta version
- the url is http://something.tld/bigbluebutton/api
I created a couple of issues from my early tests
This is a great achievement, keep up with the good work!
Comment #8
jvieille commentedIs there any plan to polish this module?
Not usable at the present time
Thanks again, this module will be a killer in Drupal!
Comment #9
Alexander Matveev commentedHave 6.x-1.0-beta1 and BBB 0.7,
getting:
Subscribing.
Comment #10
jvieille commentedany update?
Recall: many annoying issues certainly linked to this:
http://drupal.org/node/876088
http://drupal.org/node/876078
http://drupal.org/node/876072
http://drupal.org/node/876054
http://drupal.org/node/810070
We would be glad to have a fully workable module using bbb 0.7
Note: bbb 0.71 is approaching
Thanks again for having integrating this gem in Drupal
Comment #11
jvieille commentedAttached an update from Fred Dixon at BBB
In the API section, he mentions something that might relate to some noted issues:
"The current behavior when end is call is that users can't immediately join the meeting for an hour (this is configurable; see API docs for more information). The logic is that if a calling application ends a meeting, then the BigBlueButton server will reject users rejoining.
If the logic should be "the meeting has ended but you want users to immediately re-join", then the third-party application could call end and then change the meetingID associated with the meeting in its database. Subsequent create/join request by the user would then create a new meeting for joining."
Comment #12
jvieille commentedAny update on this?
Thanks
Comment #13
Chipie commentedsubscribe
Comment #14
Chipie commentedHere is a patch for the drupal bbb modul 6.x-1.0-beta1 for the BigBlueButton V 0.7 based on the work of norio.
Comment #15
jvieille commentedThanks for the patch;
However, the patched module simply does not work with bbb 0.7, too many issues remaining. It applies to the old beta1 so we seem to miss the corrections from the last dev.
It would be great if the maintainer or someone capable had a look at this to have a workable module.
BBB is really a great project, Drupal has definitely to follow it
Thanks again for bringing this in Drupal
Comment #16
sanduhrsI'll be happy to work on this as soon I have time, that will actually take a few more weeks, sorry for that.
If you manage to create a working patch [1] in the meantime and someone is able to review and test it, I'll be happy to commit it.
Btw, please don't misuse the issue attributes.
This is a task, not a bug. This has priority normal unless the published release code breaks your site.
[1] http://drupal.org/patch/create
Comment #17
jvieille commentedThanks a lot for taking care
I won"t change again the issue attributes, but BBB is currently unusable, though I recognize that it does not blow the server out.
It seems that the current dev is cleaner than the beta1 version, it might be the right start?
I think that if BBB was actually working, it would deserve much more attention and could attract sponsors to help improving it.
I would be glad to raise some funding if I can sell something to a for profit company, but I am currently only involved in volunteer organizations...
Comment #18
Chipie commentedSubscribing.
Comment #19
Chipie commentedWe want to use bbb in one of our projects. I would like to submit a patch, but I'm not sure, which version I should use for the development. Why is the "Test Connection"-Button or the screen size settings missing at the modul setting page of the current HEAD version? They were included in the beta1. Did you remove these settings?
Comment #20
eme commentedSubscribing
Comment #21
jvieille commented#14: Could you also include the fixes in #5?
Thanks
Comment #22
sanduhrsPlease checkout the latest dev version. The suggestions from #5 and #14 are incorporated there.
Comment #23
jhezsie20 commentedHi guys, can you help me?
I can't get it to work, or am I missing something?
Currently using the latest dev version (9/22) and BBB 0.7
Here's the problem:
1. On BBB settings, Test Connection displays:
"The connection could not be established correctly. The server response was: You did not pass the checksum security check."
Note: URL set to http://mybbb.server.com/bigbluebutton/api/ and inputted the correct security salt.
2. When starting the created meeting, this error appears:
-
FAILED
checksumError
You did not pass the checksum security check
Take note that using the beta1 release together with the patch by norio works perfectly (except for the audio and logout issue).
Hope you can help me :)
thanks,
jessie
Comment #24
sanduhrsDid you run the update.php ?
Comment #25
jhezsie20 commentedHi Sir sanduhrs,
I did not run the update.php since I've tried this to a newly setup drupal server and installed the BBB latest dev module and start from there. Should I run the update.php even if this is the case?
thanks,
jessie
Comment #26
sanduhrsNo, in that case, you don't need to.
I just commited a few more changes, please try the latest dev version when they got packaged.
Comment #27
eme commentedI updated, and it worked fine, just one error :
user warning: Can't DROP 'voiceBridge'; check that column/key exists query: ALTER TABLE bbb_meetings DROP voiceBridge in /var/www/includes/database.mysql-common.inc on line 322.
Comment #28
jhezsie20 commentedHi sanduhrs,
Thanks for the update, its working now. Cheers!
I've just noticed something, the terminate function terminates the room permanently and you cannot login anymore. I thought, terminating a room only means force-ending of a room session but you can still use or login to that room the next time. Another thing, how can I properly use the logout URL function? Inputting the URL of my drupal homepage does nothing. Does it have a format to follow?
Thanks a lot sir! This project is great!
regards,
jessie
Comment #29
sanduhrsWell, the API documentation says:
http://code.google.com/p/bigbluebutton/wiki/API#End_Meeting_(end)
A few lines further up in the "What's_New" section it says:
http://code.google.com/p/bigbluebutton/wiki/API#What's_New
So, if you configure your bbb server to something like minutesElapsedBeforeMeetingExpiration=0, it'll probably work es you'd expect.
I will have tp recheck the logoutURL function but it seems, that only relative URLs are possible by design.
Comment #30
jvieille commentedI changed the BBB setting as indicated in #29
However, the "Meeting settings" in the node meeting says
"The following settings maybe changed until the meeting first starts"
and actually everything is greyed out and an attempt to "moderate" the meeting lead to a blak screen indicating
"FAILEDinvalidPasswordYou either did not supply a password or the password supplied is neither the attendee or moderator password for this conference."
How can we reset a terminated meeting in order to make it usable again?
Thanks
Comment #31
jvieille commentedI think this issue is closed. The new dev works reasonably well with bbb0.7
Comment #33
drtrueblue commentedWith the beta version, I was getting a checksum error. After changing to the dev version I got the same error as eme posted...
"user warning: Can't DROP 'voiceBridge'; check that column/key exists query: ALTER TABLE bbb_meetings DROP voiceBridge..."
The application so far works, but perhaps the issue should not yet be closed?
Comment #34
islevegan commentedBoth servers are physically separated in a significant way.
The LAMP server is a linode at a data center in California, with lots of bandwidth but not that much memory, only 512, which works for LAMP but not BBB.
I recently gained access to a dual processor 1.6 ghz Dell server with 2GB of ram and an ethernet connection in Waikiki, Honolulu, Hawaii. I have 32 bit Ubuntu 10.10 server running there and Debian Lenny (5) running at the California virtual server.
Can I have BBB in Hawaii accessed via Drupal from California?
Mahalo for making this module available!
Aloha.
Comment #35
verbosity commentedPlease don't change the title of this thread,
its a useful thread on its own, you should have started a new thread with your question.
that being said, there should be no reason your servers couldn't talk nicely.
Comment #36
sanduhrs#33 is a non-issue.
closing.
Comment #38
nagrgk commentedHi Alexander Matveev,
Have you got the answer for this ??
Please suggest me as I have same problem here and stuck in the middle
nagaraja kharvi
Comment #39
nagrgk commentedHi Alexander Matveev,
Have you got the answer for this ??
Please suggest me as I have same problem here and stuck in the middle
nagaraja kharvi
Comment #40
nagrgk commentedHi All,
I am getting following message on test connection. pls somebody help?
The connection could not be established correctly. The server response was: No response.
nagaraja kahavi