[jitsi-users] focus not available , retry in xx sec.


#1

Hi , there :

I installed jitsi-meet at a VPS and modified the prosody.cfg.lua to use mysql for log-in accounts.
However , the two devices cannot see each other with an info message of " focus.here_is_my_vps_ip not available , retry in xxx seconds ".
Should I add the focus to the sql database ( currently there are only two accounts created at the prosody table for the devices) ?
Thankyou very much !

Enclosed please see the log files ( The timestamp at jicofo.log is 1 month earlier than the one at the other log files because the time at my VPS server is not correct).

Cheer ~~~~

Chengji

prosody.log (60.1 KB)

prosody.err (45.6 KB)

jicofo_log.tar.gz (15.3 KB)


#2

Further analysis reveals that the first error is here :

( From prosody.log )
focus.133.130.49.119:component warn Component not connected, bouncing error for: <iq id='1:sendIQ' type='set' to='focus.133.130.49.119' from='fabio@133.130.49.119/6eb5bcf1-5219-4e06-a76a-ec8c8daad167'>

( from meetlog.json )

  [
             1433605265373,
             "outgoing",
             "<body rid='3653342801' xmlns='http://jabber.org/protocol/httpbind' sid='da3dbfd8-5c35-44bd-8801-4d0dfd59ac83'><iq to='fo
     cus.133.130.49.119' type='set' xmlns='jabber:client' id='1:sendIQ'><conference xmlns='http://jitsi.org/protocol/focus' room='1234
     56@conference.133.130.49.119' machine-uid='a0aa47419f1c2418323b760ae3201e76'><property name='bridge' value='jitsi-videobridge.133 90 .130.49.119'/><property name='channelLastN' value='-1'/><property name='adaptiveLastN' value='false'/><property name='adaptiveSim 90 ulcast' value='false'/><property name='openSctp' value='true'/></conference></iq></body>"
           ],
           [
             1433605265561,
             "incoming",
             "<body xmlns:stream='http://etherx.jabber.org/streams' xmlns='http://jabber.org/protocol/httpbind' sid='da3dbfd8-5c35-44b 95 d-8801-4d0dfd59ac83'><iq xmlns='jabber:client' type='error' to='fabio@133.130.49.119/6eb5bcf1-5219-4e06-a76a-ec8c8daad167' from=' 95 focus.133.130.49.119' id='1:sendIQ'><error type='wait'><service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text xm 95 lns='urn:ietf:params:xml:ns:xmpp-stanzas'>Component unavailable</text></error></iq></body>"
           ],

I had no idea on the protocol ( http://jitsi.org/protocol/focus ??? what is this ?? ) . Please kindly advise me . Thankyou very much !

Su

···

At 2015-06-06 10:39:22, "su" <su_cj81@163.com> wrote:

Hi , there :

I installed jitsi-meet at a VPS and modified the prosody.cfg.lua to use mysql for log-in accounts.
However , the two devices cannot see each other with an info message of " focus.here_is_my_vps_ip not available , retry in xxx seconds ".
Should I add the focus to the sql database ( currently there are only two accounts created at the prosody table for the devices) ?
Thankyou very much !

Enclosed please see the log files ( The timestamp at jicofo.log is 1 month earlier than the one at the other log files because the time at my VPS server is not correct).

Cheer ~~~~

Chengji


#3

( from console.log )
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
init
This appears to be Chrome
Strophe status changed to CONNECTING null
Using Chrome extension for desktop sharing
Chrome versionmozilla/5.0 (x11; linux x86_64) applewebkit/537.36 (khtml, like gecko) chrome/43.0.2357.81 safari/537.36 43
Extension not installed?: Object {message: "Could not establish connection. Receiving end does not exist."}
Chrome extension installed: false updateRequired: false
onUserMediaSuccess
got MediaStream {} 1 1
'webkitURL' is deprecated. Please use 'URL' instead.
hover in blob:https%3A//133.130.49.119/2817aff5-8597-4549-bf58-91ae842cd264 null
Strophe status changed to CONNFAIL x-strophe-bad-non-anon-jid
Strophe status changed to DISCONNECTING x-strophe-bad-non-anon-jid
GET https://www.gravatar.com/avatar/87291c37c25be69a072a4514931b1749?d=wavatar&size=30 net::ERR_SSL_PROTOCOL_ERROR
Strophe status changed to DISCONNECTED null
password is required
Strophe status changed to CONNECTING null
Strophe status changed to CONNECTED null
My Jabber ID: fabio@133.130.49.119/5c86fbe0-6808-468e-a791-7081bc74e691
Focus jid set to: undefined
Session ID: null machine UID: a0aa47419f1c2418323b760ae3201e76
Focus error, retry after 1000 <iq xmlns=<U+200B>"jabber:<U+200B>client" type=<U+200B>"error" to=<U+200B>"fabio@133.130.49.119/<U+200B>5c86fbe0-6808-468e-a791-7081bc74e691" from=<U+200B>"focus.133.130.49.119" id=<U+200B>"1:<U+200B>sendIQ"><U+200B>…<U+200B></iq><U+200B>
Focus jid set to: undefined
Session ID: null machine UID: a0aa47419f1c2418323b760ae3201e76
Focus error, retry after 2000 <iq xmlns=<U+200B>"jabber:<U+200B>client" type=<U+200B>"error" to=<U+200B>"fabio@133.130.49.119/<U+200B>5c86fbe0-6808-468e-a791-7081bc74e691" from=<U+200B>"focus.133.130.49.119" id=<U+200B>"2:<U+200B>sendIQ"><U+200B>…<U+200B></iq><U+200B>
Focus jid set to: undefined
Session ID: null machine UID: a0aa47419f1c2418323b760ae3201e76
Focus error, retry after 4000 <iq xmlns=<U+200B>"jabber:<U+200B>client" type=<U+200B>"error" to=<U+200B>"fabio@133.130.49.119/<U+200B>5c86fbe0-6808-468e-a791-7081bc74e691" from=<U+200B>"focus.133.130.49.119" id=<U+200B>"3:<U+200B>sendIQ"><U+200B>…<U+200B></iq><U+200B>
Focus jid set to: undefined

···

====================================================================

Further analysis reveals that the first error is here :

( From prosody.log )
focus.133.130.49.119:component warn Component not connected, bouncing error for: <iq id='1:sendIQ' type='set' to='focus.133.130.49.119' from='fabio@133.130.49.119/6eb5bcf1-5219-4e06-a76a-ec8c8daad167'>

( from meetlog.json )

  [
             1433605265373,
             "outgoing",
             "<body rid='3653342801' xmlns='http://jabber.org/protocol/httpbind' sid='da3dbfd8-5c35-44bd-8801-4d0dfd59ac83'><iq to='fo
     cus.133.130.49.119' type='set' xmlns='jabber:client' id='1:sendIQ'><conference xmlns='http://jitsi.org/protocol/focus' room='1234
     56@conference.133.130.49.119' machine-uid='a0aa47419f1c2418323b760ae3201e76'><property name='bridge' value='jitsi-videobridge.133 90 .130.49.119'/><property name='channelLastN' value='-1'/><property name='adaptiveLastN' value='false'/><property name='adaptiveSim 90 ulcast' value='false'/><property name='openSctp' value='true'/></conference></iq></body>"
           ],
           [
             1433605265561,
             "incoming",
             "<body xmlns:stream='http://etherx.jabber.org/streams' xmlns='http://jabber.org/protocol/httpbind' sid='da3dbfd8-5c35-44b 95 d-8801-4d0dfd59ac83'><iq xmlns='jabber:client' type='error' to='fabio@133.130.49.119/6eb5bcf1-5219-4e06-a76a-ec8c8daad167' from=' 95 focus.133.130.49.119' id='1:sendIQ'><error type='wait'><service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text xm 95 lns='urn:ietf:params:xml:ns:xmpp-stanzas'>Component unavailable</text></error></iq></body>"
           ],

I had no idea on the protocol ( http://jitsi.org/protocol/focus ??? what is this ?? ) . Please kindly advise me . Thankyou very much !

Su

At 2015-06-06 10:39:22, "su" <su_cj81@163.com> wrote:

Hi , there :

I installed jitsi-meet at a VPS and modified the prosody.cfg.lua to use mysql for log-in accounts.
However , the two devices cannot see each other with an info message of " focus.here_is_my_vps_ip not available , retry in xxx seconds ".
Should I add the focus to the sql database ( currently there are only two accounts created at the prosody table for the devices) ?
Thankyou very much !

Enclosed please see the log files ( The timestamp at jicofo.log is 1 month earlier than the one at the other log files because the time at my VPS server is not correct).

Cheer ~~~~

Chengji


#4

( from console.log )
Synchronous XMLHttpRequest on the main thread is deprecated because of
its detrimental effects to the end user's experience. For more help,
check http://xhr.spec.whatwg.org/.
init
This appears to be Chrome
Strophe status changed to CONNECTING null
Using Chrome extension for desktop sharing
Chrome versionmozilla/5.0 (x11; linux x86_64) applewebkit/537.36
(khtml, like gecko) chrome/43.0.2357.81 safari/537.36 43
Extension not installed?: Object {message: "Could not establish
connection. Receiving end does not exist."}
Chrome extension installed: false updateRequired: false
onUserMediaSuccess
got MediaStream {} 1 1
'webkitURL' is deprecated. Please use 'URL' instead.
hover in
blob:https%3A//133.130.49.119/2817aff5-8597-4549-bf58-91ae842cd264 null
Strophe status changed to CONNFAIL x-strophe-bad-non-anon-jid
Strophe status changed to DISCONNECTING x-strophe-bad-non-anon-jid
GET
https://www.gravatar.com/avatar/87291c37c25be69a072a4514931b1749?d=wavatar&size=30
net::ERR_SSL_PROTOCOL_ERROR
Strophe status changed to DISCONNECTED null
password is required
Strophe status changed to CONNECTING null
Strophe status changed to CONNECTED null
My Jabber ID: fabio@133.130.49.119/5c86fbe0-6808-468e-a791-7081bc74e691
Focus jid set to: undefined
Session ID: null machine UID: a0aa47419f1c2418323b760ae3201e76
Focus error, retry after 1000 <iq xmlns=<U+200B>"jabber:<U+200B>client"
type=<U+200B>"error"
to=<U+200B>"fabio@133.130.49.119/<U+200B>5c86fbe0-6808-468e-a791-7081bc74e691"
from=<U+200B>"focus.133.130.49.119"
id=<U+200B>"1:<U+200B>sendIQ"><U+200B>…<U+200B></iq><U+200B>
Focus jid set to: undefined
Session ID: null machine UID: a0aa47419f1c2418323b760ae3201e76
Focus error, retry after 2000 <iq xmlns=<U+200B>"jabber:<U+200B>client"
type=<U+200B>"error"
to=<U+200B>"fabio@133.130.49.119/<U+200B>5c86fbe0-6808-468e-a791-7081bc74e691"
from=<U+200B>"focus.133.130.49.119"
id=<U+200B>"2:<U+200B>sendIQ"><U+200B>…<U+200B></iq><U+200B>
Focus jid set to: undefined
Session ID: null machine UID: a0aa47419f1c2418323b760ae3201e76
Focus error, retry after 4000 <iq xmlns=<U+200B>"jabber:<U+200B>client"
type=<U+200B>"error"
to=<U+200B>"fabio@133.130.49.119/<U+200B>5c86fbe0-6808-468e-a791-7081bc74e691"
from=<U+200B>"focus.133.130.49.119"
id=<U+200B>"3:<U+200B>sendIQ"><U+200B>…<U+200B></iq><U+200B>
Focus jid set to: undefined

====================================================================

Further analysis reveals that the first error is here :

( From prosody.log )
focus.133.130.49.119:component warn Component not connected,
bouncing error for: <iq id='1:sendIQ' type='set'
to='focus.133.130.49.119'
from='fabio@133.130.49.119/6eb5bcf1-5219-4e06-a76a-ec8c8daad167'>

( from meetlog.json )

[
            1433605265373,
            "outgoing",
"<body rid='3653342801' xmlns='http://jabber.org/protocol/httpbind'
sid='da3dbfd8-5c35-44bd-8801-4d0dfd59ac83'><iq to='fo
cus.133.130.49.119' type='set' xmlns='jabber:client'
id='1:sendIQ'><conference xmlns='http://jitsi.org/protocol/focus'
room='1234
56@conference.133.130.49.119'
machine-uid='a0aa47419f1c2418323b760ae3201e76'><property name='bridge'
value='jitsi-videobridge.133 90 .130.49.119'/><property
name='channelLastN' value='-1'/><property name='adaptiveLastN'
value='false'/><property name='adaptiveSim 90 ulcast'
value='false'/><property name='openSctp'
value='true'/></conference></iq></body>"
          ],
          [
            1433605265561,
            "incoming",
"<body xmlns:stream='http://etherx.jabber.org/streams'
xmlns='http://jabber.org/protocol/httpbind' sid='da3dbfd8-5c35-44b
95 d-8801-4d0dfd59ac83'><iq xmlns='jabber:client' type='error'
to='fabio@133.130.49.119/6eb5bcf1-5219-4e06-a76a-ec8c8daad167' from='
95 focus.133.130.49.119' id='1:sendIQ'><error
type='wait'><service-unavailable
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text xm 95
lns='urn:ietf:params:xml:ns:xmpp-stanzas'>Component
unavailable</text></error></iq></body>"
          ],

I had no idea on the protocol ( http://jitsi.org/protocol/focus ???
what is this ?? ) . Please kindly advise me . Thankyou very much !

Su

Hi , there :

I installed jitsi-meet at a VPS and modified the prosody.cfg.lua to
use mysql for log-in accounts.
However , the two devices cannot see each other with an info message of
" focus.here_is_my_vps_ip not available , retry in xxx seconds ".
Should I add the focus to the sql database ( currently there are only
two accounts created at the prosody table for the devices) ?
Thankyou very much !

Enclosed please see the log files ( The timestamp at jicofo.log is 1
month earlier than the one at the other log files because the time at
my VPS server is not correct).

Cheer ~~~~

Chengji

------------------------------------------------------------------------

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

Hello Su,

If your XMPP server requires auth for all users then you need to add an account for jicofo and configure it to use it in /etc/jitsi/jicofo. You may also need to add the account as an admin of the MUC component.

Note that this will force all participants to have an account. If you want only the organizer to login you will need to setup a second virtual domain in prosody. I think the procedure is documented in the manual install doc, but I am not sure.

From some of the logs you see it appears that jicofo has failed to connect as a component. Check its logs in /var/log/jitsi/jicofo.log.

Sorry for the lack of specifics and details (and top posting), I am writing on a mobile.

Regards,
Boris

···

On June 6, 2015 8:51:15 PM EEST, su <su_cj81@163.com> wrote:

At 2015-06-06 10:39:22, "su" <su_cj81@163.com> wrote:

--
Sent from a mobile. Please excuse my brevity.


#5

Hi , Boris :

Thanks for your hints :slight_smile: Authentication for all users is just what I need.

According to /etc/jitsi/jicofo/config , I added focus account to my sql. After that , it seemed jicofo is satisfied for both jicofo.log , jvb.log and prosody.err keep still . No change in these log files in my current tests.
As for the prosody.log , the errors/warings still pop up as before. After the first user created the room , the message " focus not availbale " appears at the first user's screen.

Should I add the other account ( jvb , muc ...) to my sql ?

Cheers ~~~~

Su

···

At 2015-06-07 02:56:50, "Boris Grozev" <boris@jitsi.org> wrote:

On June 6, 2015 8:51:15 PM EEST, su <su_cj81@163.com> wrote:

( from console.log )
Synchronous XMLHttpRequest on the main thread is deprecated because of
its detrimental effects to the end user's experience. For more help,
check http://xhr.spec.whatwg.org/.
init
This appears to be Chrome
Strophe status changed to CONNECTING null
Using Chrome extension for desktop sharing
Chrome versionmozilla/5.0 (x11; linux x86_64) applewebkit/537.36
(khtml, like gecko) chrome/43.0.2357.81 safari/537.36 43
Extension not installed?: Object {message: "Could not establish
connection. Receiving end does not exist."}
Chrome extension installed: false updateRequired: false
onUserMediaSuccess
got MediaStream {} 1 1
'webkitURL' is deprecated. Please use 'URL' instead.
hover in
blob:https%3A//133.130.49.119/2817aff5-8597-4549-bf58-91ae842cd264 null
Strophe status changed to CONNFAIL x-strophe-bad-non-anon-jid
Strophe status changed to DISCONNECTING x-strophe-bad-non-anon-jid
GET
https://www.gravatar.com/avatar/87291c37c25be69a072a4514931b1749?d=wavatar&size=30
net::ERR_SSL_PROTOCOL_ERROR
Strophe status changed to DISCONNECTED null
password is required
Strophe status changed to CONNECTING null
Strophe status changed to CONNECTED null
My Jabber ID: fabio@133.130.49.119/5c86fbe0-6808-468e-a791-7081bc74e691
Focus jid set to: undefined
Session ID: null machine UID: a0aa47419f1c2418323b760ae3201e76
Focus error, retry after 1000 <iq xmlns=<U+200B>"jabber:<U+200B>client"
type=<U+200B>"error"
to=<U+200B>"fabio@133.130.49.119/<U+200B>5c86fbe0-6808-468e-a791-7081bc74e691"
from=<U+200B>"focus.133.130.49.119"
id=<U+200B>"1:<U+200B>sendIQ"><U+200B>…<U+200B></iq><U+200B>
Focus jid set to: undefined
Session ID: null machine UID: a0aa47419f1c2418323b760ae3201e76
Focus error, retry after 2000 <iq xmlns=<U+200B>"jabber:<U+200B>client"
type=<U+200B>"error"
to=<U+200B>"fabio@133.130.49.119/<U+200B>5c86fbe0-6808-468e-a791-7081bc74e691"
from=<U+200B>"focus.133.130.49.119"
id=<U+200B>"2:<U+200B>sendIQ"><U+200B>…<U+200B></iq><U+200B>
Focus jid set to: undefined
Session ID: null machine UID: a0aa47419f1c2418323b760ae3201e76
Focus error, retry after 4000 <iq xmlns=<U+200B>"jabber:<U+200B>client"
type=<U+200B>"error"
to=<U+200B>"fabio@133.130.49.119/<U+200B>5c86fbe0-6808-468e-a791-7081bc74e691"
from=<U+200B>"focus.133.130.49.119"
id=<U+200B>"3:<U+200B>sendIQ"><U+200B>…<U+200B></iq><U+200B>
Focus jid set to: undefined

====================================================================

Further analysis reveals that the first error is here :

( From prosody.log )
focus.133.130.49.119:component warn Component not connected,
bouncing error for: <iq id='1:sendIQ' type='set'
to='focus.133.130.49.119'
from='fabio@133.130.49.119/6eb5bcf1-5219-4e06-a76a-ec8c8daad167'>

( from meetlog.json )

[
            1433605265373,
            "outgoing",
"<body rid='3653342801' xmlns='http://jabber.org/protocol/httpbind'
sid='da3dbfd8-5c35-44bd-8801-4d0dfd59ac83'><iq to='fo
cus.133.130.49.119' type='set' xmlns='jabber:client'
id='1:sendIQ'><conference xmlns='http://jitsi.org/protocol/focus'
room='1234
56@conference.133.130.49.119'
machine-uid='a0aa47419f1c2418323b760ae3201e76'><property name='bridge'
value='jitsi-videobridge.133 90 .130.49.119'/><property
name='channelLastN' value='-1'/><property name='adaptiveLastN'
value='false'/><property name='adaptiveSim 90 ulcast'
value='false'/><property name='openSctp'
value='true'/></conference></iq></body>"
          ],
          [
            1433605265561,
            "incoming",
"<body xmlns:stream='http://etherx.jabber.org/streams'
xmlns='http://jabber.org/protocol/httpbind' sid='da3dbfd8-5c35-44b
95 d-8801-4d0dfd59ac83'><iq xmlns='jabber:client' type='error'
to='fabio@133.130.49.119/6eb5bcf1-5219-4e06-a76a-ec8c8daad167' from='
95 focus.133.130.49.119' id='1:sendIQ'><error
type='wait'><service-unavailable
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text xm 95
lns='urn:ietf:params:xml:ns:xmpp-stanzas'>Component
unavailable</text></error></iq></body>"
          ],

I had no idea on the protocol ( http://jitsi.org/protocol/focus ???
what is this ?? ) . Please kindly advise me . Thankyou very much !

Su

At 2015-06-06 10:39:22, "su" <su_cj81@163.com> wrote:

Hi , there :

I installed jitsi-meet at a VPS and modified the prosody.cfg.lua to
use mysql for log-in accounts.
However , the two devices cannot see each other with an info message of
" focus.here_is_my_vps_ip not available , retry in xxx seconds ".
Should I add the focus to the sql database ( currently there are only
two accounts created at the prosody table for the devices) ?
Thankyou very much !

Enclosed please see the log files ( The timestamp at jicofo.log is 1
month earlier than the one at the other log files because the time at
my VPS server is not correct).

Cheer ~~~~

Chengji

------------------------------------------------------------------------

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

Hello Su,

If your XMPP server requires auth for all users then you need to add an account for jicofo and configure it to use it in /etc/jitsi/jicofo. You may also need to add the account as an admin of the MUC component.

Note that this will force all participants to have an account. If you want only the organizer to login you will need to setup a second virtual domain in prosody. I think the procedure is documented in the manual install doc, but I am not sure.

From some of the logs you see it appears that jicofo has failed to connect as a component. Check its logs in /var/log/jitsi/jicofo.log.

Sorry for the lack of specifics and details (and top posting), I am writing on a mobile.

Regards,
Boris
--
Sent from a mobile. Please excuse my brevity.


#6

Hi , Boris :

Thanks for your hints :slight_smile: Authentication for all users is just what I
need.

According to /etc/jitsi/jicofo/config , I added focus account to my
sql. After that , it seemed jicofo is satisfied for both jicofo.log ,
jvb.log and prosody.err keep still . No change in these log files in
my current tests.
As for the prosody.log , the errors/warings still pop up as before.
After the first user created the room , the message " focus not
availbale " appears at the first user's screen.

Should I add the other account ( jvb , muc ...) to my sql ?

These should be configured in prosody's config files, not in mysql. Check (and/or post here) jicofo.log for hints as to why the "focus not available" message is printed.

Regards,
Boris

···

On June 7, 2015 6:35:01 AM EEST, su <su_cj81@163.com> wrote:

Cheers ~~~~

Su

At 2015-06-07 02:56:50, "Boris Grozev" <boris@jitsi.org> wrote:

On June 6, 2015 8:51:15 PM EEST, su <su_cj81@163.com> wrote:

( from console.log )
Synchronous XMLHttpRequest on the main thread is deprecated because

of

its detrimental effects to the end user's experience. For more help,
check http://xhr.spec.whatwg.org/.
init
This appears to be Chrome
Strophe status changed to CONNECTING null
Using Chrome extension for desktop sharing
Chrome versionmozilla/5.0 (x11; linux x86_64) applewebkit/537.36
(khtml, like gecko) chrome/43.0.2357.81 safari/537.36 43
Extension not installed?: Object {message: "Could not establish
connection. Receiving end does not exist."}
Chrome extension installed: false updateRequired: false
onUserMediaSuccess
got MediaStream {} 1 1
'webkitURL' is deprecated. Please use 'URL' instead.
hover in
blob:https%3A//133.130.49.119/2817aff5-8597-4549-bf58-91ae842cd264

null

Strophe status changed to CONNFAIL x-strophe-bad-non-anon-jid
Strophe status changed to DISCONNECTING x-strophe-bad-non-anon-jid
GET
https://www.gravatar.com/avatar/87291c37c25be69a072a4514931b1749?d=wavatar&size=30
net::ERR_SSL_PROTOCOL_ERROR
Strophe status changed to DISCONNECTED null
password is required
Strophe status changed to CONNECTING null
Strophe status changed to CONNECTED null
My Jabber ID:

fabio@133.130.49.119/5c86fbe0-6808-468e-a791-7081bc74e691

Focus jid set to: undefined
Session ID: null machine UID: a0aa47419f1c2418323b760ae3201e76
Focus error, retry after 1000 <iq

xmlns=<U+200B>"jabber:<U+200B>client"

type=<U+200B>"error"
to=<U+200B>"fabio@133.130.49.119/<U+200B>5c86fbe0-6808-468e-a791-7081bc74e691"
from=<U+200B>"focus.133.130.49.119"
id=<U+200B>"1:<U+200B>sendIQ"><U+200B>…<U+200B></iq><U+200B>
Focus jid set to: undefined
Session ID: null machine UID: a0aa47419f1c2418323b760ae3201e76
Focus error, retry after 2000 <iq

xmlns=<U+200B>"jabber:<U+200B>client"

type=<U+200B>"error"
to=<U+200B>"fabio@133.130.49.119/<U+200B>5c86fbe0-6808-468e-a791-7081bc74e691"
from=<U+200B>"focus.133.130.49.119"
id=<U+200B>"2:<U+200B>sendIQ"><U+200B>…<U+200B></iq><U+200B>
Focus jid set to: undefined
Session ID: null machine UID: a0aa47419f1c2418323b760ae3201e76
Focus error, retry after 4000 <iq

xmlns=<U+200B>"jabber:<U+200B>client"

type=<U+200B>"error"
to=<U+200B>"fabio@133.130.49.119/<U+200B>5c86fbe0-6808-468e-a791-7081bc74e691"
from=<U+200B>"focus.133.130.49.119"
id=<U+200B>"3:<U+200B>sendIQ"><U+200B>…<U+200B></iq><U+200B>
Focus jid set to: undefined

====================================================================

Further analysis reveals that the first error is here :

( From prosody.log )
focus.133.130.49.119:component warn Component not connected,
bouncing error for: <iq id='1:sendIQ' type='set'
to='focus.133.130.49.119'
from='fabio@133.130.49.119/6eb5bcf1-5219-4e06-a76a-ec8c8daad167'>

( from meetlog.json )

[
            1433605265373,
            "outgoing",
"<body rid='3653342801' xmlns='http://jabber.org/protocol/httpbind'
sid='da3dbfd8-5c35-44bd-8801-4d0dfd59ac83'><iq to='fo
cus.133.130.49.119' type='set' xmlns='jabber:client'
id='1:sendIQ'><conference xmlns='http://jitsi.org/protocol/focus'
room='1234
56@conference.133.130.49.119'
machine-uid='a0aa47419f1c2418323b760ae3201e76'><property

name='bridge'

value='jitsi-videobridge.133 90 .130.49.119'/><property
name='channelLastN' value='-1'/><property name='adaptiveLastN'
value='false'/><property name='adaptiveSim 90 ulcast'
value='false'/><property name='openSctp'
value='true'/></conference></iq></body>"
          ],
          [
            1433605265561,
            "incoming",
"<body xmlns:stream='http://etherx.jabber.org/streams'
xmlns='http://jabber.org/protocol/httpbind' sid='da3dbfd8-5c35-44b

95 d-8801-4d0dfd59ac83'><iq xmlns='jabber:client' type='error'
to='fabio@133.130.49.119/6eb5bcf1-5219-4e06-a76a-ec8c8daad167' from='

95 focus.133.130.49.119' id='1:sendIQ'><error
type='wait'><service-unavailable
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text xm 95
lns='urn:ietf:params:xml:ns:xmpp-stanzas'>Component
unavailable</text></error></iq></body>"
          ],

I had no idea on the protocol ( http://jitsi.org/protocol/focus ???
what is this ?? ) . Please kindly advise me . Thankyou very much !

Su

At 2015-06-06 10:39:22, "su" <su_cj81@163.com> wrote:

Hi , there :

I installed jitsi-meet at a VPS and modified the prosody.cfg.lua to
use mysql for log-in accounts.
However , the two devices cannot see each other with an info message

of

" focus.here_is_my_vps_ip not available , retry in xxx seconds ".
Should I add the focus to the sql database ( currently there are only
two accounts created at the prosody table for the devices) ?
Thankyou very much !

Enclosed please see the log files ( The timestamp at jicofo.log is 1
month earlier than the one at the other log files because the time at
my VPS server is not correct).

Cheer ~~~~

Chengji

------------------------------------------------------------------------

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

Hello Su,

If your XMPP server requires auth for all users then you need to add

an account for jicofo and configure it to use it in /etc/jitsi/jicofo.
You may also need to add the account as an admin of the MUC component.

Note that this will force all participants to have an account. If you

want only the organizer to login you will need to setup a second
virtual domain in prosody. I think the procedure is documented in the
manual install doc, but I am not sure.

From some of the logs you see it appears that jicofo has failed to

connect as a component. Check its logs in /var/log/jitsi/jicofo.log.

Sorry for the lack of specifics and details (and top posting), I am

writing on a mobile.

Regards,
Boris
--
Sent from a mobile. Please excuse my brevity.

--
Sent from a mobile. Please excuse my brevity.


#7

Hi , Boris :

After I rebooted the vps server , both jicofo.log and jvb.log began to update again . ( weird .... )

( from jicofo.log )
2015-05-07 23:02:03.068 INFO: [9] org.jitsi.service.libjitsi.LibJitsi.info() Successfully started LibJitsi using as implementation: org.jitsi.impl.libjitsi.LibJitsiOSGiImpl
2015-05-07 23:02:03.102 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() org.jitsi.jicofo.HOSTNAME=localhost
2015-05-07 23:02:03.103 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.runtime.name=OpenJDK Runtime Environment
2015-05-07 23:02:03.103 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.boot.library.path=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64
2015-05-07 23:02:03.103 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.vm.version=24.79-b02
2015-05-07 23:02:03.103 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.impl.neomedia.video.maxbandwidth=2147483647
2015-05-07 23:02:03.103 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.vm.vendor=Oracle Corporation
2015-05-07 23:02:03.103 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.vendor.url=http://java.oracle.com/
2015-05-07 23:02:03.104 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() path.separator=:
2015-05-07 23:02:03.104 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.util.logging.config.file=/usr/share/jicofo/lib/logging.properties
2015-05-07 23:02:03.104 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.vm.name=OpenJDK 64-Bit Server VM
2015-05-07 23:02:03.104 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() file.encoding.pkg=sun.io
2015-05-07 23:02:03.104 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() user.country=US
2015-05-07 23:02:03.108 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.java.launcher=SUN_STANDARD
2015-05-07 23:02:03.108 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.os.patch.level=unknown
2015-05-07 23:02:03.108 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.impl.neomedia.audioSystem=audiosilence
2015-05-07 23:02:03.108 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() org.jitsi.impl.neomedia.transform.csrc.SsrcTransformEngine.dropMutedAudioSourceInReverseTransform=true
2015-05-07 23:02:03.108 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.vm.specification.name=Java Virtual Machine Specification
2015-05-07 23:02:03.108 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() user.dir=/usr/share/jicofo
2015-05-07 23:02:03.109 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() org.jitsi.jicofo.FOCUS_USER_PASSWORD=LyiAn6n#
2015-05-07 23:02:03.109 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.runtime.version=1.7.0_79-b14
2015-05-07 23:02:03.109 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
2015-05-07 23:02:03.109 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.endorsed.dirs=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/endorsed
2015-05-07 23:02:03.109 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() os.arch=amd64
2015-05-07 23:02:03.109 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() org.jitsi.videobridge.influxdb.LOGGING_HANDLER=org.jitsi.jicofo.log.LoggingHandler
2015-05-07 23:02:03.110 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.io.tmpdir=/tmp
2015-05-07 23:02:03.110 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() line.separator=

2015-05-07 23:02:03.110 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.vm.specification.vendor=Oracle Corporation
2015-05-07 23:02:03.110 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() os.name=Linux
2015-05-07 23:02:03.110 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.jnu.encoding=ANSI_X3.4-1968
2015-05-07 23:02:03.110 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.CONFIGURATION_FILE_IS_READ_ONLY=true
2015-05-07 23:02:03.110 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() org.jitsi.jicofo.FOCUS_USER_DOMAIN=auth.133.130.49.119
2015-05-07 23:02:03.111 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.library.path=/usr/share/jicofo/lib/native/linux-64
2015-05-07 23:02:03.111 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.specification.name=Java Platform API Specification
2015-05-07 23:02:03.111 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.class.version=51.0
2015-05-07 23:02:03.111 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.service.gui.ALWAYS_TRUST_MODE_ENABLED=true
2015-05-07 23:02:03.111 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() org.jitsi.service.audionotifier.AudioNotifierService=org.jitsi.impl.neomedia.notify.AudioNotifierServiceImpl
2015-05-07 23:02:03.111 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.management.compiler=HotSpot 64-Bit Tiered Compilers
2015-05-07 23:02:03.112 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() os.version=3.16.0-36-generic
2015-05-07 23:02:03.112 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() user.home=/usr/share/jicofo
2015-05-07 23:02:03.112 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() user.timezone=Asia/Tokyo
2015-05-07 23:02:03.112 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.awt.printerjob=sun.print.PSPrinterJob
2015-05-07 23:02:03.112 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() org.jitsi.jicofo.FOCUS_USER_NAME=focus
2015-05-07 23:02:03.112 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() file.encoding=ANSI_X3.4-1968
2015-05-07 23:02:03.112 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.specification.version=1.7
2015-05-07 23:02:03.113 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.service.media.DISABLE_VIDEO_SUPPORT=true
2015-05-07 23:02:03.113 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() org.jitsi.jicofo.XMPP_DOMAIN=133.130.49.119
2015-05-07 23:02:03.113 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.class.path=/usr/share/jicofo/jicofo.jar:/usr/share/jicofo/lib/bccontrib.jar:/usr/share/jicofo/lib/bcpkix-jdk15on-151.jar:/usr/share/jicofo/lib/bouncycastle.jar:/usr/share/jicofo/lib/commons-logging-1.2.jar:/usr/share/jicofo/lib/concurrentlinkedhashmap-lru.jar:/usr/share/jicofo/lib/configuration.jar:/usr/share/jicofo/lib/credentialsstorage.jar:/usr/share/jicofo/lib/dns.jar:/usr/share/jicofo/lib/dnsservice.jar:/usr/share/jicofo/lib/dom4j.jar:/usr/share/jicofo/lib/fmj.jar:/usr/share/jicofo/lib/hexdump-0.2.jar:/usr/share/jicofo/lib/httpclient-4.0.1.jar:/usr/share/jicofo/lib/httpcore-4.0.1.jar:/usr/share/jicofo/lib/ice4j.jar:/usr/share/jicofo/lib/jetty-ajp-8.1.16.v20140903.jar:/usr/share/jicofo/lib/jetty-continuation-8.1.16.v20140903.jar:/usr/share/jicofo/lib/jetty-http-8.1.16.v20140903.jar:/usr/share/jicofo/lib/jetty-io-8.1.16.v20140903.jar:/usr/share/jicofo/lib/jetty-server-8.1.16.v20140903.jar:/usr/share/jicofo/lib/jetty-util-8.1.16.v20140903.jar:/usr/share/jicofo/lib/jitsi-android-osgi.jar:/usr/share/jicofo/lib/jitsi-videobridge.jar:/usr/share/jicofo/lib/jna.jar:/usr/share/jicofo/lib/json.jar:/usr/share/jicofo/lib/libdbus-java-2.7.jar:/usr/share/jicofo/lib/libidn.jar:/usr/share/jicofo/lib/libjitsi.jar:/usr/share/jicofo/lib/netaddr.jar:/usr/share/jicofo/lib/osgi.core.jar:/usr/share/jicofo/lib/protocol-jabber.jar:/usr/share/jicofo/lib/protocol-media.jar:/usr/share/jicofo/lib/protocol.jar:/usr/share/jicofo/lib/servlet-api-3.1.jar:/usr/share/jicofo/lib/slf4j-api.jar:/usr/share/jicofo/lib/slf4j-jdk14-1.7.7.jar:/usr/share/jicofo/lib/smack.jar:/usr/share/jicofo/lib/smackx.jar:/usr/share/jicofo/lib/sysactivitynotifications.jar:/usr/share/jicofo/lib/tinder.jar:/usr/share/jicofo/lib/ui-service.jar:/usr/share/jicofo/lib/unix-0.5.jar:/usr/share/jicofo/lib/util.jar:/usr/share/jicofo/lib/weupnp-0.1.2-SNAPSHOT.jar:/usr/share/jicofo/lib/whack.jar:/usr/share/jicofo/lib/xpp3.jar:/usr/share/jicofo/lib/zrtp4j.jar
2015-05-07 23:02:03.113 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() user.name=jicofo
2015-05-07 23:02:03.113 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.vm.specification.version=1.7
2015-05-07 23:02:03.113 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.java.command=org.jitsi.jicofo.Main --host=localhost --domain=133.130.49.119 --port=5347 --secret=2WOHKrTt --user_domain=auth.133.130.49.119 --user_password=LyiAn6n#
2015-05-07 23:02:03.114 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.home=/usr/lib/jvm/java-7-openjdk-amd64/jre
2015-05-07 23:02:03.114 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.arch.data.model=64
2015-05-07 23:02:03.114 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() user.language=en
2015-05-07 23:02:03.114 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.specification.vendor=Oracle Corporation
2015-05-07 23:02:03.114 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() awt.toolkit=sun.awt.X11.XToolkit
2015-05-07 23:02:03.114 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.vm.info=mixed mode
2015-05-07 23:02:03.114 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.version=1.7.0_79
2015-05-07 23:02:03.115 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.ext.dirs=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext:/usr/java/packages/lib/ext
2015-05-07 23:02:03.135 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.boot.class.path=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rhino.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/classes
2015-05-07 23:02:03.136 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.awt.headless=true
2015-05-07 23:02:03.138 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.vendor=Oracle Corporation
2015-05-07 23:02:03.138 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() file.separator=/
2015-05-07 23:02:03.138 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.vendor.url.bug=http://bugreport.sun.com/bugreport/
2015-05-07 23:02:03.138 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.io.unicode.encoding=UnicodeLittle
2015-05-07 23:02:03.138 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.cpu.endian=little
2015-05-07 23:02:03.139 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() org.jitsi.impl.neomedia.transform.srtp.SRTPCryptoContext.checkReplay=false
2015-05-07 23:02:03.139 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.cpu.isalist=
2015-05-07 23:02:03.139 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() Normal classloader
2015-05-07 23:02:03.140 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() failed to find jitsi-defaults.properties with class loader, will continue without it.
2015-05-07 23:02:03.140 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() Normal classloader
2015-05-07 23:02:03.140 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() failed to find jitsi-default-overrides.properties with class loader, will continue without it.
2015-05-07 23:02:03.245 INFO: [9] impl.netaddr.NetworkAddressManagerServiceImpl.start().81 Network Address Manager ...[ STARTED ]
2015-05-07 23:02:03.245 INFO: [9] impl.netaddr.NetworkAddressManagerServiceImpl.start().87 Network Address Manager Service ...[REGISTERED]
2015-05-07 23:02:03.440 INFO: [9] org.jitsi.jicofo.auth.AuthBundleActivator.start().144 Starting authentication service... URL: XMPP:133.130.49.119
2015-05-07 23:02:03.442 INFO: [9] org.jitsi.jicofo.auth.AbstractAuthAuthority.<init>().107 Authentication lifetime: 86400000
2015-05-07 23:02:03.443 INFO: [9] org.jitsi.jicofo.auth.AuthBundleActivator.start().157 Auth authority: org.jitsi.jicofo.auth.XMPPDomainAuthAuthority@19057e1c
2015-05-07 23:02:03.482 SEVERE: [1] org.jitsi.jicofo.Main.main().257 org.xmpp.component.ComponentException: java.net.ConnectException: Connection refused
org.xmpp.component.ComponentException: java.net.ConnectException: Connection refused
    at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:272)
    at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:221)
    at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:201)
    at org.jitsi.jicofo.Main.main(Main.java:253)
Caused by: java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:579)
    at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:151)
    ... 3 more
2015-05-07 23:02:03.525 SEVERE: [1] util.UtilActivator.uncaughtException().108 An uncaught exception occurred in thread=Thread[main,5,main] and message was: null
java.lang.NullPointerException
    at org.xmpp.component.AbstractComponent.closeQueue(AbstractComponent.java:893)
    at org.xmpp.component.AbstractComponent.shutdown(AbstractComponent.java:875)
    at org.jitsi.jicofo.Main.main(Main.java:279)
2015-05-07 23:02:03.602 SEVERE: [16] org.jitsi.jicofo.util.RegisterThread.run().42 net.java.sip.communicator.service.protocol.OperationFailedException: Failed to connect
net.java.sip.communicator.service.protocol.OperationFailedException: Failed to connect
    at org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.register(XmppProtocolProvider.java:171)
    at org.jitsi.jicofo.util.RegisterThread.run(RegisterThread.java:38)
Caused by: XMPPError connecting to localhost:5222.: remote-server-error(502) XMPPError connecting to localhost:5222.
  -- caused by: java.net.ConnectException: Connection refused
    at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:529)
    at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:968)
    at org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.register(XmppProtocolProvider.java:153)
    ... 1 more

···

-----------------------------------------------------------------------------------------------------------------------------
( from jvb.log )
2015-05-07 23:02:02.655 INFO: [9] org.jitsi.service.libjitsi.LibJitsi.info() Successfully started LibJitsi using as implementation: org.jitsi.impl.libjitsi.LibJitsiOSGiImpl
2015-05-07 23:02:02.686 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.runtime.name=OpenJDK Runtime Environment
2015-05-07 23:02:02.686 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() org.jitsi.videobridge.xmpp=true
2015-05-07 23:02:02.686 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.boot.library.path=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64
2015-05-07 23:02:02.687 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.vm.version=24.79-b02
2015-05-07 23:02:02.687 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.impl.neomedia.video.maxbandwidth=2147483647
2015-05-07 23:02:02.687 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.vm.vendor=Oracle Corporation
2015-05-07 23:02:02.687 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.vendor.url=http://java.oracle.com/
2015-05-07 23:02:02.688 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.service.media.MAX_PORT_NUMBER=20000
2015-05-07 23:02:02.688 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() path.separator=:
2015-05-07 23:02:02.688 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.util.logging.config.file=/usr/share/jitsi-videobridge/lib/logging.properties
2015-05-07 23:02:02.688 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.vm.name=OpenJDK 64-Bit Server VM
2015-05-07 23:02:02.688 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() file.encoding.pkg=sun.io
2015-05-07 23:02:02.689 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() user.country=US
2015-05-07 23:02:02.689 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.java.launcher=SUN_STANDARD
2015-05-07 23:02:02.689 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.os.patch.level=unknown
2015-05-07 23:02:02.689 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.service.media.DISABLE_AUDIO_SUPPORT=true
2015-05-07 23:02:02.689 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() org.jitsi.impl.neomedia.transform.csrc.SsrcTransformEngine.dropMutedAudioSourceInReverseTransform=true
2015-05-07 23:02:02.690 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.vm.specification.name=Java Virtual Machine Specification
2015-05-07 23:02:02.690 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() user.dir=/
2015-05-07 23:02:02.690 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.runtime.version=1.7.0_79-b14
2015-05-07 23:02:02.690 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
2015-05-07 23:02:02.690 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.endorsed.dirs=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/endorsed
2015-05-07 23:02:02.691 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() os.arch=amd64
2015-05-07 23:02:02.691 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.io.tmpdir=/tmp
2015-05-07 23:02:02.691 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() line.separator=

2015-05-07 23:02:02.691 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.vm.specification.vendor=Oracle Corporation
2015-05-07 23:02:02.692 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() os.name=Linux
2015-05-07 23:02:02.692 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.service.protocol.MIN_MEDIA_PORT_NUMBER=10000
2015-05-07 23:02:02.692 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.jnu.encoding=ANSI_X3.4-1968
2015-05-07 23:02:02.692 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.CONFIGURATION_FILE_IS_READ_ONLY=true
2015-05-07 23:02:02.692 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.library.path=/usr/share/jitsi-videobridge/lib/native/linux-64
2015-05-07 23:02:02.693 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.specification.name=Java Platform API Specification
2015-05-07 23:02:02.693 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.class.version=51.0
2015-05-07 23:02:02.693 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() org.jitsi.service.audionotifier.AudioNotifierService=org.jitsi.impl.neomedia.notify.AudioNotifierServiceImpl
2015-05-07 23:02:02.693 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() org.jitsi.videobridge.rest=false
2015-05-07 23:02:02.693 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.management.compiler=HotSpot 64-Bit Tiered Compilers
2015-05-07 23:02:02.694 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() os.version=3.16.0-36-generic
2015-05-07 23:02:02.694 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() user.home=/usr/share/jitsi-videobridge
2015-05-07 23:02:02.694 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() user.timezone=Asia/Tokyo
2015-05-07 23:02:02.694 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.awt.printerjob=sun.print.PSPrinterJob
2015-05-07 23:02:02.695 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() file.encoding=ANSI_X3.4-1968
2015-05-07 23:02:02.695 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.specification.version=1.7
2015-05-07 23:02:02.695 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.service.media.DISABLE_VIDEO_SUPPORT=true
2015-05-07 23:02:02.695 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.class.path=/usr/share/jitsi-videobridge/jitsi-videobridge.jar:/usr/share/jitsi-videobridge/lib/bccontrib.jar:/usr/share/jitsi-videobridge/lib/bcpkix-jdk15on-151.jar:/usr/share/jitsi-videobridge/lib/bouncycastle.jar:/usr/share/jitsi-videobridge/lib/concurrentlinkedhashmap-lru.jar:/usr/share/jitsi-videobridge/lib/configuration.jar:/usr/share/jitsi-videobridge/lib/dnsservice.jar:/usr/share/jitsi-videobridge/lib/dom4j.jar:/usr/share/jitsi-videobridge/lib/fileaccess.jar:/usr/share/jitsi-videobridge/lib/fmj.jar:/usr/share/jitsi-videobridge/lib/ice4j.jar:/usr/share/jitsi-videobridge/lib/jetty-client-9.2.10.v20150310.jar:/usr/share/jitsi-videobridge/lib/jetty-http-9.2.10.v20150310.jar:/usr/share/jitsi-videobridge/lib/jetty-io-9.2.10.v20150310.jar:/usr/share/jitsi-videobridge/lib/jetty-proxy-9.2.10.v20150310.jar:/usr/share/jitsi-videobridge/lib/jetty-rewrite-9.2.10.v20150310.jar:/usr/share/jitsi-videobridge/lib/jetty-security-9.2.10.v20150310.jar:/usr/share/jitsi-videobridge/lib/jetty-server-9.2.10.v20150310.jar:/usr/share/jitsi-videobridge/lib/jetty-servlet-9.2.10.v20150310.jar:/usr/share/jitsi-videobridge/lib/jetty-util-9.2.10.v20150310.jar:/usr/share/jitsi-videobridge/lib/jitsi-android-osgi.jar:/usr/share/jitsi-videobridge/lib/jitsi-lgpl-dependencies.jar:/usr/share/jitsi-videobridge/lib/jna.jar:/usr/share/jitsi-videobridge/lib/json.jar:/usr/share/jitsi-videobridge/lib/libidn.jar:/usr/share/jitsi-videobridge/lib/libjitsi.jar:/usr/share/jitsi-videobridge/lib/netaddr.jar:/usr/share/jitsi-videobridge/lib/osgi.core.jar:/usr/share/jitsi-videobridge/lib/packetlogging.jar:/usr/share/jitsi-videobridge/lib/protocol-jabber.jar:/usr/share/jitsi-videobridge/lib/protocol-media.jar:/usr/share/jitsi-videobridge/lib/protocol.jar:/usr/share/jitsi-videobridge/lib/resourcemanager.jar:/usr/share/jitsi-videobridge/lib/servlet-api-3.1.jar:/usr/share/jitsi-videobridge/lib/sigar.jar:/usr/share/jitsi-videobridge/lib/slf4j-api.jar:/usr/share/jitsi-videobridge/lib/slf4j-jdk14-1.7.7.jar:/usr/share/jitsi-videobridge/lib/smack.jar:/usr/share/jitsi-videobridge/lib/smackx.jar:/usr/share/jitsi-videobridge/lib/tinder.jar:/usr/share/jitsi-videobridge/lib/ui-service.jar:/usr/share/jitsi-videobridge/lib/util.jar:/usr/share/jitsi-videobridge/lib/weupnp-0.1.2-SNAPSHOT.jar:/usr/share/jitsi-videobridge/lib/whack.jar:/usr/share/jitsi-videobridge/lib/xpp3.jar:/usr/share/jitsi-videobridge/lib/zrtp4j.jar
2015-05-07 23:02:02.695 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() user.name=jvb
2015-05-07 23:02:02.699 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() org.jitsi.service.neomedia.AudioMediaStream.DISABLE_DTMF_HANDLING=true
2015-05-07 23:02:02.699 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.vm.specification.version=1.7
2015-05-07 23:02:02.700 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() org.ice4j.ice.harvest.DISABLE_LINK_LOCAL_ADDRESSES=true
2015-05-07 23:02:02.700 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.java.command=org.jitsi.videobridge.Main --host=localhost --domain=133.130.49.119 --port=5347 --secret=E#4M5z0t
2015-05-07 23:02:02.700 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.home=/usr/lib/jvm/java-7-openjdk-amd64/jre
2015-05-07 23:02:02.700 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.arch.data.model=64
2015-05-07 23:02:02.700 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() user.language=en
2015-05-07 23:02:02.701 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.specification.vendor=Oracle Corporation
2015-05-07 23:02:02.701 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() awt.toolkit=sun.awt.X11.XToolkit
2015-05-07 23:02:02.710 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.vm.info=mixed mode
2015-05-07 23:02:02.710 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.version=1.7.0_79
2015-05-07 23:02:02.711 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.ext.dirs=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext:/usr/java/packages/lib/ext
2015-05-07 23:02:02.711 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.boot.class.path=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rhino.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/classes
2015-05-07 23:02:02.711 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.awt.headless=true
2015-05-07 23:02:02.711 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.vendor=Oracle Corporation
2015-05-07 23:02:02.711 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() file.separator=/
2015-05-07 23:02:02.711 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.vendor.url.bug=http://bugreport.sun.com/bugreport/
2015-05-07 23:02:02.712 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.io.unicode.encoding=UnicodeLittle
2015-05-07 23:02:02.712 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.cpu.endian=little
2015-05-07 23:02:02.712 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() org.jitsi.impl.neomedia.transform.srtp.SRTPCryptoContext.checkReplay=false
2015-05-07 23:02:02.712 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.service.media.MIN_PORT_NUMBER=10000
2015-05-07 23:02:02.712 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.service.protocol.MAX_MEDIA_PORT_NUMBER=20000
2015-05-07 23:02:02.713 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() sun.cpu.isalist=
2015-05-07 23:02:02.713 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() Normal classloader
2015-05-07 23:02:02.713 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() failed to find jitsi-defaults.properties with class loader, will continue without it.
2015-05-07 23:02:02.714 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() Normal classloader
2015-05-07 23:02:02.714 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() failed to find jitsi-default-overrides.properties with class loader, will continue without it.
2015-05-07 23:02:02.812 INFO: [9] impl.resources.ResourceManagementActivator.start().70 Resource manager STARTED
2015-05-07 23:02:02.816 INFO: [9] impl.resources.ResourceManagementActivator.start().79 Resource manager REGISTERED
2015-05-07 23:02:02.851 INFO: [9] impl.netaddr.NetworkAddressManagerServiceImpl.start().81 Network Address Manager ...[ STARTED ]
2015-05-07 23:02:02.851 INFO: [9] impl.netaddr.NetworkAddressManagerServiceImpl.start().87 Network Address Manager Service ...[REGISTERED]
2015-05-07 23:02:02.855 INFO: [9] impl.packetlogging.PacketLoggingActivator.start().89 Packet Logging Service ...[REGISTERED]
2015-05-07 23:02:02.864 INFO: [9] org.jitsi.videobridge.metrics.MetricLoggingHandler.info() Metric services enabled: 0
2015-05-07 23:02:03.137 INFO: [9] org.jitsi.videobridge.version.VersionActivator.start().67 Jitsi Videobridge Version: JVB 0.1.461
2015-05-07 23:02:03.156 INFO: [9] org.jitsi.videobridge.osgi.OSGiBundleActivator.info() net.java.sip.communicator.SC_HOME_DIR_NAME=.sip-communicator
2015-05-07 23:02:03.156 INFO: [9] org.jitsi.videobridge.osgi.OSGiBundleActivator.info() net.java.sip.communicator.SC_HOME_DIR_LOCATION=/usr/share/jitsi-videobridge
2015-05-07 23:02:03.215 SEVERE: [1] util.UtilActivator.uncaughtException().108 An uncaught exception occurred in thread=Thread[main,5,main] and message was: java.net.ConnectException: Connection refused
org.xmpp.component.ComponentException: java.net.ConnectException: Connection refused
    at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:272)
    at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:221)
    at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:201)
    at org.jitsi.videobridge.Main.main(Main.java:273)
Caused by: java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:579)
    at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:151)
    ... 3 more

----------------------------------------------------------------------------------------------------------------------------------
( from prosody.log )
Jun 07 23:00:51 mod_posix warn Received SIGTERM
Jun 07 23:00:51 general info Shutting down: Received SIGTERM
Jun 07 23:00:51 general info Shutting down...
Jun 07 23:00:51 general info Shutdown status: Cleaning up
Jun 07 23:00:51 general info Shutdown complete
Jun 07 23:02:02 general info Hello and welcome to Prosody version 0.9.1
Jun 07 23:02:02 general info Prosody is using the select backend for connection handling
Jun 07 23:02:04 portmanager info Activated service 'http' on [::]:5280, [*]:5280
Jun 07 23:02:04 portmanager info Activated service 'https' on [::]:5281, [*]:5281
Jun 07 23:02:04 portmanager info Activated service 'c2s' on [::]:5222, [*]:5222
Jun 07 23:02:04 portmanager info Activated service 'legacy_ssl' on no ports
Jun 07 23:02:04 portmanager info Activated service 's2s' on [::]:5269, [*]:5269
Jun 07 23:02:04 mod_posix info Prosody is about to detach from the console, disabling further console output
Jun 07 23:02:04 mod_posix info Successfully daemonized to PID 1389
Jun 07 23:02:04 portmanager info Activated service 'component' on [127.0.0.1]:5347, [::1]:5347
Jun 07 23:22:26 mod_bosh info New BOSH session, assigned it sid '0d43064b-cf6b-4e00-8172-144e4b77ad26'
Jun 07 23:22:26 bosh0d43064b-cf6b-4e00-8172-144e4b77ad26 info BOSH client disconnected
Jun 07 23:22:40 mod_bosh info New BOSH session, assigned it sid 'a09d250d-c260-4c72-8f49-4f56b533ae2e'
Jun 07 23:22:41 bosha09d250d-c260-4c72-8f49-4f56b533ae2e info Authenticated as fabio@133.130.49.119
Jun 07 23:22:42 focus.133.130.49.119:component warn Component not connected, bouncing error for: <iq id='1:sendIQ' type='set' to='focus.133.130.49.119' from='fabio@133.130.49.119/c905ef6f-aa14-42f3-8cdf-85e926459ebc'>
Jun 07 23:22:43 focus.133.130.49.119:component warn Component not connected, bouncing error for: <iq id='2:sendIQ' type='set' to='focus.133.130.49.119' from='fabio@133.130.49.119/c905ef6f-aa14-42f3-8cdf-85e926459ebc'>
Jun 07 23:22:46 focus.133.130.49.119:component warn Component not connected, bouncing error for: <iq id='3:sendIQ' type='set' to='focus.133.130.49.119' from='fabio@133.130.49.119/c905ef6f-aa14-42f3-8cdf-85e926459ebc'>
Jun 07 23:22:50 focus.133.130.49.119:component warn Component not connected, bouncing error for: <iq id='4:sendIQ' type='set' to='focus.133.130.49.119' from='fabio@133.130.49.119/c905ef6f-aa14-42f3-8cdf-85e926459ebc'>
Jun 07 23:22:59 focus.133.130.49.119:component warn Component not connected, bouncing error for: <iq id='5:sendIQ' type='set' to='focus.133.130.49.119' from='fabio@133.130.49.119/c905ef6f-aa14-42f3-8cdf-85e926459ebc'>
Jun 07 23:23:15 focus.133.130.49.119:component warn Component not connected, bouncing error for: <iq id='6:sendIQ' type='set' to='focus.133.130.49.119' from='fabio@133.130.49.119/c905ef6f-aa14-42f3-8cdf-85e926459ebc'>
Jun 07 23:23:47 focus.133.130.49.119:component warn Component not connected, bouncing error for: <iq id='7:sendIQ' type='set' to='focus.133.130.49.119' from='fabio@133.130.49.119/c905ef6f-aa14-42f3-8cdf-85e926459ebc'>
Jun 07 23:24:00 s2sout1973720 info Out of connection options, can't connect to null
Jun 07 23:24:00 s2sout1973720 info sending error replies for 1 queued stanzas because of failed outgoing connection to null
Jun 07 23:24:11 bosha09d250d-c260-4c72-8f49-4f56b533ae2e info BOSH client disconnected

Cheer ~~~

Su

At 2015-06-07 20:11:13,"Boris Grozev" <boris@jitsi.org> wrote:

On June 7, 2015 6:35:01 AM EEST, su <su_cj81@163.com> wrote:

Hi , Boris :

Thanks for your hints :slight_smile: Authentication for all users is just what I
need.

According to /etc/jitsi/jicofo/config , I added focus account to my
sql. After that , it seemed jicofo is satisfied for both jicofo.log ,
jvb.log and prosody.err keep still . No change in these log files in
my current tests.
As for the prosody.log , the errors/warings still pop up as before.
After the first user created the room , the message " focus not
availbale " appears at the first user's screen.

Should I add the other account ( jvb , muc ...) to my sql ?

These should be configured in prosody's config files, not in mysql. Check (and/or post here) jicofo.log for hints as to why the "focus not available" message is printed.

Regards,
Boris

Cheers ~~~~

Su

At 2015-06-07 02:56:50, "Boris Grozev" <boris@jitsi.org> wrote:

On June 6, 2015 8:51:15 PM EEST, su <su_cj81@163.com> wrote:

( from console.log )
Synchronous XMLHttpRequest on the main thread is deprecated because

of

its detrimental effects to the end user's experience. For more help,
check http://xhr.spec.whatwg.org/.
init
This appears to be Chrome
Strophe status changed to CONNECTING null
Using Chrome extension for desktop sharing
Chrome versionmozilla/5.0 (x11; linux x86_64) applewebkit/537.36
(khtml, like gecko) chrome/43.0.2357.81 safari/537.36 43
Extension not installed?: Object {message: "Could not establish
connection. Receiving end does not exist."}
Chrome extension installed: false updateRequired: false
onUserMediaSuccess
got MediaStream {} 1 1
'webkitURL' is deprecated. Please use 'URL' instead.
hover in
blob:https%3A//133.130.49.119/2817aff5-8597-4549-bf58-91ae842cd264

null

Strophe status changed to CONNFAIL x-strophe-bad-non-anon-jid
Strophe status changed to DISCONNECTING x-strophe-bad-non-anon-jid
GET
https://www.gravatar.com/avatar/87291c37c25be69a072a4514931b1749?d=wavatar&size=30
net::ERR_SSL_PROTOCOL_ERROR
Strophe status changed to DISCONNECTED null
password is required
Strophe status changed to CONNECTING null
Strophe status changed to CONNECTED null
My Jabber ID:

fabio@133.130.49.119/5c86fbe0-6808-468e-a791-7081bc74e691

Focus jid set to: undefined
Session ID: null machine UID: a0aa47419f1c2418323b760ae3201e76
Focus error, retry after 1000 <iq

xmlns=<U+200B>"jabber:<U+200B>client"

type=<U+200B>"error"
to=<U+200B>"fabio@133.130.49.119/<U+200B>5c86fbe0-6808-468e-a791-7081bc74e691"
from=<U+200B>"focus.133.130.49.119"
id=<U+200B>"1:<U+200B>sendIQ"><U+200B>…<U+200B></iq><U+200B>
Focus jid set to: undefined
Session ID: null machine UID: a0aa47419f1c2418323b760ae3201e76
Focus error, retry after 2000 <iq

xmlns=<U+200B>"jabber:<U+200B>client"

type=<U+200B>"error"
to=<U+200B>"fabio@133.130.49.119/<U+200B>5c86fbe0-6808-468e-a791-7081bc74e691"
from=<U+200B>"focus.133.130.49.119"
id=<U+200B>"2:<U+200B>sendIQ"><U+200B>…<U+200B></iq><U+200B>
Focus jid set to: undefined
Session ID: null machine UID: a0aa47419f1c2418323b760ae3201e76
Focus error, retry after 4000 <iq

xmlns=<U+200B>"jabber:<U+200B>client"

type=<U+200B>"error"
to=<U+200B>"fabio@133.130.49.119/<U+200B>5c86fbe0-6808-468e-a791-7081bc74e691"
from=<U+200B>"focus.133.130.49.119"
id=<U+200B>"3:<U+200B>sendIQ"><U+200B>…<U+200B></iq><U+200B>
Focus jid set to: undefined

====================================================================

Further analysis reveals that the first error is here :

( From prosody.log )
focus.133.130.49.119:component warn Component not connected,
bouncing error for: <iq id='1:sendIQ' type='set'
to='focus.133.130.49.119'
from='fabio@133.130.49.119/6eb5bcf1-5219-4e06-a76a-ec8c8daad167'>

( from meetlog.json )

[
            1433605265373,
            "outgoing",
"<body rid='3653342801' xmlns='http://jabber.org/protocol/httpbind'
sid='da3dbfd8-5c35-44bd-8801-4d0dfd59ac83'><iq to='fo
cus.133.130.49.119' type='set' xmlns='jabber:client'
id='1:sendIQ'><conference xmlns='http://jitsi.org/protocol/focus'
room='1234
56@conference.133.130.49.119'
machine-uid='a0aa47419f1c2418323b760ae3201e76'><property

name='bridge'

value='jitsi-videobridge.133 90 .130.49.119'/><property
name='channelLastN' value='-1'/><property name='adaptiveLastN'
value='false'/><property name='adaptiveSim 90 ulcast'
value='false'/><property name='openSctp'
value='true'/></conference></iq></body>"
          ],
          [
            1433605265561,
            "incoming",
"<body xmlns:stream='http://etherx.jabber.org/streams'
xmlns='http://jabber.org/protocol/httpbind' sid='da3dbfd8-5c35-44b

95 d-8801-4d0dfd59ac83'><iq xmlns='jabber:client' type='error'
to='fabio@133.130.49.119/6eb5bcf1-5219-4e06-a76a-ec8c8daad167' from='

95 focus.133.130.49.119' id='1:sendIQ'><error
type='wait'><service-unavailable
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text xm 95
lns='urn:ietf:params:xml:ns:xmpp-stanzas'>Component
unavailable</text></error></iq></body>"
          ],

I had no idea on the protocol ( http://jitsi.org/protocol/focus ???
what is this ?? ) . Please kindly advise me . Thankyou very much !

Su


#8

Hi , Boris :

After I rebooted the vps server , both jicofo.log and jvb.log began to
update again . ( weird .... )

( from jicofo.log )

[snip]

sun.java.command=org.jitsi.jicofo.Main --host=localhost
--domain=133.130.49.119 --port=5347 --secret=2WOHKrTt
--user_domain=auth.133.130.49.119 --user_password=LyiAn6n#

[snip]

2015-05-07 23:02:03.482 SEVERE: [1] org.jitsi.jicofo.Main.main().257
org.xmpp.component.ComponentException: java.net.ConnectException:
Connection refused

[snip]

Jun 07 23:02:04 portmanager info Activated service 'component' on
[127.0.0.1]:5347, [::1]:5347

You can try to use --host=127.0.0.1 for jicofo, in case localhost resolves to something else. Also verify that prosody is indeed listening on the port (by e.g. telnet 127.0.0.1 5347).

You might also want to change the passwords.

Regards,
Boris

···

On 07/06/15 18:31, su wrote:


#9

Hello there.. this issue has happened to me several times, normally after an upgrade of the jitsi-videobridge package. It can be solved quickly just restarting the jicofo and jitsi-videobridge services.

Cheers

···

El 2015-06-07 21:15, Boris Grozev escribió:

On 07/06/15 18:31, su wrote:

Hi , Boris :

After I rebooted the vps server , both jicofo.log and jvb.log began to
update again . ( weird .... )

( from jicofo.log )

[snip]

sun.java.command=org.jitsi.jicofo.Main --host=localhost
--domain=133.130.49.119 --port=5347 --secret=2WOHKrTt
--user_domain=auth.133.130.49.119 --user_password=LyiAn6n#

[snip]

2015-05-07 23:02:03.482 SEVERE: [1] org.jitsi.jicofo.Main.main().257
org.xmpp.component.ComponentException: java.net.ConnectException:
Connection refused

[snip]

Jun 07 23:02:04 portmanager info Activated service 'component' on
[127.0.0.1]:5347, [::1]:5347

You can try to use --host=127.0.0.1 for jicofo, in case localhost
resolves to something else. Also verify that prosody is indeed
listening on the port (by e.g. telnet 127.0.0.1 5347).

You might also want to change the passwords.

Regards,
Boris

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users