RocketChat / RocketChat/Rocket.Chat

A connection to an external instance of Big Blue Button (bbb) via Integration API does not work.

Open
#22,443 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

We have an external provider for BBB. This provider has sent us a URL "https://xxx.xxxxxxxxx.xx/de/bbb-integration/api" and an API secret: "xxxxxxxx-xxxx-xxxx-xxxxxxxx" to the integration API. These were entered into the fields "Domain" and "Shared Secret". (Administration -> Video conference -> Big Blue Button)

Steps to reproduce

Not applicable

Expected behavior:

As expected, the option to click on the telephone receiver to start a conference appears within individual windows. This opens another small window in the right pane with a button: "Start meeting".

When pressing this button, I would have expected the meeting to open at bbb (either in the same window, or if selected in a new window).

Actual behavior:

When you press the "Start Meeting" button, nothing happens. No meeting is started, the communication partner does not receive a message, and no new window is opened (if this was selected in the administration).

Server Setup Information:
  • Version of Rocket.Chat Server: 3.15.1
  • Operating System: Ubuntu 18.04.5 LTS
  • Deployment Method: tar, as described in the documentation
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Sorry, I do not know this value. Where can I find this value?
  • NodeJS Version: v12.20.1
  • MongoDB Version: 4.0.22
Client Setup Information
  • Desktop App or Browser Version: FF 89.0
  • Operating System: MacOS 11 and Linux Mint 20
Additional context

I read something somewhere about a way to configure bbb via webhooks. I don't have this possibility because we don't host the bbb instance ourselves. But from my point of view this should not be necessary because of the existing integration API.

Relevant logs:

I20210622-11:20:15.869(2) Exception while invoking method bbbJoin Error: failed [404] <!DOCTYPE html>      <meta charset="utf-8">     <title>bbbserver.de - Big Blue Button Video-Konferenzen</title>    <meta name="msapplication-tap-highlight" content="no"/>     <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="IE=edge">    <link href="/assets/altair/bower_components/uikit/css/uikit.almost-flat.min.css?_=1624009052" media="screen" rel="stylesheet"...     at Object.exports.makeErrorByStatus (packages/http.js:182:10)     at Request._callback (packages/http.js:142:24)     at Request.self.callback (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/http/node_modules/request/request.js:185:22)     at Request.emit (events.js:314:20)     at Request.EventEmitter.emit (domain.js:483:12)     at Request. (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/http/node_modules/request/request.js:1161:10)     at Request.emit (events.js:314:20)     at Request.EventEmitter.emit (domain.js:483:12)     at IncomingMessage. (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/http/node_modules/request/request.js:1083:12)     at Object.onceWrapper (events.js:420:28)     at IncomingMessage.emit (events.js:326:22)     at IncomingMessage.EventEmitter.emit (domain.js:483:12)     at endReadableNT (_stream_readable.js:1241:12)     at processTicksAndRejections (internal/process/task_queues.js:84:21)  => awaited here:     at Promise.await (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:60:12)     at Server.apply (packages/ddp-server/livedata_server.js:1638:22)     at Server.call (packages/ddp-server/livedata_server.js:1607:17)     at Object.post (app/api/server/v1/misc.js:263:26)     at app/api/server/api.js:394:82     at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js🔢12)     at Object._internalRouteActionHandler [as action] (app/api/server/api.js:394:39)     at Route.share.Route.Route._callEndpoint (packages/nimble_restivus/lib/route.coffee:150:32)     at packages/nimble_restivus/lib/route.coffee:59:33     at packages/simple_json-routes.js:98:9 

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the bbbJoin method and the request path shown in app/api/server/v1/misc.js, then trace the HTTP call through packages/http.js. Reproduce the 404 using the external BBB Integration API configuration and inspect the returned endpoint. Done means Start meeting opens the conference and the communication partner receives the expected message.

Written by the indexing model from the issue text.

Assessment

Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.