Closed paulseto closed 1 year ago
DId you set LOADBALANCER_CHECKSUM_ALGORITHM
for Scalelite?
@farhatahmad Yes, LOADBALANCER_CHECKSUM_ALGORITHM
has been set in the scalelite-poller
and scalelite-api
containers? See above for scalelite-poller
env variables.
Funny enough, Scalelite seems to have the SHA256
value hardcoded when sending requests to BBB (https://github.com/blindsidenetworks/scalelite/blob/master/app/controllers/concerns/api_helper.rb#L65)
From the README
LOADBALANCER_CHECKSUM_ALGORITHM: Define a list of the algorithms allowed to calculate the checksum e.g. [SHA1:SHA256:SHA512], [SHA1:SHA256] or [SHA512]. The same algorithm in the request is transferred to requests made to BigBlueButton. When not set, Scalelite accepts checksums generated with SHA1, SHA256, or SHA512 and calls to BigBlueButton servers use SHA256.
This line is not true:
The same algorithm in the request is transferred to requests made to BigBlueButton.
I'll put out a fix for it
Describe the bug When scalelite is configured to enforce a SHA512 checkum algorithm, servers fail to come online
To Reproduce docker-compose configured to run images
scalelite-poller container environment settings
scalelite-poller log
Steps to reproduce the behavior:
BBB servers configured
/etc/bigbluebutton/bbb-web.properties
withConfirmed with api mate performing a
getMeetings
Scalelite deployed through Scalelite Enterprise
Expected behavior Servers to come online