Where is Problem in my loadbalancer

626 views
Skip to first unread message

Łukasz Kurowski

unread,
Mar 21, 2020, 12:47:37 PM3/21/20
to BigBlueButton-dev

Hi,
I have installed loadbalancer scalelite, all services theoretically work correctly, but the following commands display errors, where do I look for a problem?
I also installed Postgres and redis on the docker
~ $ ./bin/rake servers
id: 6a41a386-6fb2-4e5b-9f0b-b42cc9839b7a
        url:
        secret:
        enabled
        load: unavailable
        offline
id: 3bba44f1-ce89-439d-982b-7cb250c68d50
        url:
        secret:
        enabled
        load: unavailable
        offline
~ $ ./bin/rake poll:all
D, [2020-03-21T14:45:25.824742 #27] DEBUG -- : Polling meetings
D, [2020-03-21T14:45:25.824910 #27] DEBUG -- : Polling servers
D, [2020-03-21T14:45:25.843661 #27] DEBUG -- : Polling Server id=6a41a386-6fb2-4e5b-9f0b-b42cc9839b7a
W, [2020-03-21T14:45:35.845708 #27]  WARN -- : Failed to get server id=6a41a386-6fb2-4e5b-9f0b-b42cc9839b7a status: execution expired
I, [2020-03-21T14:45:35.846456 #27]  INFO -- : Server id=6a41a386-6fb2-4e5b-9f0b-b42cc9839b7a offline load: unavailable
D, [2020-03-21T14:45:35.846542 #27] DEBUG -- : Polling Server id=3bba44f1-ce89-439d-982b-7cb250c68d50
W, [2020-03-21T14:45:36.023706 #27]  WARN -- : Failed to get server id=3bba44f1-ce89-439d-982b-7cb250c68d50 status: internalError: Response did not include returncode
I, [2020-03-21T14:45:36.023928 #27]  INFO -- : Server id=3bba44f1-ce89-439d-982b-7cb250c68d50 offline load: unavailable
~ $ ./bin/rake status
rake aborted!
Net::OpenTimeout: execution expired
/srv/scalelite/app/controllers/concerns/api_helper.rb:49:in `get_post_req'
/srv/scalelite/lib/tasks/status.rake:11:in `block (2 levels) in <main>'
/srv/scalelite/lib/tasks/status.rake:10:in `each'
/srv/scalelite/lib/tasks/status.rake:10:in `block in <main>'
Tasks: TOP => status
(See full trace by running task with --trace)
~ $ ./bin/rake status --trace
** Invoke status (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute status
rake aborted!
Net::OpenTimeout: execution expired
/usr/lib/ruby/2.6.0/net/http.rb:947:in `initialize'
/usr/lib/ruby/2.6.0/net/http.rb:947:in `open'
/usr/lib/ruby/2.6.0/net/http.rb:947:in `block in connect'
/usr/lib/ruby/2.6.0/timeout.rb:103:in `timeout'
/usr/lib/ruby/2.6.0/net/http.rb:945:in `connect'
/usr/lib/ruby/2.6.0/net/http.rb:930:in `do_start'
/usr/lib/ruby/2.6.0/net/http.rb:919:in `start'
/usr/lib/ruby/2.6.0/net/http.rb:605:in `start'
/srv/scalelite/app/controllers/concerns/api_helper.rb:49:in `get_post_req'
/srv/scalelite/lib/tasks/status.rake:11:in `block (2 levels) in <main>'
/srv/scalelite/lib/tasks/status.rake:10:in `each'
/srv/scalelite/lib/tasks/status.rake:10:in `block in <main>'
/srv/scalelite/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/task.rb:281:in `block in execute'
/srv/scalelite/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/task.rb:281:in `each'
/srv/scalelite/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/task.rb:281:in `execute'
/srv/scalelite/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/task.rb:219:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize'
/srv/scalelite/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/task.rb:199:in `invoke_with_call_chain'
/srv/scalelite/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/task.rb:188:in `invoke'
/srv/scalelite/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/application.rb:160:in `invoke_task'
/srv/scalelite/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/application.rb:116:in `block (2 levels) in top_level'
/srv/scalelite/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/application.rb:116:in `each'
/srv/scalelite/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/application.rb:116:in `block in top_level'
/srv/scalelite/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/application.rb:125:in `run_with_threads'
/srv/scalelite/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/application.rb:110:in `top_level'
/srv/scalelite/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/application.rb:83:in `block in run'
/srv/scalelite/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/application.rb:186:in `standard_exception_handling'
/srv/scalelite/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/application.rb:80:in `run'
./bin/rake:9:in `<main>'
Tasks: TOP => status

Łukasz Kurowski

unread,
Mar 21, 2020, 1:49:14 PM3/21/20
to BigBlueButton-dev
I removed all (2 servers) as I added one, it works fine but as I added, the other started to error

Łukasz Kurowski

unread,
Mar 21, 2020, 3:00:34 PM3/21/20
to BigBlueButton-dev
to close. one of the servers has a closed port

Ahmad Farhat

unread,
Mar 23, 2020, 9:42:27 AM3/23/20
to BigBlueButton-dev
> W, [2020-03-21T14:45:35.845708 #27]  WARN -- : Failed to get server id=6a41a386-6fb2-4e5b-9f0b-b42cc9839b7a status: execution expired

This error is Scalelite complaining that it can't reach your BigBlueButton server. Can you confirm if you can ping your BigBlueButton server address from the Scalelite machine?

> W, [2020-03-21T14:45:36.023706 #27]  WARN -- : Failed to get server id=3bba44f1-ce89-439d-982b-7cb250c68d50 status: internalError: Response did not include returncode

This error is normally caused by your BigBlueButton server going down. Can you check the status of it?

Łukasz Kurowski

unread,
Mar 23, 2020, 9:54:30 AM3/23/20
to BigBlueButton-dev
Hi.

This problem is still unsolved and I don't know where to look. I have 3 ubuntu 16.04 virtual machines installed on google cloud with BBB and one with loadbalner. 2 BBB machines are fine, one is not, what's interesting is that what can't be combined with the load balancer is technically well and can be connected to e.g. moodle or grenlight.

This configuration is purely test-based for learning.

Ahmad Farhat

unread,
Mar 23, 2020, 10:30:01 AM3/23/20
to BigBlueButton-dev
What's the error that is appearing for the server that doesn't work?

Based on that error, look at my message before to see where to debug

Łukasz Kurowski

unread,
Mar 23, 2020, 10:34:19 AM3/23/20
to BigBlueButton-dev
I put all messages from the api server in the first message, if they are too small for you we can arrange a priv. give me the public key and I'll give you access to loadbalncer and possibly to this non-steaming machine

Ahmad Farhat

unread,
Mar 23, 2020, 1:13:00 PM3/23/20
to BigBlueButton-dev
Łukasz,

If you look at the first message I sent you, I gave you some recommended debugging tips to see why Scalelite wasn't connecting to your BigBlueButton server.

Can you try them out and report back?

Łukasz Kurowski

unread,
Mar 23, 2020, 3:32:14 PM3/23/20
to bigblueb...@googlegroups.com
I checked, there is no ping.  and I don't really know why.

--
You received this message because you are subscribed to a topic in the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bigbluebutton-dev/zvXS-UFhPw4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bigbluebutton-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-dev/bbbc45b2-0730-46da-a5fc-036dc84b084a%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages