[jitsi-dev] error to start a conference room with secure domain


#1

Hi !
First post here, I hope it's the right place.

I post to dev, because I have done lot of tests, and I need help.

I use jitsi-meet from source, jicofo and videobridge from nightly build (I have encourter a null java error fixed recently in jicofo)

I use Apache instead of nginx - apache vhost is at the end of this mail -

All works fine with the anonymous (default) settings, but...

I follow the manual installation guide for jitsi meet, and the secure domain guide of jicofo

When I try to open a new room, I have the credentials windows, I use the focus creds, but I can't have a conference :

The error on the auth windows is :

Get id session error : undefined

the error on the firefox console (tested also with chromium)

Auth on the fly failed <iq id="20e60667-daa4-43d4-8789-3abbdf8f6364:sendIQ" type="error" to="focus@auth.conference.example.com/9f7c63c0-512b-41c6-900e-4864656da885" from="focus.conference.example.com" xmlns="jabber:client">

In the prosody log, I have this wired line, but I'm not sure if it's related :
*debug BOSH session marked as inactive (for 60s)*

Complete log sequence :

Sep 27 18:30:18 socket debug server.lua: auto-starting ssl negotiation...
Sep 27 18:30:18 socket debug server.lua: attempting to start tls on tcp{client}: 0x2dd4de8
Sep 27 18:30:18 socket debug server.lua: accepted new client connection from xxx.xxx.xxx.xxx:49364 to 5281
Sep 27 18:30:18 socket debug server.lua: ssl handshake done
Sep 27 18:30:18 mod_bosh debug Handling new request table: 0x2d558e0: <body rid='29554595' xmlns='http://jabber.org/protocol/httpbind' sid='6f3c872d-1f3b-4249-9e92-8dbdacedd509'><iq to='focus.conference.example.com' type='set' xmlns='jabber:client' id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'><conference xmlns='http://jitsi.org/protocol/focus' room='test@conference.conference.example.com' machine-uid='cfbc8b3c403ea75ecf44c2c340c5ef7d'><property name='channelLastN' value='-1'/><property name='adaptiveLastN' value='false'/><property name='disableRtx' value='true'/><property name='enableLipSync' value='true'/><property name='openSctp' value='true'/><property name='simulcastMode' value='rewriting'/></conference></iq></body>
----------
Sep 27 18:30:18 mod_bosh debug BOSH body open (sid: 6f3c872d-1f3b-4249-9e92-8dbdacedd509)
Sep 27 18:30:18 mod_bosh debug BOSH stanza received: <iq id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='set' to='focus.conference.example.com'>

Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug Received[c2s]: <iq id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='set' to='focus.conference.example.com'>
Sep 27 18:30:18 mod_bosh debug Session 6f3c872d-1f3b-4249-9e92-8dbdacedd509 has 2 out of 1 requests open
Sep 27 18:30:18 mod_bosh debug and there are 0 things in the send_buffer:
Sep 27 18:30:18 mod_bosh debug We are holding too many requests, so...
Sep 27 18:30:18 mod_bosh debug ...sending an empty response
Sep 27 18:30:18 mod_bosh debug We have an open request, so sending on that
Sep 27 18:30:18 mod_bosh debug Request destroyed: table: 0x2bcd080
Sep 27 18:30:18 socket debug server.lua: closed client handler and removed socket from list
Sep 27 18:30:18 mod_bosh debug Have nothing to say, so leaving request unanswered for now
Sep 27 18:30:18 jcp2a8a360 debug Received[component]: <iq id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='error' to='9ae1a918-8a1b-4b13-ba56-207db63999ba@support.conference.example.com/2dc20dc8-5191-493b-ab13-748dafdf994c' from='focus.conference.example.com'>
Sep 27 18:30:18 mod_bosh debug We have an open request, so sending on that
Sep 27 18:30:18 mod_bosh debug Request destroyed: table: 0x2adbf20
Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 *debug BOSH session marked as inactive (for 60s)*
Sep 27 18:30:18 socket debug server.lua: closed client handler and removed socket from list

I need at least to have this working, and I'm stuck, have you some ideas ?
jitsi meet is really good ! I'll be glad is I can have this working :slight_smile:

Config files :

(I have tried with and without cross domain and consider bosh secure)

cross_domain_bosh = true
consider_bosh_secure = true

VirtualHost "conference.example.com"
    authentication = "internal_plain"
    --authentication = "anonymous"
    --authentication = "sql"

VirtualHost "support.conference.example.com"
    authentication = "anonymous"

VirtualHost "auth.conference.example.com"
    authentication = "internal_plain"

admins = { "focus@auth.conference.example.com" }

Component "conference.conference.example.com" "muc"
Component "jitsi-videobridge.conference.example.com"
        component_secret = "secret"
Component "focus.conference.example.com"
        component_secret = "secret"

In jicofo

/etc/jitsi/jicofo/sip-communicator.properties
org.jitsi.jicofo.auth.URL=XMPP:conference.example.com

Apache:

···

<VirtualHost *:80>
    ServerName conference.example.com

    DocumentRoot "/var/www/srv/2/conference.example.com"

    SSLProxyEngine On
    RewriteEngine On
    RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+$
    RewriteRule ^/(.*)$ / [PT]
    RewriteRule ^/http-bind$ https://conference.example.com:5281/http-bind [P,L]

</Virtualhost>

<VirtualHost *:443>
    ServerName conference.example.com

    DocumentRoot "/var/www/srv/2/conference.example.com"

    SSLProxyEngine On
    SSLEngine on
    SSLCertificateFile /etc/apache2/ssl/ca.crt
    SSLCertificateKeyFile /etc/apache2/ssl/ca.key

    RewriteEngine On
    RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+$
    RewriteRule ^/(.*)$ / [PT]
    RewriteRule ^/http-bind$ https://conference.example.com:5281/http-bind [P,L]

</Virtualhost>


#2

Hi,

Maybe you have problems with the bosh connection. I'm not sure, but I
think your config is not equal to the one used for nginx:
https://github.com/jitsi/jitsi-meet/blob/master/doc/debian/jitsi-meet/jitsi-meet.example#L42
Nginx is actually proxying the connection and setting some headers,
not sure whether this apache rewrites are the same, you can check
that.

Regards
damencho

···

On Tue, Sep 27, 2016 at 11:53 AM, Nicolas <nicolas@kaizendo.fr> wrote:

Hi !
First post here, I hope it's the right place.

I post to dev, because I have done lot of tests, and I need help.

I use jitsi-meet from source, jicofo and videobridge from nightly build (I
have encourter a null java error fixed recently in jicofo)

I use Apache instead of nginx - apache vhost is at the end of this mail -

All works fine with the anonymous (default) settings, but...

I follow the manual installation guide for jitsi meet, and the secure domain
guide of jicofo

When I try to open a new room, I have the credentials windows, I use the
focus creds, but I can't have a conference :

The error on the auth windows is :

Get id session error : undefined

the error on the firefox console (tested also with chromium)

Auth on the fly failed <iq id="20e60667-daa4-43d4-8789-3abbdf8f6364:sendIQ"
type="error"
to="focus@auth.conference.example.com/9f7c63c0-512b-41c6-900e-4864656da885"
from="focus.conference.example.com" xmlns="jabber:client">

In the prosody log, I have this wired line, but I'm not sure if it's related
:
debug BOSH session marked as inactive (for 60s)

Complete log sequence :

Sep 27 18:30:18 socket debug server.lua: auto-starting ssl negotiation...
Sep 27 18:30:18 socket debug server.lua: attempting to start tls on
tcp{client}: 0x2dd4de8
Sep 27 18:30:18 socket debug server.lua: accepted new client connection
from xxx.xxx.xxx.xxx:49364 to 5281
Sep 27 18:30:18 socket debug server.lua: ssl handshake done
Sep 27 18:30:18 mod_bosh debug Handling new request table:
0x2d558e0: <body rid='29554595' xmlns='http://jabber.org/protocol/httpbind'
sid='6f3c872d-1f3b-4249-9e92-8dbdacedd509'><iq
to='focus.conference.example.com' type='set' xmlns='jabber:client'
id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'><conference
xmlns='http://jitsi.org/protocol/focus'
room='test@conference.conference.example.com'
machine-uid='cfbc8b3c403ea75ecf44c2c340c5ef7d'><property name='channelLastN'
value='-1'/><property name='adaptiveLastN' value='false'/><property
name='disableRtx' value='true'/><property name='enableLipSync'
value='true'/><property name='openSctp' value='true'/><property
name='simulcastMode' value='rewriting'/></conference></iq></body>
----------
Sep 27 18:30:18 mod_bosh debug BOSH body open (sid:
6f3c872d-1f3b-4249-9e92-8dbdacedd509)
Sep 27 18:30:18 mod_bosh debug BOSH stanza received: <iq
id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='set'
to='focus.conference.example.com'>

Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug
Received[c2s]: <iq id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'
type='set' to='focus.conference.example.com'>
Sep 27 18:30:18 mod_bosh debug Session
6f3c872d-1f3b-4249-9e92-8dbdacedd509 has 2 out of 1 requests open
Sep 27 18:30:18 mod_bosh debug and there are 0 things in the
send_buffer:
Sep 27 18:30:18 mod_bosh debug We are holding too many requests,
so...
Sep 27 18:30:18 mod_bosh debug ...sending an empty response
Sep 27 18:30:18 mod_bosh debug We have an open request, so sending
on that
Sep 27 18:30:18 mod_bosh debug Request destroyed: table: 0x2bcd080
Sep 27 18:30:18 socket debug server.lua: closed client handler and
removed socket from list
Sep 27 18:30:18 mod_bosh debug Have nothing to say, so leaving
request unanswered for now
Sep 27 18:30:18 jcp2a8a360 debug Received[component]: <iq
id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='error'
to='9ae1a918-8a1b-4b13-ba56-207db63999ba@support.conference.example.com/2dc20dc8-5191-493b-ab13-748dafdf994c'
from='focus.conference.example.com'>
Sep 27 18:30:18 mod_bosh debug We have an open request, so sending
on that
Sep 27 18:30:18 mod_bosh debug Request destroyed: table: 0x2adbf20
Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug BOSH
session marked as inactive (for 60s)
Sep 27 18:30:18 socket debug server.lua: closed client handler and
removed socket from list

I need at least to have this working, and I'm stuck, have you some ideas ?
jitsi meet is really good ! I'll be glad is I can have this working :slight_smile:

Config files :

(I have tried with and without cross domain and consider bosh secure)

cross_domain_bosh = true
consider_bosh_secure = true

VirtualHost "conference.example.com"
    authentication = "internal_plain"
    --authentication = "anonymous"
    --authentication = "sql"

VirtualHost "support.conference.example.com"
    authentication = "anonymous"

VirtualHost "auth.conference.example.com"
    authentication = "internal_plain"

admins = { "focus@auth.conference.example.com" }

Component "conference.conference.example.com" "muc"
Component "jitsi-videobridge.conference.example.com"
        component_secret = "secret"
Component "focus.conference.example.com"
        component_secret = "secret"

In jicofo

/etc/jitsi/jicofo/sip-communicator.properties

org.jitsi.jicofo.auth.URL=XMPP:conference.example.com

Apache:

<VirtualHost *:80>
    ServerName conference.example.com

    DocumentRoot "/var/www/srv/2/conference.example.com"

    SSLProxyEngine On
    RewriteEngine On
    RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+$
    RewriteRule ^/(.*)$ / [PT]
    RewriteRule ^/http-bind$ https://conference.example.com:5281/http-bind
[P,L]

</Virtualhost>

<VirtualHost *:443>
    ServerName conference.example.com

    DocumentRoot "/var/www/srv/2/conference.example.com"

    SSLProxyEngine On
    SSLEngine on
    SSLCertificateFile /etc/apache2/ssl/ca.crt
    SSLCertificateKeyFile /etc/apache2/ssl/ca.key

    RewriteEngine On
    RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+$
    RewriteRule ^/(.*)$ / [PT]
    RewriteRule ^/http-bind$ https://conference.example.com:5281/http-bind
[P,L]

</Virtualhost>

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


#3

Hi :slight_smile:

I have tried to add all infos to my first mail but I forget some, first, jicofo and videobridge are installed from the deb repo.
And, for apache, I use the prosody bosh conf page https://prosody.im/doc/setting_up_bosh#cross-domain_issues

You right about the headers, I can't tell if the rewrite method is taking care of them

I will try with the proxy directive instead of the rewrite, if someone as a working apache conf, it's even better .

thanks

Nicolas

···

Le 27/09/2016 à 20:08, Damian Minkov a écrit :

Hi,

Maybe you have problems with the bosh connection. I'm not sure, but I
think your config is not equal to the one used for nginx:
https://github.com/jitsi/jitsi-meet/blob/master/doc/debian/jitsi-meet/jitsi-meet.example#L42
Nginx is actually proxying the connection and setting some headers,
not sure whether this apache rewrites are the same, you can check
that.

Regards
damencho

On Tue, Sep 27, 2016 at 11:53 AM, Nicolas <nicolas@kaizendo.fr> wrote:

Hi !
First post here, I hope it's the right place.

I post to dev, because I have done lot of tests, and I need help.

I use jitsi-meet from source, jicofo and videobridge from nightly build (I
have encourter a null java error fixed recently in jicofo)

I use Apache instead of nginx - apache vhost is at the end of this mail -

All works fine with the anonymous (default) settings, but...

I follow the manual installation guide for jitsi meet, and the secure domain
guide of jicofo

When I try to open a new room, I have the credentials windows, I use the
focus creds, but I can't have a conference :

The error on the auth windows is :

Get id session error : undefined

the error on the firefox console (tested also with chromium)

Auth on the fly failed <iq id="20e60667-daa4-43d4-8789-3abbdf8f6364:sendIQ"
type="error"
to="focus@auth.conference.example.com/9f7c63c0-512b-41c6-900e-4864656da885"
from="focus.conference.example.com" xmlns="jabber:client">

In the prosody log, I have this wired line, but I'm not sure if it's related
:
debug BOSH session marked as inactive (for 60s)

Complete log sequence :

Sep 27 18:30:18 socket debug server.lua: auto-starting ssl negotiation...
Sep 27 18:30:18 socket debug server.lua: attempting to start tls on
tcp{client}: 0x2dd4de8
Sep 27 18:30:18 socket debug server.lua: accepted new client connection
from xxx.xxx.xxx.xxx:49364 to 5281
Sep 27 18:30:18 socket debug server.lua: ssl handshake done
Sep 27 18:30:18 mod_bosh debug Handling new request table:
0x2d558e0: <body rid='29554595' xmlns='http://jabber.org/protocol/httpbind'
sid='6f3c872d-1f3b-4249-9e92-8dbdacedd509'><iq
to='focus.conference.example.com' type='set' xmlns='jabber:client'
id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'><conference
xmlns='http://jitsi.org/protocol/focus'
room='test@conference.conference.example.com'
machine-uid='cfbc8b3c403ea75ecf44c2c340c5ef7d'><property name='channelLastN'
value='-1'/><property name='adaptiveLastN' value='false'/><property
name='disableRtx' value='true'/><property name='enableLipSync'
value='true'/><property name='openSctp' value='true'/><property
name='simulcastMode' value='rewriting'/></conference></iq></body>
----------
Sep 27 18:30:18 mod_bosh debug BOSH body open (sid:
6f3c872d-1f3b-4249-9e92-8dbdacedd509)
Sep 27 18:30:18 mod_bosh debug BOSH stanza received: <iq
id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='set'
to='focus.conference.example.com'>

Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug
Received[c2s]: <iq id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'
type='set' to='focus.conference.example.com'>
Sep 27 18:30:18 mod_bosh debug Session
6f3c872d-1f3b-4249-9e92-8dbdacedd509 has 2 out of 1 requests open
Sep 27 18:30:18 mod_bosh debug and there are 0 things in the
send_buffer:
Sep 27 18:30:18 mod_bosh debug We are holding too many requests,
so...
Sep 27 18:30:18 mod_bosh debug ...sending an empty response
Sep 27 18:30:18 mod_bosh debug We have an open request, so sending
on that
Sep 27 18:30:18 mod_bosh debug Request destroyed: table: 0x2bcd080
Sep 27 18:30:18 socket debug server.lua: closed client handler and
removed socket from list
Sep 27 18:30:18 mod_bosh debug Have nothing to say, so leaving
request unanswered for now
Sep 27 18:30:18 jcp2a8a360 debug Received[component]: <iq
id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='error'
to='9ae1a918-8a1b-4b13-ba56-207db63999ba@support.conference.example.com/2dc20dc8-5191-493b-ab13-748dafdf994c'
from='focus.conference.example.com'>
Sep 27 18:30:18 mod_bosh debug We have an open request, so sending
on that
Sep 27 18:30:18 mod_bosh debug Request destroyed: table: 0x2adbf20
Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug BOSH
session marked as inactive (for 60s)
Sep 27 18:30:18 socket debug server.lua: closed client handler and
removed socket from list

I need at least to have this working, and I'm stuck, have you some ideas ?
jitsi meet is really good ! I'll be glad is I can have this working :slight_smile:

Config files :

(I have tried with and without cross domain and consider bosh secure)

cross_domain_bosh = true
consider_bosh_secure = true

VirtualHost "conference.example.com"
     authentication = "internal_plain"
     --authentication = "anonymous"
     --authentication = "sql"

VirtualHost "support.conference.example.com"
     authentication = "anonymous"

VirtualHost "auth.conference.example.com"
     authentication = "internal_plain"

admins = { "focus@auth.conference.example.com" }

Component "conference.conference.example.com" "muc"
Component "jitsi-videobridge.conference.example.com"
         component_secret = "secret"
Component "focus.conference.example.com"
         component_secret = "secret"

In jicofo

/etc/jitsi/jicofo/sip-communicator.properties

org.jitsi.jicofo.auth.URL=XMPP:conference.example.com

Apache:

<VirtualHost *:80>
     ServerName conference.example.com

     DocumentRoot "/var/www/srv/2/conference.example.com"

     SSLProxyEngine On
     RewriteEngine On
     RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+$
     RewriteRule ^/(.*)$ / [PT]
     RewriteRule ^/http-bind$ https://conference.example.com:5281/http-bind
[P,L]

</Virtualhost>

<VirtualHost *:443>
     ServerName conference.example.com

     DocumentRoot "/var/www/srv/2/conference.example.com"

     SSLProxyEngine On
     SSLEngine on
     SSLCertificateFile /etc/apache2/ssl/ca.crt
     SSLCertificateKeyFile /etc/apache2/ssl/ca.key

     RewriteEngine On
     RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+$
     RewriteRule ^/(.*)$ / [PT]
     RewriteRule ^/http-bind$ https://conference.example.com:5281/http-bind
[P,L]

</Virtualhost>

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

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


#4

There is an old thread about that by Lyubomir:
http://lists.jitsi.org/pipermail/dev/2014-February/019946.html

···

On Tue, Sep 27, 2016 at 1:32 PM, Nicolas <nicolas@kaizendo.fr> wrote:

Hi :slight_smile:

I have tried to add all infos to my first mail but I forget some, first,
jicofo and videobridge are installed from the deb repo.
And, for apache, I use the prosody bosh conf page
https://prosody.im/doc/setting_up_bosh#cross-domain_issues

You right about the headers, I can't tell if the rewrite method is taking
care of them

I will try with the proxy directive instead of the rewrite, if someone as a
working apache conf, it's even better .

thanks

Nicolas

Le 27/09/2016 à 20:08, Damian Minkov a écrit :

Hi,

Maybe you have problems with the bosh connection. I'm not sure, but I
think your config is not equal to the one used for nginx:

https://github.com/jitsi/jitsi-meet/blob/master/doc/debian/jitsi-meet/jitsi-meet.example#L42
Nginx is actually proxying the connection and setting some headers,
not sure whether this apache rewrites are the same, you can check
that.

Regards
damencho

On Tue, Sep 27, 2016 at 11:53 AM, Nicolas <nicolas@kaizendo.fr> wrote:

Hi !
First post here, I hope it's the right place.

I post to dev, because I have done lot of tests, and I need help.

I use jitsi-meet from source, jicofo and videobridge from nightly build
(I
have encourter a null java error fixed recently in jicofo)

I use Apache instead of nginx - apache vhost is at the end of this mail
-

All works fine with the anonymous (default) settings, but...

I follow the manual installation guide for jitsi meet, and the secure
domain
guide of jicofo

When I try to open a new room, I have the credentials windows, I use the
focus creds, but I can't have a conference :

The error on the auth windows is :

Get id session error : undefined

the error on the firefox console (tested also with chromium)

Auth on the fly failed <iq
id="20e60667-daa4-43d4-8789-3abbdf8f6364:sendIQ"
type="error"

to="focus@auth.conference.example.com/9f7c63c0-512b-41c6-900e-4864656da885"
from="focus.conference.example.com" xmlns="jabber:client">

In the prosody log, I have this wired line, but I'm not sure if it's
related
:
debug BOSH session marked as inactive (for 60s)

Complete log sequence :

Sep 27 18:30:18 socket debug server.lua: auto-starting ssl
negotiation...
Sep 27 18:30:18 socket debug server.lua: attempting to start tls on
tcp{client}: 0x2dd4de8
Sep 27 18:30:18 socket debug server.lua: accepted new client
connection
from xxx.xxx.xxx.xxx:49364 to 5281
Sep 27 18:30:18 socket debug server.lua: ssl handshake done
Sep 27 18:30:18 mod_bosh debug Handling new request table:
0x2d558e0: <body rid='29554595'
xmlns='http://jabber.org/protocol/httpbind'
sid='6f3c872d-1f3b-4249-9e92-8dbdacedd509'><iq
to='focus.conference.example.com' type='set' xmlns='jabber:client'
id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'><conference
xmlns='http://jitsi.org/protocol/focus'
room='test@conference.conference.example.com'
machine-uid='cfbc8b3c403ea75ecf44c2c340c5ef7d'><property
name='channelLastN'
value='-1'/><property name='adaptiveLastN' value='false'/><property
name='disableRtx' value='true'/><property name='enableLipSync'
value='true'/><property name='openSctp' value='true'/><property
name='simulcastMode' value='rewriting'/></conference></iq></body>
----------
Sep 27 18:30:18 mod_bosh debug BOSH body open (sid:
6f3c872d-1f3b-4249-9e92-8dbdacedd509)
Sep 27 18:30:18 mod_bosh debug BOSH stanza received: <iq
id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='set'
to='focus.conference.example.com'>

Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug
Received[c2s]: <iq id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'
type='set' to='focus.conference.example.com'>
Sep 27 18:30:18 mod_bosh debug Session
6f3c872d-1f3b-4249-9e92-8dbdacedd509 has 2 out of 1 requests open
Sep 27 18:30:18 mod_bosh debug and there are 0 things in the
send_buffer:
Sep 27 18:30:18 mod_bosh debug We are holding too many requests,
so...
Sep 27 18:30:18 mod_bosh debug ...sending an empty response
Sep 27 18:30:18 mod_bosh debug We have an open request, so
sending
on that
Sep 27 18:30:18 mod_bosh debug Request destroyed: table:
0x2bcd080
Sep 27 18:30:18 socket debug server.lua: closed client handler and
removed socket from list
Sep 27 18:30:18 mod_bosh debug Have nothing to say, so leaving
request unanswered for now
Sep 27 18:30:18 jcp2a8a360 debug Received[component]: <iq
id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='error'

to='9ae1a918-8a1b-4b13-ba56-207db63999ba@support.conference.example.com/2dc20dc8-5191-493b-ab13-748dafdf994c'
from='focus.conference.example.com'>
Sep 27 18:30:18 mod_bosh debug We have an open request, so
sending
on that
Sep 27 18:30:18 mod_bosh debug Request destroyed: table:
0x2adbf20
Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug
BOSH
session marked as inactive (for 60s)
Sep 27 18:30:18 socket debug server.lua: closed client handler and
removed socket from list

I need at least to have this working, and I'm stuck, have you some ideas
?
jitsi meet is really good ! I'll be glad is I can have this working :slight_smile:

Config files :

(I have tried with and without cross domain and consider bosh secure)

cross_domain_bosh = true
consider_bosh_secure = true

VirtualHost "conference.example.com"
     authentication = "internal_plain"
     --authentication = "anonymous"
     --authentication = "sql"

VirtualHost "support.conference.example.com"
     authentication = "anonymous"

VirtualHost "auth.conference.example.com"
     authentication = "internal_plain"

admins = { "focus@auth.conference.example.com" }

Component "conference.conference.example.com" "muc"
Component "jitsi-videobridge.conference.example.com"
         component_secret = "secret"
Component "focus.conference.example.com"
         component_secret = "secret"

In jicofo

/etc/jitsi/jicofo/sip-communicator.properties

org.jitsi.jicofo.auth.URL=XMPP:conference.example.com

Apache:

<VirtualHost *:80>
     ServerName conference.example.com

     DocumentRoot "/var/www/srv/2/conference.example.com"

     SSLProxyEngine On
     RewriteEngine On
     RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+$
     RewriteRule ^/(.*)$ / [PT]
     RewriteRule ^/http-bind$
https://conference.example.com:5281/http-bind
[P,L]

</Virtualhost>

<VirtualHost *:443>
     ServerName conference.example.com

     DocumentRoot "/var/www/srv/2/conference.example.com"

     SSLProxyEngine On
     SSLEngine on
     SSLCertificateFile /etc/apache2/ssl/ca.crt
     SSLCertificateKeyFile /etc/apache2/ssl/ca.key

     RewriteEngine On
     RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+$
     RewriteRule ^/(.*)$ / [PT]
     RewriteRule ^/http-bind$
https://conference.example.com:5281/http-bind
[P,L]

</Virtualhost>

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

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

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


#5

According to this, if I understand it correctly, headers are good by default

http://httpd.apache.org/docs/2.4/mod/mod_proxy.html#x-headers

I have tried to add headers with mod_header, also ProxyPreserveHost directive
and some parameter to the proxy worker, I have tried one by one, and so far no luck, same error...

    ProxyPreserveHost on
    ProxyPass "/http-bind" "https://conference.example.com:5281/http-bind" connectiontimeout=5 timeout=30 keepalive=on
    ProxyPassReverse "/http-bind" "https://conference.example.com:5281/http-bind"

    Header set X-Forwarded-For %{REMOTE_ADDR}s
    Header set Host %{HTTP_HOST}s

I add to the conf.d in prosody

bosh_max_inactivity= 60000

And logs are now :

Sep 28 09:38:22 bosh70934816-8c8c-4971-98c0-4706feea5d39 debug Received[c2s]: <iq id='dcd2fee8-02e2-4e3f-8d89-54d03a84fb6e:sendIQ' type='set' to='focus.conference.example.com'>
Sep 28 09:38:22 mod_bosh debug Session 70934816-8c8c-4971-98c0-4706feea5d39 has 2 out of 1 requests open
Sep 28 09:38:22 mod_bosh debug and there are 0 things in the send_buffer:
*Sep 28 09:38:22 mod_bosh debug We are holding too many requests, so...**
**Sep 28 09:38:22 mod_bosh debug ...sending an empty response*
Sep 28 09:38:22 mod_bosh debug We have an open request, so sending on that
Sep 28 09:38:22 mod_bosh debug Request destroyed: table: 0x282a920
Sep 28 09:38:22 mod_bosh debug Have nothing to say, so leaving request unanswered for now
Sep 28 09:38:22 jcp27013d0 debug Received[component]: <iq id='dcd2fee8-02e2-4e3f-8d89-54d03a84fb6e:sendIQ' type='error' to='d81cf401-c431-4702-b321-0347016666de@support.conference.example.com/ec36984c-0671-4119-9af9-0df23ba2520f' from='focus.conference.example.com'>
Sep 28 09:38:22 mod_bosh debug We have an open request, so sending on that
Sep 28 09:38:22 mod_bosh debug Request destroyed: table: 0x2832290
Sep 28 09:38:22 bosh70934816-8c8c-4971-98c0-4706feea5d39 *debug BOSH session marked as inactive (for 60000s)*

I don't know if it's better :slight_smile:
I have tested again to be sure, with the proxy settings (instead of the rewrite) and all works fine without the secure domain

ressources :
http://httpd.apache.org/docs/2.4/mod/mod_proxy.html
http://httpd.apache.org/docs/current/mod/mod_headers.html
http://httpd.apache.org/docs/current/mod/mod_ssl.html#envvars

···

Le 27/09/2016 à 20:54, Damian Minkov a écrit :

There is an old thread about that by Lyubomir:
http://lists.jitsi.org/pipermail/dev/2014-February/019946.html

On Tue, Sep 27, 2016 at 1:32 PM, Nicolas <nicolas@kaizendo.fr> wrote:

Hi :slight_smile:

I have tried to add all infos to my first mail but I forget some, first,
jicofo and videobridge are installed from the deb repo.
And, for apache, I use the prosody bosh conf page
https://prosody.im/doc/setting_up_bosh#cross-domain_issues

You right about the headers, I can't tell if the rewrite method is taking
care of them

I will try with the proxy directive instead of the rewrite, if someone as a
working apache conf, it's even better .

thanks

Nicolas

Le 27/09/2016 à 20:08, Damian Minkov a écrit :

Hi,

Maybe you have problems with the bosh connection. I'm not sure, but I
think your config is not equal to the one used for nginx:

https://github.com/jitsi/jitsi-meet/blob/master/doc/debian/jitsi-meet/jitsi-meet.example#L42
Nginx is actually proxying the connection and setting some headers,
not sure whether this apache rewrites are the same, you can check
that.

Regards
damencho

On Tue, Sep 27, 2016 at 11:53 AM, Nicolas <nicolas@kaizendo.fr> wrote:

Hi !
First post here, I hope it's the right place.

I post to dev, because I have done lot of tests, and I need help.

I use jitsi-meet from source, jicofo and videobridge from nightly build
(I
have encourter a null java error fixed recently in jicofo)

I use Apache instead of nginx - apache vhost is at the end of this mail
-

All works fine with the anonymous (default) settings, but...

I follow the manual installation guide for jitsi meet, and the secure
domain
guide of jicofo

When I try to open a new room, I have the credentials windows, I use the
focus creds, but I can't have a conference :

The error on the auth windows is :

Get id session error : undefined

the error on the firefox console (tested also with chromium)

Auth on the fly failed <iq
id="20e60667-daa4-43d4-8789-3abbdf8f6364:sendIQ"
type="error"

to="focus@auth.conference.example.com/9f7c63c0-512b-41c6-900e-4864656da885"
from="focus.conference.example.com" xmlns="jabber:client">

In the prosody log, I have this wired line, but I'm not sure if it's
related
:
debug BOSH session marked as inactive (for 60s)

Complete log sequence :

Sep 27 18:30:18 socket debug server.lua: auto-starting ssl
negotiation...
Sep 27 18:30:18 socket debug server.lua: attempting to start tls on
tcp{client}: 0x2dd4de8
Sep 27 18:30:18 socket debug server.lua: accepted new client
connection
from xxx.xxx.xxx.xxx:49364 to 5281
Sep 27 18:30:18 socket debug server.lua: ssl handshake done
Sep 27 18:30:18 mod_bosh debug Handling new request table:
0x2d558e0: <body rid='29554595'
xmlns='http://jabber.org/protocol/httpbind'
sid='6f3c872d-1f3b-4249-9e92-8dbdacedd509'><iq
to='focus.conference.example.com' type='set' xmlns='jabber:client'
id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'><conference
xmlns='http://jitsi.org/protocol/focus'
room='test@conference.conference.example.com'
machine-uid='cfbc8b3c403ea75ecf44c2c340c5ef7d'><property
name='channelLastN'
value='-1'/><property name='adaptiveLastN' value='false'/><property
name='disableRtx' value='true'/><property name='enableLipSync'
value='true'/><property name='openSctp' value='true'/><property
name='simulcastMode' value='rewriting'/></conference></iq></body>
----------
Sep 27 18:30:18 mod_bosh debug BOSH body open (sid:
6f3c872d-1f3b-4249-9e92-8dbdacedd509)
Sep 27 18:30:18 mod_bosh debug BOSH stanza received: <iq
id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='set'
to='focus.conference.example.com'>

Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug
Received[c2s]: <iq id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'
type='set' to='focus.conference.example.com'>
Sep 27 18:30:18 mod_bosh debug Session
6f3c872d-1f3b-4249-9e92-8dbdacedd509 has 2 out of 1 requests open
Sep 27 18:30:18 mod_bosh debug and there are 0 things in the
send_buffer:
Sep 27 18:30:18 mod_bosh debug We are holding too many requests,
so...
Sep 27 18:30:18 mod_bosh debug ...sending an empty response
Sep 27 18:30:18 mod_bosh debug We have an open request, so
sending
on that
Sep 27 18:30:18 mod_bosh debug Request destroyed: table:
0x2bcd080
Sep 27 18:30:18 socket debug server.lua: closed client handler and
removed socket from list
Sep 27 18:30:18 mod_bosh debug Have nothing to say, so leaving
request unanswered for now
Sep 27 18:30:18 jcp2a8a360 debug Received[component]: <iq
id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='error'

to='9ae1a918-8a1b-4b13-ba56-207db63999ba@support.conference.example.com/2dc20dc8-5191-493b-ab13-748dafdf994c'
from='focus.conference.example.com'>
Sep 27 18:30:18 mod_bosh debug We have an open request, so
sending
on that
Sep 27 18:30:18 mod_bosh debug Request destroyed: table:
0x2adbf20
Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug
BOSH
session marked as inactive (for 60s)
Sep 27 18:30:18 socket debug server.lua: closed client handler and
removed socket from list

I need at least to have this working, and I'm stuck, have you some ideas
?
jitsi meet is really good ! I'll be glad is I can have this working :slight_smile:

Config files :

(I have tried with and without cross domain and consider bosh secure)

cross_domain_bosh = true
consider_bosh_secure = true

VirtualHost "conference.example.com"
      authentication = "internal_plain"
      --authentication = "anonymous"
      --authentication = "sql"

VirtualHost "support.conference.example.com"
      authentication = "anonymous"

VirtualHost "auth.conference.example.com"
      authentication = "internal_plain"

admins = { "focus@auth.conference.example.com" }

Component "conference.conference.example.com" "muc"
Component "jitsi-videobridge.conference.example.com"
          component_secret = "secret"
Component "focus.conference.example.com"
          component_secret = "secret"

In jicofo

/etc/jitsi/jicofo/sip-communicator.properties

org.jitsi.jicofo.auth.URL=XMPP:conference.example.com

Apache:

<VirtualHost *:80>
      ServerName conference.example.com

      DocumentRoot "/var/www/srv/2/conference.example.com"

      SSLProxyEngine On
      RewriteEngine On
      RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+$
      RewriteRule ^/(.*)$ / [PT]
      RewriteRule ^/http-bind$
https://conference.example.com:5281/http-bind
[P,L]

</Virtualhost>

<VirtualHost *:443>
      ServerName conference.example.com

      DocumentRoot "/var/www/srv/2/conference.example.com"

      SSLProxyEngine On
      SSLEngine on
      SSLCertificateFile /etc/apache2/ssl/ca.crt
      SSLCertificateKeyFile /etc/apache2/ssl/ca.key

      RewriteEngine On
      RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+$
      RewriteRule ^/(.*)$ / [PT]
      RewriteRule ^/http-bind$
https://conference.example.com:5281/http-bind
[P,L]

</Virtualhost>

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

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

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

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


#6

What about jicofo logs, is there anything interesting? Seems there is an
error coming, but not forwarded to the client for some reason.

···

On Sep 28, 2016 03:33, "Nicolas" <nicolas@kaizendo.fr> wrote:

According to this, if I understand it correctly, headers are good by
default

http://httpd.apache.org/docs/2.4/mod/mod_proxy.html#x-headers
I have tried to add headers with mod_header, also ProxyPreserveHost
directive
and some parameter to the proxy worker, I have tried one by one, and so
far no luck, same error...

    ProxyPreserveHost on
    ProxyPass "/http-bind" "https://conference.example.com:5281/http-bind"
<https://conference.example.com:5281/http-bind> connectiontimeout=5
timeout=30 keepalive=on
    ProxyPassReverse "/http-bind" "https://conference.example.
com:5281/http-bind" <https://conference.example.com:5281/http-bind>

    Header set X-Forwarded-For %{REMOTE_ADDR}s
    Header set Host %{HTTP_HOST}s

I add to the conf.d in prosody

bosh_max_inactivity = 60000

And logs are now :

Sep 28 09:38:22 bosh70934816-8c8c-4971-98c0-4706feea5d39 debug
Received[c2s]: <iq id='dcd2fee8-02e2-4e3f-8d89-54d03a84fb6e:sendIQ'
type='set' to='focus.conference.example.com'>
Sep 28 09:38:22 mod_bosh debug Session 70934816-8c8c-4971-98c0-4706feea5d39
has 2 out of 1 requests open
Sep 28 09:38:22 mod_bosh debug and there are 0 things in the
send_buffer:
*Sep 28 09:38:22 mod_bosh debug We are holding too many requests,
so...*
*Sep 28 09:38:22 mod_bosh debug ...sending an empty response*
Sep 28 09:38:22 mod_bosh debug We have an open request, so
sending on that
Sep 28 09:38:22 mod_bosh debug Request destroyed: table: 0x282a920
Sep 28 09:38:22 mod_bosh debug Have nothing to say, so leaving
request unanswered for now
Sep 28 09:38:22 jcp27013d0 debug Received[component]: <iq
id='dcd2fee8-02e2-4e3f-8d89-54d03a84fb6e:sendIQ' type='error' to='
d81cf401-c431-4702-b321-0347016666de@support.conference.example.com/
ec36984c-0671-4119-9af9-0df23ba2520f' from='focus.conference.example.com'>
Sep 28 09:38:22 mod_bosh debug We have an open request, so
sending on that
Sep 28 09:38:22 mod_bosh debug Request destroyed: table: 0x2832290
Sep 28 09:38:22 bosh70934816-8c8c-4971-98c0-4706feea5d39 *debug
BOSH session marked as inactive (for 60000s)*

I don't know if it's better :slight_smile:
I have tested again to be sure, with the proxy settings (instead of the
rewrite) and all works fine without the secure domain

ressources :
http://httpd.apache.org/docs/2.4/mod/mod_proxy.html
http://httpd.apache.org/docs/current/mod/mod_headers.html
http://httpd.apache.org/docs/current/mod/mod_ssl.html#envvars
Le 27/09/2016 à 20:54, Damian Minkov a écrit :

There is an old thread about that by Lyubomir:http://lists.jitsi.org/pipermail/dev/2014-February/019946.html

On Tue, Sep 27, 2016 at 1:32 PM, Nicolas <nicolas@kaizendo.fr> <nicolas@kaizendo.fr> wrote:

Hi :slight_smile:

I have tried to add all infos to my first mail but I forget some, first,
jicofo and videobridge are installed from the deb repo.
And, for apache, I use the prosody bosh conf pagehttps://prosody.im/doc/setting_up_bosh#cross-domain_issues

You right about the headers, I can't tell if the rewrite method is taking
care of them

I will try with the proxy directive instead of the rewrite, if someone as a
working apache conf, it's even better .

thanks

Nicolas

Le 27/09/2016 à 20:08, Damian Minkov a écrit :

Hi,

Maybe you have problems with the bosh connection. I'm not sure, but I
think your config is not equal to the one used for nginx:
https://github.com/jitsi/jitsi-meet/blob/master/doc/debian/jitsi-meet/jitsi-meet.example#L42
Nginx is actually proxying the connection and setting some headers,
not sure whether this apache rewrites are the same, you can check
that.

Regards
damencho

On Tue, Sep 27, 2016 at 11:53 AM, Nicolas <nicolas@kaizendo.fr> <nicolas@kaizendo.fr> wrote:

Hi !
First post here, I hope it's the right place.

I post to dev, because I have done lot of tests, and I need help.

I use jitsi-meet from source, jicofo and videobridge from nightly build
(I
have encourter a null java error fixed recently in jicofo)

I use Apache instead of nginx - apache vhost is at the end of this mail
-

All works fine with the anonymous (default) settings, but...

I follow the manual installation guide for jitsi meet, and the secure
domain
guide of jicofo

When I try to open a new room, I have the credentials windows, I use the
focus creds, but I can't have a conference :

The error on the auth windows is :

Get id session error : undefined

the error on the firefox console (tested also with chromium)

Auth on the fly failed <iq
id="20e60667-daa4-43d4-8789-3abbdf8f6364:sendIQ"
type="error"

to="focus@auth.conference.example.com/9f7c63c0-512b-41c6-900e-4864656da885" <focus@auth.conference.example.com/9f7c63c0-512b-41c6-900e-4864656da885>
from="focus.conference.example.com" xmlns="jabber:client">

In the prosody log, I have this wired line, but I'm not sure if it's
related
:
debug BOSH session marked as inactive (for 60s)

Complete log sequence :

Sep 27 18:30:18 socket debug server.lua: auto-starting ssl
negotiation...
Sep 27 18:30:18 socket debug server.lua: attempting to start tls on
tcp{client}: 0x2dd4de8
Sep 27 18:30:18 socket debug server.lua: accepted new client
connection
from xxx.xxx.xxx.xxx:49364 to 5281
Sep 27 18:30:18 socket debug server.lua: ssl handshake done
Sep 27 18:30:18 mod_bosh debug Handling new request table:
0x2d558e0: <body rid='29554595'
xmlns='http://jabber.org/protocol/httpbind'
sid='6f3c872d-1f3b-4249-9e92-8dbdacedd509'><iq
to='focus.conference.example.com' type='set' xmlns='jabber:client'
id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'><conference
xmlns='http://jitsi.org/protocol/focus'
room='test@conference.conference.example.com'
machine-uid='cfbc8b3c403ea75ecf44c2c340c5ef7d'><property
name='channelLastN'
value='-1'/><property name='adaptiveLastN' value='false'/><property
name='disableRtx' value='true'/><property name='enableLipSync'
value='true'/><property name='openSctp' value='true'/><property
name='simulcastMode' value='rewriting'/></conference></iq></body>
----------
Sep 27 18:30:18 mod_bosh debug BOSH body open (sid:
6f3c872d-1f3b-4249-9e92-8dbdacedd509)
Sep 27 18:30:18 mod_bosh debug BOSH stanza received: <iq
id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='set'
to='focus.conference.example.com'>

Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug
Received[c2s]: <iq id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'
type='set' to='focus.conference.example.com'>
Sep 27 18:30:18 mod_bosh debug Session
6f3c872d-1f3b-4249-9e92-8dbdacedd509 has 2 out of 1 requests open
Sep 27 18:30:18 mod_bosh debug and there are 0 things in the
send_buffer:
Sep 27 18:30:18 mod_bosh debug We are holding too many requests,
so...
Sep 27 18:30:18 mod_bosh debug ...sending an empty response
Sep 27 18:30:18 mod_bosh debug We have an open request, so
sending
on that
Sep 27 18:30:18 mod_bosh debug Request destroyed: table:
0x2bcd080
Sep 27 18:30:18 socket debug server.lua: closed client handler and
removed socket from list
Sep 27 18:30:18 mod_bosh debug Have nothing to say, so leaving
request unanswered for now
Sep 27 18:30:18 jcp2a8a360 debug Received[component]: <iq
id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='error'

to='9ae1a918-8a1b-4b13-ba56-207db63999ba@support.conference.example.com/2dc20dc8-5191-493b-ab13-748dafdf994c'
from='focus.conference.example.com'>
Sep 27 18:30:18 mod_bosh debug We have an open request, so
sending
on that
Sep 27 18:30:18 mod_bosh debug Request destroyed: table:
0x2adbf20
Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug
BOSH
session marked as inactive (for 60s)
Sep 27 18:30:18 socket debug server.lua: closed client handler and
removed socket from list

I need at least to have this working, and I'm stuck, have you some ideas
?
jitsi meet is really good ! I'll be glad is I can have this working :slight_smile:

Config files :

(I have tried with and without cross domain and consider bosh secure)

cross_domain_bosh = true
consider_bosh_secure = true

VirtualHost "conference.example.com"
     authentication = "internal_plain"
     --authentication = "anonymous"
     --authentication = "sql"

VirtualHost "support.conference.example.com"
     authentication = "anonymous"

VirtualHost "auth.conference.example.com"
     authentication = "internal_plain"

admins = { "focus@auth.conference.example.com" <focus@auth.conference.example.com> }

Component "conference.conference.example.com" "muc"
Component "jitsi-videobridge.conference.example.com"
         component_secret = "secret"
Component "focus.conference.example.com"
         component_secret = "secret"

In jicofo

/etc/jitsi/jicofo/sip-communicator.properties

org.jitsi.jicofo.auth.URL=XMPP:conference.example.com

Apache:

<VirtualHost *:80>
     ServerName conference.example.com

     DocumentRoot "/var/www/srv/2/conference.example.com"

     SSLProxyEngine On
     RewriteEngine On
     RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RewriteRule ^/\(\.\*\) / [PT]
     RewriteRule ^/http-bind$https://conference.example.com:5281/http-bind
[P,L]

</Virtualhost>

<VirtualHost *:443>
     ServerName conference.example.com

     DocumentRoot "/var/www/srv/2/conference.example.com"

     SSLProxyEngine On
     SSLEngine on
     SSLCertificateFile /etc/apache2/ssl/ca.crt
     SSLCertificateKeyFile /etc/apache2/ssl/ca.key

     RewriteEngine On
     RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RewriteRule ^/\(\.\*\) / [PT]
     RewriteRule ^/http-bind$https://conference.example.com:5281/http-bind
[P,L]

</Virtualhost>

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

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

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

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

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


#7

no errors in jicofo or jvb logs,

I can do some more tests, to search for warnings

···

Le 28/09/2016 à 14:59, Damian Minkov a écrit :

What about jicofo logs, is there anything interesting? Seems there is an error coming, but not forwarded to the client for some reason.

On Sep 28, 2016 03:33, "Nicolas" <nicolas@kaizendo.fr > <mailto:nicolas@kaizendo.fr>> wrote:

    According to this, if I understand it correctly, headers are good
    by default

    http://httpd.apache.org/docs/2.4/mod/mod_proxy.html#x-headers
    <http://httpd.apache.org/docs/2.4/mod/mod_proxy.html#x-headers>

    I have tried to add headers with mod_header, also
    ProxyPreserveHost directive
    and some parameter to the proxy worker, I have tried one by one,
    and so far no luck, same error...

        ProxyPreserveHost on
        ProxyPass "/http-bind"
    "https://conference.example.com:5281/http-bind"
    <https://conference.example.com:5281/http-bind>
    connectiontimeout=5 timeout=30 keepalive=on
        ProxyPassReverse "/http-bind"
    "https://conference.example.com:5281/http-bind"
    <https://conference.example.com:5281/http-bind>

        Header set X-Forwarded-For %{REMOTE_ADDR}s
        Header set Host %{HTTP_HOST}s

    I add to the conf.d in prosody

    bosh_max_inactivity= 60000

    And logs are now :

    Sep 28 09:38:22 bosh70934816-8c8c-4971-98c0-4706feea5d39 debug Received[c2s]: <iq
    id='dcd2fee8-02e2-4e3f-8d89-54d03a84fb6e:sendIQ' type='set'
    to='focus.conference.example.com
    <http://focus.conference.example.com>'>
    Sep 28 09:38:22 mod_bosh debug Session
    70934816-8c8c-4971-98c0-4706feea5d39 has 2 out of 1 requests open
    Sep 28 09:38:22 mod_bosh debug and there are 0 things in
    the send_buffer:
    *Sep 28 09:38:22 mod_bosh debug We are holding too many
    requests, so...**
    **Sep 28 09:38:22 mod_bosh debug ...sending an empty response*
    Sep 28 09:38:22 mod_bosh debug We have an open request,
    so sending on that
    Sep 28 09:38:22 mod_bosh debug Request destroyed: table:
    0x282a920
    Sep 28 09:38:22 mod_bosh debug Have nothing to say, so
    leaving request unanswered for now
    Sep 28 09:38:22 jcp27013d0 debug Received[component]: <iq
    id='dcd2fee8-02e2-4e3f-8d89-54d03a84fb6e:sendIQ' type='error'
    to='d81cf401-c431-4702-b321-0347016666de@support.conference.example.com/ec36984c-0671-4119-9af9-0df23ba2520f
    <mailto:d81cf401-c431-4702-b321-0347016666de@support.conference.example.com/ec36984c-0671-4119-9af9-0df23ba2520f>'
    from='focus.conference.example.com
    <http://focus.conference.example.com>'>
    Sep 28 09:38:22 mod_bosh debug We have an open request,
    so sending on that
    Sep 28 09:38:22 mod_bosh debug Request destroyed: table:
    0x2832290
    Sep 28 09:38:22 bosh70934816-8c8c-4971-98c0-4706feea5d39 *debug BOSH session marked as inactive (for 60000s)*

    I don't know if it's better :slight_smile:
    I have tested again to be sure, with the proxy settings (instead
    of the rewrite) and all works fine without the secure domain

    ressources :
    http://httpd.apache.org/docs/2.4/mod/mod_proxy.html
    <http://httpd.apache.org/docs/2.4/mod/mod_proxy.html>
    http://httpd.apache.org/docs/current/mod/mod_headers.html
    <http://httpd.apache.org/docs/current/mod/mod_headers.html>
    http://httpd.apache.org/docs/current/mod/mod_ssl.html#envvars
    <http://httpd.apache.org/docs/current/mod/mod_ssl.html#envvars>
    Le 27/09/2016 à 20:54, Damian Minkov a écrit :

    There is an old thread about that by Lyubomir:
    http://lists.jitsi.org/pipermail/dev/2014-February/019946.html
    <http://lists.jitsi.org/pipermail/dev/2014-February/019946.html>

    On Tue, Sep 27, 2016 at 1:32 PM, Nicolas<nicolas@kaizendo.fr> <mailto:nicolas@kaizendo.fr> wrote:

    Hi :slight_smile:

    I have tried to add all infos to my first mail but I forget some, first,
    jicofo and videobridge are installed from the deb repo.
    And, for apache, I use the prosody bosh conf page
    https://prosody.im/doc/setting_up_bosh#cross-domain_issues
    <https://prosody.im/doc/setting_up_bosh#cross-domain_issues>

    You right about the headers, I can't tell if the rewrite method is taking
    care of them

    I will try with the proxy directive instead of the rewrite, if someone as a
    working apache conf, it's even better .

    thanks

    Nicolas

    Le 27/09/2016 à 20:08, Damian Minkov a écrit :

    Hi,

    Maybe you have problems with the bosh connection. I'm not sure, but I
    think your config is not equal to the one used for nginx:

    https://github.com/jitsi/jitsi-meet/blob/master/doc/debian/jitsi-meet/jitsi-meet.example#L42
    <https://github.com/jitsi/jitsi-meet/blob/master/doc/debian/jitsi-meet/jitsi-meet.example#L42>
    Nginx is actually proxying the connection and setting some headers,
    not sure whether this apache rewrites are the same, you can check
    that.

    Regards
    damencho

    On Tue, Sep 27, 2016 at 11:53 AM, Nicolas<nicolas@kaizendo.fr> <mailto:nicolas@kaizendo.fr> wrote:

    Hi !
    First post here, I hope it's the right place.

    I post to dev, because I have done lot of tests, and I need help.

    I use jitsi-meet from source, jicofo and videobridge from nightly build
    (I
    have encourter a null java error fixed recently in jicofo)

    I use Apache instead of nginx - apache vhost is at the end of this mail
    -

    All works fine with the anonymous (default) settings, but...

    I follow the manual installation guide for jitsi meet, and the secure
    domain
    guide of jicofo

    When I try to open a new room, I have the credentials windows, I use the
    focus creds, but I can't have a conference :

    The error on the auth windows is :

    Get id session error : undefined

    the error on the firefox console (tested also with chromium)

    Auth on the fly failed <iq
    id="20e60667-daa4-43d4-8789-3abbdf8f6364:sendIQ"
    type="error"

    to="focus@auth.conference.example.com/9f7c63c0-512b-41c6-900e-4864656da885"
    <mailto:focus@auth.conference.example.com/9f7c63c0-512b-41c6-900e-4864656da885>
    from="focus.conference.example.com <http://focus.conference.example.com>" xmlns="jabber:client">

    In the prosody log, I have this wired line, but I'm not sure if it's
    related
    :
    debug BOSH session marked as inactive (for 60s)

    Complete log sequence :

    Sep 27 18:30:18 socket debug server.lua: auto-starting ssl
    negotiation...
    Sep 27 18:30:18 socket debug server.lua: attempting to start tls on
    tcp{client}: 0x2dd4de8
    Sep 27 18:30:18 socket debug server.lua: accepted new client
    connection
    from xxx.xxx.xxx.xxx:49364 to 5281
    Sep 27 18:30:18 socket debug server.lua: ssl handshake done
    Sep 27 18:30:18 mod_bosh debug Handling new request table:
    0x2d558e0: <body rid='29554595'
    xmlns='http://jabber.org/protocol/httpbind
    <http://jabber.org/protocol/httpbind>'
    sid='6f3c872d-1f3b-4249-9e92-8dbdacedd509'><iq
    to='focus.conference.example.com <http://focus.conference.example.com>' type='set' xmlns='jabber:client'
    id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'><conference
    xmlns='http://jitsi.org/protocol/focus'
    room='test@conference.conference.example.com
    <mailto:test@conference.conference.example.com>'
    machine-uid='cfbc8b3c403ea75ecf44c2c340c5ef7d'><property
    name='channelLastN'
    value='-1'/><property name='adaptiveLastN' value='false'/><property
    name='disableRtx' value='true'/><property name='enableLipSync'
    value='true'/><property name='openSctp' value='true'/><property
    name='simulcastMode' value='rewriting'/></conference></iq></body>
    ----------
    Sep 27 18:30:18 mod_bosh debug BOSH body open (sid:
    6f3c872d-1f3b-4249-9e92-8dbdacedd509)
    Sep 27 18:30:18 mod_bosh debug BOSH stanza received: <iq
    id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='set'
    to='focus.conference.example.com <http://focus.conference.example.com>'>

    Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug
    Received[c2s]: <iq id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'
    type='set' to='focus.conference.example.com <http://focus.conference.example.com>'>
    Sep 27 18:30:18 mod_bosh debug Session
    6f3c872d-1f3b-4249-9e92-8dbdacedd509 has 2 out of 1 requests open
    Sep 27 18:30:18 mod_bosh debug and there are 0 things in the
    send_buffer:
    Sep 27 18:30:18 mod_bosh debug We are holding too many requests,
    so...
    Sep 27 18:30:18 mod_bosh debug ...sending an empty response
    Sep 27 18:30:18 mod_bosh debug We have an open request, so
    sending
    on that
    Sep 27 18:30:18 mod_bosh debug Request destroyed: table:
    0x2bcd080
    Sep 27 18:30:18 socket debug server.lua: closed client handler and
    removed socket from list
    Sep 27 18:30:18 mod_bosh debug Have nothing to say, so leaving
    request unanswered for now
    Sep 27 18:30:18 jcp2a8a360 debug Received[component]: <iq
    id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='error'

    to='9ae1a918-8a1b-4b13-ba56-207db63999ba@support.conference.example.com/2dc20dc8-5191-493b-ab13-748dafdf994c
    <mailto:9ae1a918-8a1b-4b13-ba56-207db63999ba@support.conference.example.com/2dc20dc8-5191-493b-ab13-748dafdf994c>'
    from='focus.conference.example.com <http://focus.conference.example.com>'>
    Sep 27 18:30:18 mod_bosh debug We have an open request, so
    sending
    on that
    Sep 27 18:30:18 mod_bosh debug Request destroyed: table:
    0x2adbf20
    Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug
    BOSH
    session marked as inactive (for 60s)
    Sep 27 18:30:18 socket debug server.lua: closed client handler and
    removed socket from list

    I need at least to have this working, and I'm stuck, have you some ideas
    ?
    jitsi meet is really good ! I'll be glad is I can have this working :slight_smile:

    Config files :

    (I have tried with and without cross domain and consider bosh secure)

    cross_domain_bosh = true
    consider_bosh_secure = true

    VirtualHost "conference.example.com <http://conference.example.com>"
          authentication = "internal_plain"
          --authentication = "anonymous"
          --authentication = "sql"

    VirtualHost "support.conference.example.com
    <http://support.conference.example.com>"
          authentication = "anonymous"

    VirtualHost "auth.conference.example.com <http://auth.conference.example.com>"
          authentication = "internal_plain"

    admins = {"focus@auth.conference.example.com"
    <mailto:focus@auth.conference.example.com> }

    Component "conference.conference.example.com
    <http://conference.conference.example.com>" "muc"
    Component "jitsi-videobridge.conference.example.com
    <http://jitsi-videobridge.conference.example.com>"
              component_secret = "secret"
    Component "focus.conference.example.com <http://focus.conference.example.com>"
              component_secret = "secret"

    In jicofo

    /etc/jitsi/jicofo/sip-communicator.properties

    org.jitsi.jicofo.auth.URL=XMPP:conference.example.com <http://conference.example.com>

    Apache:

    <VirtualHost *:80>
          ServerNameconference.example.com <http://conference.example.com>

          DocumentRoot "/var/www/srv/2/conference.example.com <http://conference.example.com>"

          SSLProxyEngine On
          RewriteEngine On
          RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+$
          RewriteRule ^/(.*)$ / [PT]
          RewriteRule ^/http-bind$
    https://conference.example.com:5281/http-bind
    <https://conference.example.com:5281/http-bind>
    [P,L]

    </Virtualhost>

    <VirtualHost *:443>
          ServerNameconference.example.com <http://conference.example.com>

          DocumentRoot "/var/www/srv/2/conference.example.com <http://conference.example.com>"

          SSLProxyEngine On
          SSLEngine on
          SSLCertificateFile /etc/apache2/ssl/ca.crt
          SSLCertificateKeyFile /etc/apache2/ssl/ca.key

          RewriteEngine On
          RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+$
          RewriteRule ^/(.*)$ / [PT]
          RewriteRule ^/http-bind$
    https://conference.example.com:5281/http-bind
    <https://conference.example.com:5281/http-bind>
    [P,L]

    </Virtualhost>

    _______________________________________________
    dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org>
    Unsubscribe instructions and other list options:
    http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

    _______________________________________________
    dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org>
    Unsubscribe instructions and other list options:
    http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

    _______________________________________________
    dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org>
    Unsubscribe instructions and other list options:
    http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

    _______________________________________________
    dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org>
    Unsubscribe instructions and other list options:
    http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

    _______________________________________________ dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org> Unsubscribe instructions and
    other list options: http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

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


#8

I have tried another time, and paste here jicofo logs

1 - open browser

2 - send the auth (focus@auth.conference.example.com)

3 - wait until error

4 - repeat step 2 and 3 once

Just one warning, could be related ?

Nicolas

···

Jicofo 2016-09-29 06:17:16.975 INFO: [10] org.jitsi.service.libjitsi.LibJitsi.log() Successfully started LibJitsi using as implementation: org.jitsi.impl.libjitsi.LibJitsiOSGiImpl
Jicofo 2016-09-29 06:17:16.990 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jicofo.HOSTNAME=localhost
Jicofo 2016-09-29 06:17:16.991 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.runtime.name=OpenJDK Runtime Environment
Jicofo 2016-09-29 06:17:16.991 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.boot.library.path=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64
Jicofo 2016-09-29 06:17:16.991 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.version=24.111-b01
Jicofo 2016-09-29 06:17:16.991 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.vendor=Oracle Corporation
Jicofo 2016-09-29 06:17:16.991 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vendor.url=http://java.oracle.com/
Jicofo 2016-09-29 06:17:16.991 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() path.separator=:
Jicofo 2016-09-29 06:17:16.991 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.util.logging.config.file=/etc/jitsi/jicofo/logging.properties
Jicofo 2016-09-29 06:17:16.991 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.name=OpenJDK 64-Bit Server VM
Jicofo 2016-09-29 06:17:16.992 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() file.encoding.pkg=sun.io
Jicofo 2016-09-29 06:17:16.992 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() user.country=US
Jicofo 2016-09-29 06:17:16.992 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.java.launcher=SUN_STANDARD
Jicofo 2016-09-29 06:17:16.992 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.os.patch.level=unknown
Jicofo 2016-09-29 06:17:16.992 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.service.media.DISABLE_AUDIO_SUPPORT=true
Jicofo 2016-09-29 06:17:16.992 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.specification.name=Java Virtual Machine Specification
Jicofo 2016-09-29 06:17:16.992 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() user.dir=/usr/share/jicofo
Jicofo 2016-09-29 06:17:16.992 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jicofo.FOCUS_USER_PASSWORD=**********
Jicofo 2016-09-29 06:17:16.993 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.runtime.version=1.7.0_111-b01
Jicofo 2016-09-29 06:17:16.993 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
Jicofo 2016-09-29 06:17:16.993 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.endorsed.dirs=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/endorsed
Jicofo 2016-09-29 06:17:16.993 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() os.arch=amd64
Jicofo 2016-09-29 06:17:16.993 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.io.tmpdir=/tmp
Jicofo 2016-09-29 06:17:16.993 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() line.separator=

Jicofo 2016-09-29 06:17:16.993 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.specification.vendor=Oracle Corporation
Jicofo 2016-09-29 06:17:16.993 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() os.name=Linux
Jicofo 2016-09-29 06:17:16.994 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.jnu.encoding=UTF-8
Jicofo 2016-09-29 06:17:16.994 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.CONFIGURATION_FILE_IS_READ_ONLY=true
Jicofo 2016-09-29 06:17:16.994 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jicofo.FOCUS_USER_DOMAIN=auth.conference.example.com
Jicofo 2016-09-29 06:17:16.994 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.library.path=/usr/share/jicofo/lib/native/linux-64
Jicofo 2016-09-29 06:17:16.994 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.specification.name=Java Platform API Specification
Jicofo 2016-09-29 06:17:16.994 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.class.version=51.0
Jicofo 2016-09-29 06:17:16.994 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.service.audionotifier.AudioNotifierService=org.jitsi.impl.neomedia.notify.AudioNotifierServiceImpl
Jicofo 2016-09-29 06:17:16.994 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.management.compiler=HotSpot 64-Bit Tiered Compilers
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() os.version=4.4.0-1-grsec-amd64
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() user.home=/usr/share/jicofo
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() user.timezone=Europe/Paris
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.awt.printerjob=sun.print.PSPrinterJob
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jicofo.FOCUS_USER_NAME=focus
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() file.encoding=UTF-8
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.specification.version=1.7
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.service.media.DISABLE_VIDEO_SUPPORT=true
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jicofo.XMPP_DOMAIN=conference.example.com
Jicofo 2016-09-29 06:17:16.996 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.class.path=/usr/share/jicofo/jicofo.jar:/usr/share/jicofo/lib/agafua-syslog-0.4.jar:/usr/share/jicofo/lib/bccontrib-1.0.jar:/usr/share/jicofo/lib/bcpkix-jdk15on-1.$
Jicofo 2016-09-29 06:17:16.996 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() user.name=jicofo
Jicofo 2016-09-29 06:17:16.996 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.specification.version=1.7
Jicofo 2016-09-29 06:17:16.997 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.java.command=org.jitsi.jicofo.Main --host=localhost --domain=conference.example.com --port=5347 --secret=X --user_domain=auth.conference.example.com --user_password=X
Jicofo 2016-09-29 06:17:16.997 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.home=/usr/lib/jvm/java-7-openjdk-amd64/jre
Jicofo 2016-09-29 06:17:16.997 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.arch.data.model=64
Jicofo 2016-09-29 06:17:16.997 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() user.language=en
Jicofo 2016-09-29 06:17:16.998 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.specification.vendor=Oracle Corporation
Jicofo 2016-09-29 06:17:16.998 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() awt.toolkit=sun.awt.X11.XToolkit
Jicofo 2016-09-29 06:17:16.998 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.info=mixed mode
Jicofo 2016-09-29 06:17:16.998 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.version=1.7.0_111
Jicofo 2016-09-29 06:17:16.998 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.ext.dirs=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext:/usr/java/packages/lib/ext
Jicofo 2016-09-29 06:17:16.998 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() 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/s$
Jicofo 2016-09-29 06:17:16.999 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi
Jicofo 2016-09-29 06:17:16.999 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vendor=Oracle Corporation
Jicofo 2016-09-29 06:17:16.999 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() file.separator=/
Jicofo 2016-09-29 06:17:16.999 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.SC_HOME_DIR_NAME=jicofo
Jicofo 2016-09-29 06:17:16.999 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vendor.url.bug=http://bugreport.sun.com/bugreport/
Jicofo 2016-09-29 06:17:17.000 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.io.unicode.encoding=UnicodeLittle
Jicofo 2016-09-29 06:17:17.000 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.cpu.endian=little
Jicofo 2016-09-29 06:17:17.000 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi
Jicofo 2016-09-29 06:17:17.000 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.cpu.isalist=
Jicofo 2016-09-29 06:17:17.001 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() Normal classloader
Jicofo 2016-09-29 06:17:17.001 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() failed to find jitsi-defaults.properties with class loader, will continue without it.
Jicofo 2016-09-29 06:17:17.001 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() Normal classloader
Jicofo 2016-09-29 06:17:17.002 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() failed to find jitsi-default-overrides.properties with class loader, will continue without it.
Jicofo 2016-09-29 06:17:17.058 INFO: [10] impl.netaddr.NetworkAddressManagerServiceImpl.start().92 Network Address Manager ...[ STARTED ]
Jicofo 2016-09-29 06:17:17.058 INFO: [10] impl.netaddr.NetworkAddressManagerServiceImpl.start().98 Network Address Manager Service ...[REGISTERED]
Jicofo 2016-09-29 06:17:17.062 INFO: [10] org.jitsi.version.AbstractVersionActivator.start().119 JiCoFo Version: JiCoFo 1.0.1.0-296
Jicofo 2016-09-29 06:17:17.163 INFO: [10] org.jitsi.jicofo.JitsiMeetGlobalConfig.init().170 Automatically grant 'owner' role: true
Jicofo 2016-09-29 06:17:17.163 INFO: [10] org.jitsi.jicofo.JitsiMeetGlobalConfig.init().183 Jibri requests in PENDING state will be timed out after: 90 seconds
Jicofo 2016-09-29 06:17:17.163 INFO: [10] org.jitsi.jicofo.JitsiMeetGlobalConfig.init().197 Lonely participants will be "terminated" after 20000 milliseconds
Jicofo 2016-09-29 06:17:17.180 INFO: [10] org.jitsi.jicofo.BridgeSelector.init().542 Bridge failure reset threshold: 300000
Jicofo 2016-09-29 06:17:17.190 INFO: [10] org.jitsi.jicofo.auth.AuthBundleActivator.start().210 Starting authentication service... URL: XMPP:conference.example.com
Jicofo 2016-09-29 06:17:17.191 INFO: [10] org.jitsi.jicofo.auth.AbstractAuthAuthority.<init>().122 Authentication lifetime: 86400000
Jicofo 2016-09-29 06:17:17.191 INFO: [10] org.jitsi.jicofo.auth.AuthBundleActivator.start().237 Auth authority: org.jitsi.jicofo.auth.XMPPDomainAuthAuthority@5052d4df
Jicofo 2016-09-29 06:17:17.255 INFO: [10] org.eclipse.jetty.server.Server.doStart() jetty-8.1.16.v20140903
Jicofo 2016-09-29 06:17:17.274 INFO: [10] org.eclipse.jetty.server.AbstractConnector.doStart() Started SelectChannelConnector@0.0.0.0:8888
Jicofo 2016-09-29 06:17:17.276 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jicofo.auth.URL=XMPP:conference.example.com
Jicofo 2016-09-29 06:17:17.280 INFO: [1] org.jitsi.xmpp.component.ComponentBase.loadConfig().176 Component org.jitsi.jicofo. config:
Jicofo 2016-09-29 06:17:17.280 INFO: [1] org.jitsi.xmpp.component.ComponentBase.loadConfig().177 ping interval: 10000 ms
Jicofo 2016-09-29 06:17:17.280 INFO: [1] org.jitsi.xmpp.component.ComponentBase.loadConfig().178 ping timeout: 5000 ms
Jicofo 2016-09-29 06:17:17.281 INFO: [1] org.jitsi.xmpp.component.ComponentBase.loadConfig().179 ping threshold: 3
Jicofo 2016-09-29 06:17:17.488 INFO: [16] org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component discovered: auth.conference.example.com, Version[Prosody(0.9.7,Linux)@2000246765
Jicofo 2016-09-29 06:17:17.488 INFO: [16] org.jitsi.jicofo.JitsiMeetServices.newNodeDiscovered().244 Detected XMPP server version: Version[Prosody(0.9.7,Linux)@2000246765
Jicofo 2016-09-29 06:17:17.489 INFO: [16] org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component discovered: conference.conference.example.com, null
Jicofo 2016-09-29 06:17:17.489 INFO: [16] org.jitsi.jicofo.JitsiMeetServices.newNodeDiscovered().236 MUC component discovered: conference.conference.example.com
Jicofo 2016-09-29 06:17:17.491 INFO: [16] org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component discovered: support.conference.example.com, Version[Prosody(0.9.7,Linux)@-297195133
Jicofo 2016-09-29 06:17:17.496 INFO: [16] org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component discovered: focus.conference.example.com, null
Jicofo 2016-09-29 06:17:17.499 INFO: [16] org.jitsi.jicofo.ComponentsDiscovery.scheduleRediscovery().190 Services re-discovery interval: 30000
Jicofo 2016-09-29 06:17:17.499 INFO: [16] org.jitsi.jicofo.FocusManager.registrationStateChanged().541 XMPP provider reg state: RegistrationState=Registered
Jicofo 2016-09-29 06:17:17.499 INFO: [16] org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.log() XMPP provider Jabber:focus@auth.conference.example.com/focus12606626156489147@localhost connected (JID: focus@auth.conference.example.com/focus12606626156489147)
Jicofo 2016-09-29 06:17:38.636 INFO: [51] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:43.956 INFO: [53] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:47.568 INFO: [40] org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component discovered: jitsi-videobridge.conference.example.com, Version[JVB(0.1.808,Linux)@-891780935
Jicofo 2016-09-29 06:17:47.568 INFO: [40] org.jitsi.jicofo.BridgeSelector.addJvbAddress().148 Added videobridge: jitsi-videobridge.conference.example.com v: Version[JVB(0.1.808,Linux)@-891780935
*Jicofo 2016-09-29 06:17:47.569 WARNING: [40] org.jitsi.jicofo.BridgeSelector.addJvbAddress().160 No pub-sub node mapped for jitsi-videobridge.conference.example.com*
Jicofo 2016-09-29 06:17:47.572 INFO: [60] org.jitsi.jicofo.JvbDoctor.log() Scheduled health-check task for: jitsi-videobridge.conference.example.com
Jicofo 2016-09-29 06:17:48.030 INFO: [63] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:49.190 INFO: [65] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:54.341 INFO: [67] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:54.514 INFO: [69] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:59.609 INFO: [76] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:04.781 INFO: [39] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:10.191 INFO: [47] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:15.448 INFO: [49] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:20.825 INFO: [57] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:25.984 INFO: [59] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com

Le 28/09/2016 à 14:59, Damian Minkov a écrit :

What about jicofo logs, is there anything interesting? Seems there is an error coming, but not forwarded to the client for some reason.

On Sep 28, 2016 03:33, "Nicolas" <nicolas@kaizendo.fr > <mailto:nicolas@kaizendo.fr>> wrote:

    According to this, if I understand it correctly, headers are good
    by default

    http://httpd.apache.org/docs/2.4/mod/mod_proxy.html#x-headers
    <http://httpd.apache.org/docs/2.4/mod/mod_proxy.html#x-headers>

    I have tried to add headers with mod_header, also
    ProxyPreserveHost directive
    and some parameter to the proxy worker, I have tried one by one,
    and so far no luck, same error...

        ProxyPreserveHost on
        ProxyPass "/http-bind"
    "https://conference.example.com:5281/http-bind"
    <https://conference.example.com:5281/http-bind>
    connectiontimeout=5 timeout=30 keepalive=on
        ProxyPassReverse "/http-bind"
    "https://conference.example.com:5281/http-bind"
    <https://conference.example.com:5281/http-bind>

        Header set X-Forwarded-For %{REMOTE_ADDR}s
        Header set Host %{HTTP_HOST}s

    I add to the conf.d in prosody

    bosh_max_inactivity= 60000

    And logs are now :

    Sep 28 09:38:22 bosh70934816-8c8c-4971-98c0-4706feea5d39 debug Received[c2s]: <iq
    id='dcd2fee8-02e2-4e3f-8d89-54d03a84fb6e:sendIQ' type='set'
    to='focus.conference.example.com
    <http://focus.conference.example.com>'>
    Sep 28 09:38:22 mod_bosh debug Session
    70934816-8c8c-4971-98c0-4706feea5d39 has 2 out of 1 requests open
    Sep 28 09:38:22 mod_bosh debug and there are 0 things in
    the send_buffer:
    *Sep 28 09:38:22 mod_bosh debug We are holding too many
    requests, so...**
    **Sep 28 09:38:22 mod_bosh debug ...sending an empty response*
    Sep 28 09:38:22 mod_bosh debug We have an open request,
    so sending on that
    Sep 28 09:38:22 mod_bosh debug Request destroyed: table:
    0x282a920
    Sep 28 09:38:22 mod_bosh debug Have nothing to say, so
    leaving request unanswered for now
    Sep 28 09:38:22 jcp27013d0 debug Received[component]: <iq
    id='dcd2fee8-02e2-4e3f-8d89-54d03a84fb6e:sendIQ' type='error'
    to='d81cf401-c431-4702-b321-0347016666de@support.conference.example.com/ec36984c-0671-4119-9af9-0df23ba2520f
    <mailto:d81cf401-c431-4702-b321-0347016666de@support.conference.example.com/ec36984c-0671-4119-9af9-0df23ba2520f>'
    from='focus.conference.example.com
    <http://focus.conference.example.com>'>
    Sep 28 09:38:22 mod_bosh debug We have an open request,
    so sending on that
    Sep 28 09:38:22 mod_bosh debug Request destroyed: table:
    0x2832290
    Sep 28 09:38:22 bosh70934816-8c8c-4971-98c0-4706feea5d39 *debug BOSH session marked as inactive (for 60000s)*

    I don't know if it's better :slight_smile:
    I have tested again to be sure, with the proxy settings (instead
    of the rewrite) and all works fine without the secure domain

    ressources :
    http://httpd.apache.org/docs/2.4/mod/mod_proxy.html
    <http://httpd.apache.org/docs/2.4/mod/mod_proxy.html>
    http://httpd.apache.org/docs/current/mod/mod_headers.html
    <http://httpd.apache.org/docs/current/mod/mod_headers.html>
    http://httpd.apache.org/docs/current/mod/mod_ssl.html#envvars
    <http://httpd.apache.org/docs/current/mod/mod_ssl.html#envvars>
    Le 27/09/2016 à 20:54, Damian Minkov a écrit :

    There is an old thread about that by Lyubomir:
    http://lists.jitsi.org/pipermail/dev/2014-February/019946.html
    <http://lists.jitsi.org/pipermail/dev/2014-February/019946.html>

    On Tue, Sep 27, 2016 at 1:32 PM, Nicolas<nicolas@kaizendo.fr> <mailto:nicolas@kaizendo.fr> wrote:

    Hi :slight_smile:

    I have tried to add all infos to my first mail but I forget some, first,
    jicofo and videobridge are installed from the deb repo.
    And, for apache, I use the prosody bosh conf page
    https://prosody.im/doc/setting_up_bosh#cross-domain_issues
    <https://prosody.im/doc/setting_up_bosh#cross-domain_issues>

    You right about the headers, I can't tell if the rewrite method is taking
    care of them

    I will try with the proxy directive instead of the rewrite, if someone as a
    working apache conf, it's even better .

    thanks

    Nicolas

    Le 27/09/2016 à 20:08, Damian Minkov a écrit :

    Hi,

    Maybe you have problems with the bosh connection. I'm not sure, but I
    think your config is not equal to the one used for nginx:

    https://github.com/jitsi/jitsi-meet/blob/master/doc/debian/jitsi-meet/jitsi-meet.example#L42
    <https://github.com/jitsi/jitsi-meet/blob/master/doc/debian/jitsi-meet/jitsi-meet.example#L42>
    Nginx is actually proxying the connection and setting some headers,
    not sure whether this apache rewrites are the same, you can check
    that.

    Regards
    damencho

    On Tue, Sep 27, 2016 at 11:53 AM, Nicolas<nicolas@kaizendo.fr> <mailto:nicolas@kaizendo.fr> wrote:

    Hi !
    First post here, I hope it's the right place.

    I post to dev, because I have done lot of tests, and I need help.

    I use jitsi-meet from source, jicofo and videobridge from nightly build
    (I
    have encourter a null java error fixed recently in jicofo)

    I use Apache instead of nginx - apache vhost is at the end of this mail
    -

    All works fine with the anonymous (default) settings, but...

    I follow the manual installation guide for jitsi meet, and the secure
    domain
    guide of jicofo

    When I try to open a new room, I have the credentials windows, I use the
    focus creds, but I can't have a conference :

    The error on the auth windows is :

    Get id session error : undefined

    the error on the firefox console (tested also with chromium)

    Auth on the fly failed <iq
    id="20e60667-daa4-43d4-8789-3abbdf8f6364:sendIQ"
    type="error"

    to="focus@auth.conference.example.com/9f7c63c0-512b-41c6-900e-4864656da885"
    <mailto:focus@auth.conference.example.com/9f7c63c0-512b-41c6-900e-4864656da885>
    from="focus.conference.example.com <http://focus.conference.example.com>" xmlns="jabber:client">

    In the prosody log, I have this wired line, but I'm not sure if it's
    related
    :
    debug BOSH session marked as inactive (for 60s)

    Complete log sequence :

    Sep 27 18:30:18 socket debug server.lua: auto-starting ssl
    negotiation...
    Sep 27 18:30:18 socket debug server.lua: attempting to start tls on
    tcp{client}: 0x2dd4de8
    Sep 27 18:30:18 socket debug server.lua: accepted new client
    connection
    from xxx.xxx.xxx.xxx:49364 to 5281
    Sep 27 18:30:18 socket debug server.lua: ssl handshake done
    Sep 27 18:30:18 mod_bosh debug Handling new request table:
    0x2d558e0: <body rid='29554595'
    xmlns='http://jabber.org/protocol/httpbind
    <http://jabber.org/protocol/httpbind>'
    sid='6f3c872d-1f3b-4249-9e92-8dbdacedd509'><iq
    to='focus.conference.example.com <http://focus.conference.example.com>' type='set' xmlns='jabber:client'
    id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'><conference
    xmlns='http://jitsi.org/protocol/focus'
    room='test@conference.conference.example.com
    <mailto:test@conference.conference.example.com>'
    machine-uid='cfbc8b3c403ea75ecf44c2c340c5ef7d'><property
    name='channelLastN'
    value='-1'/><property name='adaptiveLastN' value='false'/><property
    name='disableRtx' value='true'/><property name='enableLipSync'
    value='true'/><property name='openSctp' value='true'/><property
    name='simulcastMode' value='rewriting'/></conference></iq></body>
    ----------
    Sep 27 18:30:18 mod_bosh debug BOSH body open (sid:
    6f3c872d-1f3b-4249-9e92-8dbdacedd509)
    Sep 27 18:30:18 mod_bosh debug BOSH stanza received: <iq
    id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='set'
    to='focus.conference.example.com <http://focus.conference.example.com>'>

    Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug
    Received[c2s]: <iq id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'
    type='set' to='focus.conference.example.com <http://focus.conference.example.com>'>
    Sep 27 18:30:18 mod_bosh debug Session
    6f3c872d-1f3b-4249-9e92-8dbdacedd509 has 2 out of 1 requests open
    Sep 27 18:30:18 mod_bosh debug and there are 0 things in the
    send_buffer:
    Sep 27 18:30:18 mod_bosh debug We are holding too many requests,
    so...
    Sep 27 18:30:18 mod_bosh debug ...sending an empty response
    Sep 27 18:30:18 mod_bosh debug We have an open request, so
    sending
    on that
    Sep 27 18:30:18 mod_bosh debug Request destroyed: table:
    0x2bcd080
    Sep 27 18:30:18 socket debug server.lua: closed client handler and
    removed socket from list
    Sep 27 18:30:18 mod_bosh debug Have nothing to say, so leaving
    request unanswered for now
    Sep 27 18:30:18 jcp2a8a360 debug Received[component]: <iq
    id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='error'

    to='9ae1a918-8a1b-4b13-ba56-207db63999ba@support.conference.example.com/2dc20dc8-5191-493b-ab13-748dafdf994c
    <mailto:9ae1a918-8a1b-4b13-ba56-207db63999ba@support.conference.example.com/2dc20dc8-5191-493b-ab13-748dafdf994c>'
    from='focus.conference.example.com <http://focus.conference.example.com>'>
    Sep 27 18:30:18 mod_bosh debug We have an open request, so
    sending
    on that
    Sep 27 18:30:18 mod_bosh debug Request destroyed: table:
    0x2adbf20
    Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug
    BOSH
    session marked as inactive (for 60s)
    Sep 27 18:30:18 socket debug server.lua: closed client handler and
    removed socket from list

    I need at least to have this working, and I'm stuck, have you some ideas
    ?
    jitsi meet is really good ! I'll be glad is I can have this working :slight_smile:

    Config files :

    (I have tried with and without cross domain and consider bosh secure)

    cross_domain_bosh = true
    consider_bosh_secure = true

    VirtualHost "conference.example.com <http://conference.example.com>"
          authentication = "internal_plain"
          --authentication = "anonymous"
          --authentication = "sql"

    VirtualHost "support.conference.example.com
    <http://support.conference.example.com>"
          authentication = "anonymous"

    VirtualHost "auth.conference.example.com <http://auth.conference.example.com>"
          authentication = "internal_plain"

    admins = {"focus@auth.conference.example.com"
    <mailto:focus@auth.conference.example.com> }

    Component "conference.conference.example.com
    <http://conference.conference.example.com>" "muc"
    Component "jitsi-videobridge.conference.example.com
    <http://jitsi-videobridge.conference.example.com>"
              component_secret = "secret"
    Component "focus.conference.example.com <http://focus.conference.example.com>"
              component_secret = "secret"

    In jicofo

    /etc/jitsi/jicofo/sip-communicator.properties

    org.jitsi.jicofo.auth.URL=XMPP:conference.example.com <http://conference.example.com>

    Apache:

    <VirtualHost *:80>
          ServerNameconference.example.com <http://conference.example.com>

          DocumentRoot "/var/www/srv/2/conference.example.com <http://conference.example.com>"

          SSLProxyEngine On
          RewriteEngine On
          RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+$
          RewriteRule ^/(.*)$ / [PT]
          RewriteRule ^/http-bind$
    https://conference.example.com:5281/http-bind
    <https://conference.example.com:5281/http-bind>
    [P,L]

    </Virtualhost>

    <VirtualHost *:443>
          ServerNameconference.example.com <http://conference.example.com>

          DocumentRoot "/var/www/srv/2/conference.example.com <http://conference.example.com>"

          SSLProxyEngine On
          SSLEngine on
          SSLCertificateFile /etc/apache2/ssl/ca.crt
          SSLCertificateKeyFile /etc/apache2/ssl/ca.key

          RewriteEngine On
          RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+$
          RewriteRule ^/(.*)$ / [PT]
          RewriteRule ^/http-bind$
    https://conference.example.com:5281/http-bind
    <https://conference.example.com:5281/http-bind>
    [P,L]

    </Virtualhost>

    _______________________________________________
    dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org>
    Unsubscribe instructions and other list options:
    http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

    _______________________________________________
    dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org>
    Unsubscribe instructions and other list options:
    http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

    _______________________________________________
    dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org>
    Unsubscribe instructions and other list options:
    http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

    _______________________________________________
    dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org>
    Unsubscribe instructions and other list options:
    http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

    _______________________________________________ dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org> Unsubscribe instructions and
    other list options: http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

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


#9

hi again,

someone has an idea for me ? :slight_smile:

Thanks a lot !

···

Le 29/09/2016 à 06:32, Nicolas a écrit :

I have tried another time, and paste here jicofo logs

1 - open browser

2 - send the auth (focus@auth.conference.example.com)

3 - wait until error

4 - repeat step 2 and 3 once

Just one warning, could be related ?

Nicolas

Jicofo 2016-09-29 06:17:16.975 INFO: [10] org.jitsi.service.libjitsi.LibJitsi.log() Successfully started LibJitsi using as implementation: org.jitsi.impl.libjitsi.LibJitsiOSGiImpl
Jicofo 2016-09-29 06:17:16.990 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jicofo.HOSTNAME=localhost
Jicofo 2016-09-29 06:17:16.991 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.runtime.name=OpenJDK Runtime Environment
Jicofo 2016-09-29 06:17:16.991 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.boot.library.path=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64
Jicofo 2016-09-29 06:17:16.991 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.version=24.111-b01
Jicofo 2016-09-29 06:17:16.991 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.vendor=Oracle Corporation
Jicofo 2016-09-29 06:17:16.991 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vendor.url=http://java.oracle.com/
Jicofo 2016-09-29 06:17:16.991 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() path.separator=:
Jicofo 2016-09-29 06:17:16.991 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.util.logging.config.file=/etc/jitsi/jicofo/logging.properties
Jicofo 2016-09-29 06:17:16.991 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.name=OpenJDK 64-Bit Server VM
Jicofo 2016-09-29 06:17:16.992 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() file.encoding.pkg=sun.io
Jicofo 2016-09-29 06:17:16.992 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() user.country=US
Jicofo 2016-09-29 06:17:16.992 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.java.launcher=SUN_STANDARD
Jicofo 2016-09-29 06:17:16.992 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.os.patch.level=unknown
Jicofo 2016-09-29 06:17:16.992 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.service.media.DISABLE_AUDIO_SUPPORT=true
Jicofo 2016-09-29 06:17:16.992 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.specification.name=Java Virtual Machine Specification
Jicofo 2016-09-29 06:17:16.992 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() user.dir=/usr/share/jicofo
Jicofo 2016-09-29 06:17:16.992 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jicofo.FOCUS_USER_PASSWORD=**********
Jicofo 2016-09-29 06:17:16.993 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.runtime.version=1.7.0_111-b01
Jicofo 2016-09-29 06:17:16.993 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
Jicofo 2016-09-29 06:17:16.993 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.endorsed.dirs=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/endorsed
Jicofo 2016-09-29 06:17:16.993 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() os.arch=amd64
Jicofo 2016-09-29 06:17:16.993 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.io.tmpdir=/tmp
Jicofo 2016-09-29 06:17:16.993 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() line.separator=

Jicofo 2016-09-29 06:17:16.993 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.specification.vendor=Oracle Corporation
Jicofo 2016-09-29 06:17:16.993 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() os.name=Linux
Jicofo 2016-09-29 06:17:16.994 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.jnu.encoding=UTF-8
Jicofo 2016-09-29 06:17:16.994 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.CONFIGURATION_FILE_IS_READ_ONLY=true
Jicofo 2016-09-29 06:17:16.994 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jicofo.FOCUS_USER_DOMAIN=auth.conference.example.com
Jicofo 2016-09-29 06:17:16.994 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.library.path=/usr/share/jicofo/lib/native/linux-64
Jicofo 2016-09-29 06:17:16.994 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.specification.name=Java Platform API Specification
Jicofo 2016-09-29 06:17:16.994 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.class.version=51.0
Jicofo 2016-09-29 06:17:16.994 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.service.audionotifier.AudioNotifierService=org.jitsi.impl.neomedia.notify.AudioNotifierServiceImpl
Jicofo 2016-09-29 06:17:16.994 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.management.compiler=HotSpot 64-Bit Tiered Compilers
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() os.version=4.4.0-1-grsec-amd64
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() user.home=/usr/share/jicofo
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() user.timezone=Europe/Paris
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.awt.printerjob=sun.print.PSPrinterJob
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jicofo.FOCUS_USER_NAME=focus
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() file.encoding=UTF-8
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.specification.version=1.7
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.service.media.DISABLE_VIDEO_SUPPORT=true
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jicofo.XMPP_DOMAIN=conference.example.com
Jicofo 2016-09-29 06:17:16.996 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.class.path=/usr/share/jicofo/jicofo.jar:/usr/share/jicofo/lib/agafua-syslog-0.4.jar:/usr/share/jicofo/lib/bccontrib-1.0.jar:/usr/share/jicofo/lib/bcpkix-jdk15on-1.$
Jicofo 2016-09-29 06:17:16.996 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() user.name=jicofo
Jicofo 2016-09-29 06:17:16.996 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.specification.version=1.7
Jicofo 2016-09-29 06:17:16.997 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.java.command=org.jitsi.jicofo.Main --host=localhost --domain=conference.example.com --port=5347 --secret=X --user_domain=auth.conference.example.com --user_password=X
Jicofo 2016-09-29 06:17:16.997 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.home=/usr/lib/jvm/java-7-openjdk-amd64/jre
Jicofo 2016-09-29 06:17:16.997 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.arch.data.model=64
Jicofo 2016-09-29 06:17:16.997 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() user.language=en
Jicofo 2016-09-29 06:17:16.998 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.specification.vendor=Oracle Corporation
Jicofo 2016-09-29 06:17:16.998 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() awt.toolkit=sun.awt.X11.XToolkit
Jicofo 2016-09-29 06:17:16.998 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.info=mixed mode
Jicofo 2016-09-29 06:17:16.998 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.version=1.7.0_111
Jicofo 2016-09-29 06:17:16.998 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.ext.dirs=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext:/usr/java/packages/lib/ext
Jicofo 2016-09-29 06:17:16.998 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() 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/s$
Jicofo 2016-09-29 06:17:16.999 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi
Jicofo 2016-09-29 06:17:16.999 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vendor=Oracle Corporation
Jicofo 2016-09-29 06:17:16.999 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() file.separator=/
Jicofo 2016-09-29 06:17:16.999 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.SC_HOME_DIR_NAME=jicofo
Jicofo 2016-09-29 06:17:16.999 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vendor.url.bug=http://bugreport.sun.com/bugreport/
Jicofo 2016-09-29 06:17:17.000 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.io.unicode.encoding=UnicodeLittle
Jicofo 2016-09-29 06:17:17.000 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.cpu.endian=little
Jicofo 2016-09-29 06:17:17.000 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi
Jicofo 2016-09-29 06:17:17.000 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.cpu.isalist=
Jicofo 2016-09-29 06:17:17.001 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() Normal classloader
Jicofo 2016-09-29 06:17:17.001 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() failed to find jitsi-defaults.properties with class loader, will continue without it.
Jicofo 2016-09-29 06:17:17.001 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() Normal classloader
Jicofo 2016-09-29 06:17:17.002 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() failed to find jitsi-default-overrides.properties with class loader, will continue without it.
Jicofo 2016-09-29 06:17:17.058 INFO: [10] impl.netaddr.NetworkAddressManagerServiceImpl.start().92 Network Address Manager ...[ STARTED ]
Jicofo 2016-09-29 06:17:17.058 INFO: [10] impl.netaddr.NetworkAddressManagerServiceImpl.start().98 Network Address Manager Service ...[REGISTERED]
Jicofo 2016-09-29 06:17:17.062 INFO: [10] org.jitsi.version.AbstractVersionActivator.start().119 JiCoFo Version: JiCoFo 1.0.1.0-296
Jicofo 2016-09-29 06:17:17.163 INFO: [10] org.jitsi.jicofo.JitsiMeetGlobalConfig.init().170 Automatically grant 'owner' role: true
Jicofo 2016-09-29 06:17:17.163 INFO: [10] org.jitsi.jicofo.JitsiMeetGlobalConfig.init().183 Jibri requests in PENDING state will be timed out after: 90 seconds
Jicofo 2016-09-29 06:17:17.163 INFO: [10] org.jitsi.jicofo.JitsiMeetGlobalConfig.init().197 Lonely participants will be "terminated" after 20000 milliseconds
Jicofo 2016-09-29 06:17:17.180 INFO: [10] org.jitsi.jicofo.BridgeSelector.init().542 Bridge failure reset threshold: 300000
Jicofo 2016-09-29 06:17:17.190 INFO: [10] org.jitsi.jicofo.auth.AuthBundleActivator.start().210 Starting authentication service... URL: XMPP:conference.example.com
Jicofo 2016-09-29 06:17:17.191 INFO: [10] org.jitsi.jicofo.auth.AbstractAuthAuthority.<init>().122 Authentication lifetime: 86400000
Jicofo 2016-09-29 06:17:17.191 INFO: [10] org.jitsi.jicofo.auth.AuthBundleActivator.start().237 Auth authority: org.jitsi.jicofo.auth.XMPPDomainAuthAuthority@5052d4df
Jicofo 2016-09-29 06:17:17.255 INFO: [10] org.eclipse.jetty.server.Server.doStart() jetty-8.1.16.v20140903
Jicofo 2016-09-29 06:17:17.274 INFO: [10] org.eclipse.jetty.server.AbstractConnector.doStart() Started SelectChannelConnector@0.0.0.0:8888
Jicofo 2016-09-29 06:17:17.276 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jicofo.auth.URL=XMPP:conference.example.com
Jicofo 2016-09-29 06:17:17.280 INFO: [1] org.jitsi.xmpp.component.ComponentBase.loadConfig().176 Component org.jitsi.jicofo. config:
Jicofo 2016-09-29 06:17:17.280 INFO: [1] org.jitsi.xmpp.component.ComponentBase.loadConfig().177 ping interval: 10000 ms
Jicofo 2016-09-29 06:17:17.280 INFO: [1] org.jitsi.xmpp.component.ComponentBase.loadConfig().178 ping timeout: 5000 ms
Jicofo 2016-09-29 06:17:17.281 INFO: [1] org.jitsi.xmpp.component.ComponentBase.loadConfig().179 ping threshold: 3
Jicofo 2016-09-29 06:17:17.488 INFO: [16] org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component discovered: auth.conference.example.com, Version[Prosody(0.9.7,Linux)@2000246765
Jicofo 2016-09-29 06:17:17.488 INFO: [16] org.jitsi.jicofo.JitsiMeetServices.newNodeDiscovered().244 Detected XMPP server version: Version[Prosody(0.9.7,Linux)@2000246765
Jicofo 2016-09-29 06:17:17.489 INFO: [16] org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component discovered: conference.conference.example.com, null
Jicofo 2016-09-29 06:17:17.489 INFO: [16] org.jitsi.jicofo.JitsiMeetServices.newNodeDiscovered().236 MUC component discovered: conference.conference.example.com
Jicofo 2016-09-29 06:17:17.491 INFO: [16] org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component discovered: support.conference.example.com, Version[Prosody(0.9.7,Linux)@-297195133
Jicofo 2016-09-29 06:17:17.496 INFO: [16] org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component discovered: focus.conference.example.com, null
Jicofo 2016-09-29 06:17:17.499 INFO: [16] org.jitsi.jicofo.ComponentsDiscovery.scheduleRediscovery().190 Services re-discovery interval: 30000
Jicofo 2016-09-29 06:17:17.499 INFO: [16] org.jitsi.jicofo.FocusManager.registrationStateChanged().541 XMPP provider reg state: RegistrationState=Registered
Jicofo 2016-09-29 06:17:17.499 INFO: [16] org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.log() XMPP provider Jabber:focus@auth.conference.example.com/focus12606626156489147@localhost connected (JID: focus@auth.conference.example.com/focus12606626156489147)
Jicofo 2016-09-29 06:17:38.636 INFO: [51] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:43.956 INFO: [53] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:47.568 INFO: [40] org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component discovered: jitsi-videobridge.conference.example.com, Version[JVB(0.1.808,Linux)@-891780935
Jicofo 2016-09-29 06:17:47.568 INFO: [40] org.jitsi.jicofo.BridgeSelector.addJvbAddress().148 Added videobridge: jitsi-videobridge.conference.example.com v: Version[JVB(0.1.808,Linux)@-891780935
*Jicofo 2016-09-29 06:17:47.569 WARNING: [40] org.jitsi.jicofo.BridgeSelector.addJvbAddress().160 No pub-sub node mapped for jitsi-videobridge.conference.example.com*
Jicofo 2016-09-29 06:17:47.572 INFO: [60] org.jitsi.jicofo.JvbDoctor.log() Scheduled health-check task for: jitsi-videobridge.conference.example.com
Jicofo 2016-09-29 06:17:48.030 INFO: [63] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:49.190 INFO: [65] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:54.341 INFO: [67] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:54.514 INFO: [69] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:59.609 INFO: [76] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:04.781 INFO: [39] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:10.191 INFO: [47] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:15.448 INFO: [49] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:20.825 INFO: [57] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:25.984 INFO: [59] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com

Le 28/09/2016 à 14:59, Damian Minkov a écrit :

What about jicofo logs, is there anything interesting? Seems there is an error coming, but not forwarded to the client for some reason.

On Sep 28, 2016 03:33, "Nicolas" <nicolas@kaizendo.fr >> <mailto:nicolas@kaizendo.fr>> wrote:

    According to this, if I understand it correctly, headers are good
    by default

    http://httpd.apache.org/docs/2.4/mod/mod_proxy.html#x-headers
    <http://httpd.apache.org/docs/2.4/mod/mod_proxy.html#x-headers>

    I have tried to add headers with mod_header, also
    ProxyPreserveHost directive
    and some parameter to the proxy worker, I have tried one by one,
    and so far no luck, same error...

        ProxyPreserveHost on
        ProxyPass "/http-bind"
    "https://conference.example.com:5281/http-bind"
    <https://conference.example.com:5281/http-bind>
    connectiontimeout=5 timeout=30 keepalive=on
        ProxyPassReverse "/http-bind"
    "https://conference.example.com:5281/http-bind"
    <https://conference.example.com:5281/http-bind>

        Header set X-Forwarded-For %{REMOTE_ADDR}s
        Header set Host %{HTTP_HOST}s

    I add to the conf.d in prosody

    bosh_max_inactivity= 60000

    And logs are now :

    Sep 28 09:38:22 bosh70934816-8c8c-4971-98c0-4706feea5d39 debug Received[c2s]: <iq
    id='dcd2fee8-02e2-4e3f-8d89-54d03a84fb6e:sendIQ' type='set'
    to='focus.conference.example.com
    <http://focus.conference.example.com>'>
    Sep 28 09:38:22 mod_bosh debug Session
    70934816-8c8c-4971-98c0-4706feea5d39 has 2 out of 1 requests open
    Sep 28 09:38:22 mod_bosh debug and there are 0 things
    in the send_buffer:
    *Sep 28 09:38:22 mod_bosh debug We are holding too many
    requests, so...**
    **Sep 28 09:38:22 mod_bosh debug ...sending an empty
    response*
    Sep 28 09:38:22 mod_bosh debug We have an open request,
    so sending on that
    Sep 28 09:38:22 mod_bosh debug Request destroyed:
    table: 0x282a920
    Sep 28 09:38:22 mod_bosh debug Have nothing to say, so
    leaving request unanswered for now
    Sep 28 09:38:22 jcp27013d0 debug Received[component]: <iq
    id='dcd2fee8-02e2-4e3f-8d89-54d03a84fb6e:sendIQ' type='error'
    to='d81cf401-c431-4702-b321-0347016666de@support.conference.example.com/ec36984c-0671-4119-9af9-0df23ba2520f
    <mailto:d81cf401-c431-4702-b321-0347016666de@support.conference.example.com/ec36984c-0671-4119-9af9-0df23ba2520f>'
    from='focus.conference.example.com
    <http://focus.conference.example.com>'>
    Sep 28 09:38:22 mod_bosh debug We have an open request,
    so sending on that
    Sep 28 09:38:22 mod_bosh debug Request destroyed:
    table: 0x2832290
    Sep 28 09:38:22 bosh70934816-8c8c-4971-98c0-4706feea5d39
    *debug BOSH session marked as inactive (for 60000s)*

    I don't know if it's better :slight_smile:
    I have tested again to be sure, with the proxy settings (instead
    of the rewrite) and all works fine without the secure domain

    ressources :
    http://httpd.apache.org/docs/2.4/mod/mod_proxy.html
    <http://httpd.apache.org/docs/2.4/mod/mod_proxy.html>
    http://httpd.apache.org/docs/current/mod/mod_headers.html
    <http://httpd.apache.org/docs/current/mod/mod_headers.html>
    http://httpd.apache.org/docs/current/mod/mod_ssl.html#envvars
    <http://httpd.apache.org/docs/current/mod/mod_ssl.html#envvars>
    Le 27/09/2016 à 20:54, Damian Minkov a écrit :

    There is an old thread about that by Lyubomir:
    http://lists.jitsi.org/pipermail/dev/2014-February/019946.html
    <http://lists.jitsi.org/pipermail/dev/2014-February/019946.html>

    On Tue, Sep 27, 2016 at 1:32 PM, Nicolas<nicolas@kaizendo.fr> <mailto:nicolas@kaizendo.fr> wrote:

    Hi :slight_smile:

    I have tried to add all infos to my first mail but I forget some, first,
    jicofo and videobridge are installed from the deb repo.
    And, for apache, I use the prosody bosh conf page
    https://prosody.im/doc/setting_up_bosh#cross-domain_issues
    <https://prosody.im/doc/setting_up_bosh#cross-domain_issues>

    You right about the headers, I can't tell if the rewrite method is taking
    care of them

    I will try with the proxy directive instead of the rewrite, if someone as a
    working apache conf, it's even better .

    thanks

    Nicolas

    Le 27/09/2016 à 20:08, Damian Minkov a écrit :

    Hi,

    Maybe you have problems with the bosh connection. I'm not sure, but I
    think your config is not equal to the one used for nginx:

    https://github.com/jitsi/jitsi-meet/blob/master/doc/debian/jitsi-meet/jitsi-meet.example#L42
    <https://github.com/jitsi/jitsi-meet/blob/master/doc/debian/jitsi-meet/jitsi-meet.example#L42>
    Nginx is actually proxying the connection and setting some headers,
    not sure whether this apache rewrites are the same, you can check
    that.

    Regards
    damencho

    On Tue, Sep 27, 2016 at 11:53 AM, Nicolas<nicolas@kaizendo.fr> <mailto:nicolas@kaizendo.fr> wrote:

    Hi !
    First post here, I hope it's the right place.

    I post to dev, because I have done lot of tests, and I need help.

    I use jitsi-meet from source, jicofo and videobridge from nightly build
    (I
    have encourter a null java error fixed recently in jicofo)

    I use Apache instead of nginx - apache vhost is at the end of this mail
    -

    All works fine with the anonymous (default) settings, but...

    I follow the manual installation guide for jitsi meet, and the secure
    domain
    guide of jicofo

    When I try to open a new room, I have the credentials windows, I use the
    focus creds, but I can't have a conference :

    The error on the auth windows is :

    Get id session error : undefined

    the error on the firefox console (tested also with chromium)

    Auth on the fly failed <iq
    id="20e60667-daa4-43d4-8789-3abbdf8f6364:sendIQ"
    type="error"

    to="focus@auth.conference.example.com/9f7c63c0-512b-41c6-900e-4864656da885"
    <mailto:focus@auth.conference.example.com/9f7c63c0-512b-41c6-900e-4864656da885>
    from="focus.conference.example.com
    <http://focus.conference.example.com>" xmlns="jabber:client">

    In the prosody log, I have this wired line, but I'm not sure if it's
    related
    :
    debug BOSH session marked as inactive (for 60s)

    Complete log sequence :

    Sep 27 18:30:18 socket debug server.lua: auto-starting ssl
    negotiation...
    Sep 27 18:30:18 socket debug server.lua: attempting to start tls on
    tcp{client}: 0x2dd4de8
    Sep 27 18:30:18 socket debug server.lua: accepted new client
    connection
    from xxx.xxx.xxx.xxx:49364 to 5281
    Sep 27 18:30:18 socket debug server.lua: ssl handshake done
    Sep 27 18:30:18 mod_bosh debug Handling new request table:
    0x2d558e0: <body rid='29554595'
    xmlns='http://jabber.org/protocol/httpbind
    <http://jabber.org/protocol/httpbind>'
    sid='6f3c872d-1f3b-4249-9e92-8dbdacedd509'><iq
    to='focus.conference.example.com
    <http://focus.conference.example.com>' type='set' xmlns='jabber:client'
    id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'><conference
    xmlns='http://jitsi.org/protocol/focus'
    room='test@conference.conference.example.com
    <mailto:test@conference.conference.example.com>'
    machine-uid='cfbc8b3c403ea75ecf44c2c340c5ef7d'><property
    name='channelLastN'
    value='-1'/><property name='adaptiveLastN' value='false'/><property
    name='disableRtx' value='true'/><property name='enableLipSync'
    value='true'/><property name='openSctp' value='true'/><property
    name='simulcastMode' value='rewriting'/></conference></iq></body>
    ----------
    Sep 27 18:30:18 mod_bosh debug BOSH body open (sid:
    6f3c872d-1f3b-4249-9e92-8dbdacedd509)
    Sep 27 18:30:18 mod_bosh debug BOSH stanza received: <iq
    id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='set'
    to='focus.conference.example.com
    <http://focus.conference.example.com>'>

    Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug
    Received[c2s]: <iq id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'
    type='set' to='focus.conference.example.com
    <http://focus.conference.example.com>'>
    Sep 27 18:30:18 mod_bosh debug Session
    6f3c872d-1f3b-4249-9e92-8dbdacedd509 has 2 out of 1 requests open
    Sep 27 18:30:18 mod_bosh debug and there are 0 things in the
    send_buffer:
    Sep 27 18:30:18 mod_bosh debug We are holding too many requests,
    so...
    Sep 27 18:30:18 mod_bosh debug ...sending an empty response
    Sep 27 18:30:18 mod_bosh debug We have an open request, so
    sending
    on that
    Sep 27 18:30:18 mod_bosh debug Request destroyed: table:
    0x2bcd080
    Sep 27 18:30:18 socket debug server.lua: closed client handler and
    removed socket from list
    Sep 27 18:30:18 mod_bosh debug Have nothing to say, so leaving
    request unanswered for now
    Sep 27 18:30:18 jcp2a8a360 debug Received[component]: <iq
    id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='error'

    to='9ae1a918-8a1b-4b13-ba56-207db63999ba@support.conference.example.com/2dc20dc8-5191-493b-ab13-748dafdf994c
    <mailto:9ae1a918-8a1b-4b13-ba56-207db63999ba@support.conference.example.com/2dc20dc8-5191-493b-ab13-748dafdf994c>'
    from='focus.conference.example.com
    <http://focus.conference.example.com>'>
    Sep 27 18:30:18 mod_bosh debug We have an open request, so
    sending
    on that
    Sep 27 18:30:18 mod_bosh debug Request destroyed: table:
    0x2adbf20
    Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug
    BOSH
    session marked as inactive (for 60s)
    Sep 27 18:30:18 socket debug server.lua: closed client handler and
    removed socket from list

    I need at least to have this working, and I'm stuck, have you some ideas
    ?
    jitsi meet is really good ! I'll be glad is I can have this working :slight_smile:

    Config files :

    (I have tried with and without cross domain and consider bosh secure)

    cross_domain_bosh = true
    consider_bosh_secure = true

    VirtualHost "conference.example.com <http://conference.example.com>"
          authentication = "internal_plain"
          --authentication = "anonymous"
          --authentication = "sql"

    VirtualHost "support.conference.example.com
    <http://support.conference.example.com>"
          authentication = "anonymous"

    VirtualHost "auth.conference.example.com <http://auth.conference.example.com>"
          authentication = "internal_plain"

    admins = {"focus@auth.conference.example.com"
    <mailto:focus@auth.conference.example.com> }

    Component "conference.conference.example.com
    <http://conference.conference.example.com>" "muc"
    Component "jitsi-videobridge.conference.example.com
    <http://jitsi-videobridge.conference.example.com>"
              component_secret = "secret"
    Component "focus.conference.example.com
    <http://focus.conference.example.com>"
              component_secret = "secret"

    In jicofo

    /etc/jitsi/jicofo/sip-communicator.properties

    org.jitsi.jicofo.auth.URL=XMPP:conference.example.com <http://conference.example.com>

    Apache:

    <VirtualHost *:80>
          ServerNameconference.example.com <http://conference.example.com>

          DocumentRoot "/var/www/srv/2/conference.example.com <http://conference.example.com>"

          SSLProxyEngine On
          RewriteEngine On
          RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+$
          RewriteRule ^/(.*)$ / [PT]
          RewriteRule ^/http-bind$
    https://conference.example.com:5281/http-bind
    <https://conference.example.com:5281/http-bind>
    [P,L]

    </Virtualhost>

    <VirtualHost *:443>
          ServerNameconference.example.com <http://conference.example.com>

          DocumentRoot "/var/www/srv/2/conference.example.com <http://conference.example.com>"

          SSLProxyEngine On
          SSLEngine on
          SSLCertificateFile /etc/apache2/ssl/ca.crt
          SSLCertificateKeyFile /etc/apache2/ssl/ca.key

          RewriteEngine On
          RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+$
          RewriteRule ^/(.*)$ / [PT]
          RewriteRule ^/http-bind$
    https://conference.example.com:5281/http-bind
    <https://conference.example.com:5281/http-bind>
    [P,L]

    </Virtualhost>

    _______________________________________________
    dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org>
    Unsubscribe instructions and other list options:
    http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

    _______________________________________________
    dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org>
    Unsubscribe instructions and other list options:
    http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

    _______________________________________________
    dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org>
    Unsubscribe instructions and other list options:
    http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

    _______________________________________________
    dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org>
    Unsubscribe instructions and other list options:
    http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

    _______________________________________________ dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org> Unsubscribe instructions and
    other list options: http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

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

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


#10

Sorry to bump again, but I need this :slight_smile:

I consider to test again on another server where I can use nginx instead of apache,

so :

1 - can you help with the latest log, or just throw me ideas ?

2 - have you a hint where I can test this on virtual server, for free, or really low price ?

juste to install the "quick way" on debian or ubuntu (but not locally ^^)

Thanks

···

Le 04/10/2016 à 07:12, Nicolas a écrit :

hi again,

someone has an idea for me ? :slight_smile:

Thanks a lot !

Le 29/09/2016 à 06:32, Nicolas a écrit :

I have tried another time, and paste here jicofo logs

1 - open browser

2 - send the auth (focus@auth.conference.example.com)

3 - wait until error

4 - repeat step 2 and 3 once

Just one warning, could be related ?

Nicolas

Jicofo 2016-09-29 06:17:16.975 INFO: [10] org.jitsi.service.libjitsi.LibJitsi.log() Successfully started LibJitsi using as implementation: org.jitsi.impl.libjitsi.LibJitsiOSGiImpl
Jicofo 2016-09-29 06:17:16.990 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jicofo.HOSTNAME=localhost
Jicofo 2016-09-29 06:17:16.991 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.runtime.name=OpenJDK Runtime Environment
Jicofo 2016-09-29 06:17:16.991 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.boot.library.path=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64
Jicofo 2016-09-29 06:17:16.991 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.version=24.111-b01
Jicofo 2016-09-29 06:17:16.991 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.vendor=Oracle Corporation
Jicofo 2016-09-29 06:17:16.991 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vendor.url=http://java.oracle.com/
Jicofo 2016-09-29 06:17:16.991 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() path.separator=:
Jicofo 2016-09-29 06:17:16.991 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.util.logging.config.file=/etc/jitsi/jicofo/logging.properties
Jicofo 2016-09-29 06:17:16.991 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.name=OpenJDK 64-Bit Server VM
Jicofo 2016-09-29 06:17:16.992 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() file.encoding.pkg=sun.io
Jicofo 2016-09-29 06:17:16.992 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() user.country=US
Jicofo 2016-09-29 06:17:16.992 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.java.launcher=SUN_STANDARD
Jicofo 2016-09-29 06:17:16.992 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.os.patch.level=unknown
Jicofo 2016-09-29 06:17:16.992 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.service.media.DISABLE_AUDIO_SUPPORT=true
Jicofo 2016-09-29 06:17:16.992 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.specification.name=Java Virtual Machine Specification
Jicofo 2016-09-29 06:17:16.992 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() user.dir=/usr/share/jicofo
Jicofo 2016-09-29 06:17:16.992 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jicofo.FOCUS_USER_PASSWORD=**********
Jicofo 2016-09-29 06:17:16.993 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.runtime.version=1.7.0_111-b01
Jicofo 2016-09-29 06:17:16.993 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
Jicofo 2016-09-29 06:17:16.993 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.endorsed.dirs=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/endorsed
Jicofo 2016-09-29 06:17:16.993 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() os.arch=amd64
Jicofo 2016-09-29 06:17:16.993 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.io.tmpdir=/tmp
Jicofo 2016-09-29 06:17:16.993 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() line.separator=

Jicofo 2016-09-29 06:17:16.993 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.specification.vendor=Oracle Corporation
Jicofo 2016-09-29 06:17:16.993 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() os.name=Linux
Jicofo 2016-09-29 06:17:16.994 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.jnu.encoding=UTF-8
Jicofo 2016-09-29 06:17:16.994 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.CONFIGURATION_FILE_IS_READ_ONLY=true
Jicofo 2016-09-29 06:17:16.994 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jicofo.FOCUS_USER_DOMAIN=auth.conference.example.com
Jicofo 2016-09-29 06:17:16.994 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.library.path=/usr/share/jicofo/lib/native/linux-64
Jicofo 2016-09-29 06:17:16.994 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.specification.name=Java Platform API Specification
Jicofo 2016-09-29 06:17:16.994 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.class.version=51.0
Jicofo 2016-09-29 06:17:16.994 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.service.audionotifier.AudioNotifierService=org.jitsi.impl.neomedia.notify.AudioNotifierServiceImpl
Jicofo 2016-09-29 06:17:16.994 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.management.compiler=HotSpot 64-Bit Tiered Compilers
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() os.version=4.4.0-1-grsec-amd64
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() user.home=/usr/share/jicofo
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() user.timezone=Europe/Paris
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.awt.printerjob=sun.print.PSPrinterJob
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jicofo.FOCUS_USER_NAME=focus
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() file.encoding=UTF-8
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.specification.version=1.7
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.service.media.DISABLE_VIDEO_SUPPORT=true
Jicofo 2016-09-29 06:17:16.995 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jicofo.XMPP_DOMAIN=conference.example.com
Jicofo 2016-09-29 06:17:16.996 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.class.path=/usr/share/jicofo/jicofo.jar:/usr/share/jicofo/lib/agafua-syslog-0.4.jar:/usr/share/jicofo/lib/bccontrib-1.0.jar:/usr/share/jicofo/lib/bcpkix-jdk15on-1.$
Jicofo 2016-09-29 06:17:16.996 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() user.name=jicofo
Jicofo 2016-09-29 06:17:16.996 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.specification.version=1.7
Jicofo 2016-09-29 06:17:16.997 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.java.command=org.jitsi.jicofo.Main --host=localhost --domain=conference.example.com --port=5347 --secret=X --user_domain=auth.conference.example.com --user_password=X
Jicofo 2016-09-29 06:17:16.997 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.home=/usr/lib/jvm/java-7-openjdk-amd64/jre
Jicofo 2016-09-29 06:17:16.997 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.arch.data.model=64
Jicofo 2016-09-29 06:17:16.997 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() user.language=en
Jicofo 2016-09-29 06:17:16.998 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.specification.vendor=Oracle Corporation
Jicofo 2016-09-29 06:17:16.998 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() awt.toolkit=sun.awt.X11.XToolkit
Jicofo 2016-09-29 06:17:16.998 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vm.info=mixed mode
Jicofo 2016-09-29 06:17:16.998 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.version=1.7.0_111
Jicofo 2016-09-29 06:17:16.998 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.ext.dirs=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext:/usr/java/packages/lib/ext
Jicofo 2016-09-29 06:17:16.998 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() 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/s$
Jicofo 2016-09-29 06:17:16.999 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi
Jicofo 2016-09-29 06:17:16.999 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vendor=Oracle Corporation
Jicofo 2016-09-29 06:17:16.999 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() file.separator=/
Jicofo 2016-09-29 06:17:16.999 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.SC_HOME_DIR_NAME=jicofo
Jicofo 2016-09-29 06:17:16.999 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() java.vendor.url.bug=http://bugreport.sun.com/bugreport/
Jicofo 2016-09-29 06:17:17.000 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.io.unicode.encoding=UnicodeLittle
Jicofo 2016-09-29 06:17:17.000 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.cpu.endian=little
Jicofo 2016-09-29 06:17:17.000 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi
Jicofo 2016-09-29 06:17:17.000 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.cpu.isalist=
Jicofo 2016-09-29 06:17:17.001 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() Normal classloader
Jicofo 2016-09-29 06:17:17.001 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() failed to find jitsi-defaults.properties with class loader, will continue without it.
Jicofo 2016-09-29 06:17:17.001 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() Normal classloader
Jicofo 2016-09-29 06:17:17.002 INFO: [10] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() failed to find jitsi-default-overrides.properties with class loader, will continue without it.
Jicofo 2016-09-29 06:17:17.058 INFO: [10] impl.netaddr.NetworkAddressManagerServiceImpl.start().92 Network Address Manager ...[ STARTED ]
Jicofo 2016-09-29 06:17:17.058 INFO: [10] impl.netaddr.NetworkAddressManagerServiceImpl.start().98 Network Address Manager Service ...[REGISTERED]
Jicofo 2016-09-29 06:17:17.062 INFO: [10] org.jitsi.version.AbstractVersionActivator.start().119 JiCoFo Version: JiCoFo 1.0.1.0-296
Jicofo 2016-09-29 06:17:17.163 INFO: [10] org.jitsi.jicofo.JitsiMeetGlobalConfig.init().170 Automatically grant 'owner' role: true
Jicofo 2016-09-29 06:17:17.163 INFO: [10] org.jitsi.jicofo.JitsiMeetGlobalConfig.init().183 Jibri requests in PENDING state will be timed out after: 90 seconds
Jicofo 2016-09-29 06:17:17.163 INFO: [10] org.jitsi.jicofo.JitsiMeetGlobalConfig.init().197 Lonely participants will be "terminated" after 20000 milliseconds
Jicofo 2016-09-29 06:17:17.180 INFO: [10] org.jitsi.jicofo.BridgeSelector.init().542 Bridge failure reset threshold: 300000
Jicofo 2016-09-29 06:17:17.190 INFO: [10] org.jitsi.jicofo.auth.AuthBundleActivator.start().210 Starting authentication service... URL: XMPP:conference.example.com
Jicofo 2016-09-29 06:17:17.191 INFO: [10] org.jitsi.jicofo.auth.AbstractAuthAuthority.<init>().122 Authentication lifetime: 86400000
Jicofo 2016-09-29 06:17:17.191 INFO: [10] org.jitsi.jicofo.auth.AuthBundleActivator.start().237 Auth authority: org.jitsi.jicofo.auth.XMPPDomainAuthAuthority@5052d4df
Jicofo 2016-09-29 06:17:17.255 INFO: [10] org.eclipse.jetty.server.Server.doStart() jetty-8.1.16.v20140903
Jicofo 2016-09-29 06:17:17.274 INFO: [10] org.eclipse.jetty.server.AbstractConnector.doStart() Started SelectChannelConnector@0.0.0.0:8888
Jicofo 2016-09-29 06:17:17.276 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jicofo.auth.URL=XMPP:conference.example.com
Jicofo 2016-09-29 06:17:17.280 INFO: [1] org.jitsi.xmpp.component.ComponentBase.loadConfig().176 Component org.jitsi.jicofo. config:
Jicofo 2016-09-29 06:17:17.280 INFO: [1] org.jitsi.xmpp.component.ComponentBase.loadConfig().177 ping interval: 10000 ms
Jicofo 2016-09-29 06:17:17.280 INFO: [1] org.jitsi.xmpp.component.ComponentBase.loadConfig().178 ping timeout: 5000 ms
Jicofo 2016-09-29 06:17:17.281 INFO: [1] org.jitsi.xmpp.component.ComponentBase.loadConfig().179 ping threshold: 3
Jicofo 2016-09-29 06:17:17.488 INFO: [16] org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component discovered: auth.conference.example.com, Version[Prosody(0.9.7,Linux)@2000246765
Jicofo 2016-09-29 06:17:17.488 INFO: [16] org.jitsi.jicofo.JitsiMeetServices.newNodeDiscovered().244 Detected XMPP server version: Version[Prosody(0.9.7,Linux)@2000246765
Jicofo 2016-09-29 06:17:17.489 INFO: [16] org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component discovered: conference.conference.example.com, null
Jicofo 2016-09-29 06:17:17.489 INFO: [16] org.jitsi.jicofo.JitsiMeetServices.newNodeDiscovered().236 MUC component discovered: conference.conference.example.com
Jicofo 2016-09-29 06:17:17.491 INFO: [16] org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component discovered: support.conference.example.com, Version[Prosody(0.9.7,Linux)@-297195133
Jicofo 2016-09-29 06:17:17.496 INFO: [16] org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component discovered: focus.conference.example.com, null
Jicofo 2016-09-29 06:17:17.499 INFO: [16] org.jitsi.jicofo.ComponentsDiscovery.scheduleRediscovery().190 Services re-discovery interval: 30000
Jicofo 2016-09-29 06:17:17.499 INFO: [16] org.jitsi.jicofo.FocusManager.registrationStateChanged().541 XMPP provider reg state: RegistrationState=Registered
Jicofo 2016-09-29 06:17:17.499 INFO: [16] org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.log() XMPP provider Jabber:focus@auth.conference.example.com/focus12606626156489147@localhost connected (JID: focus@auth.conference.example.com/focus12606626156489147)
Jicofo 2016-09-29 06:17:38.636 INFO: [51] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:43.956 INFO: [53] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:47.568 INFO: [40] org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component discovered: jitsi-videobridge.conference.example.com, Version[JVB(0.1.808,Linux)@-891780935
Jicofo 2016-09-29 06:17:47.568 INFO: [40] org.jitsi.jicofo.BridgeSelector.addJvbAddress().148 Added videobridge: jitsi-videobridge.conference.example.com v: Version[JVB(0.1.808,Linux)@-891780935
*Jicofo 2016-09-29 06:17:47.569 WARNING: [40] org.jitsi.jicofo.BridgeSelector.addJvbAddress().160 No pub-sub node mapped for jitsi-videobridge.conference.example.com*
Jicofo 2016-09-29 06:17:47.572 INFO: [60] org.jitsi.jicofo.JvbDoctor.log() Scheduled health-check task for: jitsi-videobridge.conference.example.com
Jicofo 2016-09-29 06:17:48.030 INFO: [63] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:49.190 INFO: [65] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:54.341 INFO: [67] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:54.514 INFO: [69] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:59.609 INFO: [76] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:04.781 INFO: [39] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:10.191 INFO: [47] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:15.448 INFO: [49] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:20.825 INFO: [57] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:25.984 INFO: [59] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request for room: vvoo@conference.conference.example.com

Le 28/09/2016 à 14:59, Damian Minkov a écrit :

What about jicofo logs, is there anything interesting? Seems there is an error coming, but not forwarded to the client for some reason.

On Sep 28, 2016 03:33, "Nicolas" <nicolas@kaizendo.fr >>> <mailto:nicolas@kaizendo.fr>> wrote:

    According to this, if I understand it correctly, headers are
    good by default

    http://httpd.apache.org/docs/2.4/mod/mod_proxy.html#x-headers
    <http://httpd.apache.org/docs/2.4/mod/mod_proxy.html#x-headers>

    I have tried to add headers with mod_header, also
    ProxyPreserveHost directive
    and some parameter to the proxy worker, I have tried one by one,
    and so far no luck, same error...

        ProxyPreserveHost on
        ProxyPass "/http-bind"
    "https://conference.example.com:5281/http-bind"
    <https://conference.example.com:5281/http-bind>
    connectiontimeout=5 timeout=30 keepalive=on
        ProxyPassReverse "/http-bind"
    "https://conference.example.com:5281/http-bind"
    <https://conference.example.com:5281/http-bind>

        Header set X-Forwarded-For %{REMOTE_ADDR}s
        Header set Host %{HTTP_HOST}s

    I add to the conf.d in prosody

    bosh_max_inactivity= 60000

    And logs are now :

    Sep 28 09:38:22 bosh70934816-8c8c-4971-98c0-4706feea5d39
    debug Received[c2s]: <iq
    id='dcd2fee8-02e2-4e3f-8d89-54d03a84fb6e:sendIQ' type='set'
    to='focus.conference.example.com
    <http://focus.conference.example.com>'>
    Sep 28 09:38:22 mod_bosh debug Session
    70934816-8c8c-4971-98c0-4706feea5d39 has 2 out of 1 requests open
    Sep 28 09:38:22 mod_bosh debug and there are 0 things
    in the send_buffer:
    *Sep 28 09:38:22 mod_bosh debug We are holding too
    many requests, so...**
    **Sep 28 09:38:22 mod_bosh debug ...sending an empty
    response*
    Sep 28 09:38:22 mod_bosh debug We have an open
    request, so sending on that
    Sep 28 09:38:22 mod_bosh debug Request destroyed:
    table: 0x282a920
    Sep 28 09:38:22 mod_bosh debug Have nothing to say, so
    leaving request unanswered for now
    Sep 28 09:38:22 jcp27013d0 debug Received[component]: <iq
    id='dcd2fee8-02e2-4e3f-8d89-54d03a84fb6e:sendIQ' type='error'
    to='d81cf401-c431-4702-b321-0347016666de@support.conference.example.com/ec36984c-0671-4119-9af9-0df23ba2520f
    <mailto:d81cf401-c431-4702-b321-0347016666de@support.conference.example.com/ec36984c-0671-4119-9af9-0df23ba2520f>'
    from='focus.conference.example.com
    <http://focus.conference.example.com>'>
    Sep 28 09:38:22 mod_bosh debug We have an open
    request, so sending on that
    Sep 28 09:38:22 mod_bosh debug Request destroyed:
    table: 0x2832290
    Sep 28 09:38:22 bosh70934816-8c8c-4971-98c0-4706feea5d39
    *debug BOSH session marked as inactive (for 60000s)*

    I don't know if it's better :slight_smile:
    I have tested again to be sure, with the proxy settings (instead
    of the rewrite) and all works fine without the secure domain

    ressources :
    http://httpd.apache.org/docs/2.4/mod/mod_proxy.html
    <http://httpd.apache.org/docs/2.4/mod/mod_proxy.html>
    http://httpd.apache.org/docs/current/mod/mod_headers.html
    <http://httpd.apache.org/docs/current/mod/mod_headers.html>
    http://httpd.apache.org/docs/current/mod/mod_ssl.html#envvars
    <http://httpd.apache.org/docs/current/mod/mod_ssl.html#envvars>
    Le 27/09/2016 à 20:54, Damian Minkov a écrit :

    There is an old thread about that by Lyubomir:
    http://lists.jitsi.org/pipermail/dev/2014-February/019946.html
    <http://lists.jitsi.org/pipermail/dev/2014-February/019946.html>

    On Tue, Sep 27, 2016 at 1:32 PM, Nicolas<nicolas@kaizendo.fr> <mailto:nicolas@kaizendo.fr> wrote:

    Hi :slight_smile:

    I have tried to add all infos to my first mail but I forget some, first,
    jicofo and videobridge are installed from the deb repo.
    And, for apache, I use the prosody bosh conf page
    https://prosody.im/doc/setting_up_bosh#cross-domain_issues
    <https://prosody.im/doc/setting_up_bosh#cross-domain_issues>

    You right about the headers, I can't tell if the rewrite method is taking
    care of them

    I will try with the proxy directive instead of the rewrite, if someone as a
    working apache conf, it's even better .

    thanks

    Nicolas

    Le 27/09/2016 à 20:08, Damian Minkov a écrit :

    Hi,

    Maybe you have problems with the bosh connection. I'm not sure, but I
    think your config is not equal to the one used for nginx:

    https://github.com/jitsi/jitsi-meet/blob/master/doc/debian/jitsi-meet/jitsi-meet.example#L42
    <https://github.com/jitsi/jitsi-meet/blob/master/doc/debian/jitsi-meet/jitsi-meet.example#L42>
    Nginx is actually proxying the connection and setting some headers,
    not sure whether this apache rewrites are the same, you can check
    that.

    Regards
    damencho

    On Tue, Sep 27, 2016 at 11:53 AM, Nicolas<nicolas@kaizendo.fr> <mailto:nicolas@kaizendo.fr> wrote:

    Hi !
    First post here, I hope it's the right place.

    I post to dev, because I have done lot of tests, and I need help.

    I use jitsi-meet from source, jicofo and videobridge from nightly build
    (I
    have encourter a null java error fixed recently in jicofo)

    I use Apache instead of nginx - apache vhost is at the end of this mail
    -

    All works fine with the anonymous (default) settings, but...

    I follow the manual installation guide for jitsi meet, and the secure
    domain
    guide of jicofo

    When I try to open a new room, I have the credentials windows, I use the
    focus creds, but I can't have a conference :

    The error on the auth windows is :

    Get id session error : undefined

    the error on the firefox console (tested also with chromium)

    Auth on the fly failed <iq
    id="20e60667-daa4-43d4-8789-3abbdf8f6364:sendIQ"
    type="error"

    to="focus@auth.conference.example.com/9f7c63c0-512b-41c6-900e-4864656da885"
    <mailto:focus@auth.conference.example.com/9f7c63c0-512b-41c6-900e-4864656da885>
    from="focus.conference.example.com
    <http://focus.conference.example.com>" xmlns="jabber:client">

    In the prosody log, I have this wired line, but I'm not sure if it's
    related
    :
    debug BOSH session marked as inactive (for 60s)

    Complete log sequence :

    Sep 27 18:30:18 socket debug server.lua: auto-starting ssl
    negotiation...
    Sep 27 18:30:18 socket debug server.lua: attempting to start tls on
    tcp{client}: 0x2dd4de8
    Sep 27 18:30:18 socket debug server.lua: accepted new client
    connection
    from xxx.xxx.xxx.xxx:49364 to 5281
    Sep 27 18:30:18 socket debug server.lua: ssl handshake done
    Sep 27 18:30:18 mod_bosh debug Handling new request table:
    0x2d558e0: <body rid='29554595'
    xmlns='http://jabber.org/protocol/httpbind
    <http://jabber.org/protocol/httpbind>'
    sid='6f3c872d-1f3b-4249-9e92-8dbdacedd509'><iq
    to='focus.conference.example.com
    <http://focus.conference.example.com>' type='set' xmlns='jabber:client'
    id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'><conference
    xmlns='http://jitsi.org/protocol/focus
    <http://jitsi.org/protocol/focus>'
    room='test@conference.conference.example.com
    <mailto:test@conference.conference.example.com>'
    machine-uid='cfbc8b3c403ea75ecf44c2c340c5ef7d'><property
    name='channelLastN'
    value='-1'/><property name='adaptiveLastN' value='false'/><property
    name='disableRtx' value='true'/><property name='enableLipSync'
    value='true'/><property name='openSctp' value='true'/><property
    name='simulcastMode' value='rewriting'/></conference></iq></body>
    ----------
    Sep 27 18:30:18 mod_bosh debug BOSH body open (sid:
    6f3c872d-1f3b-4249-9e92-8dbdacedd509)
    Sep 27 18:30:18 mod_bosh debug BOSH stanza received: <iq
    id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='set'
    to='focus.conference.example.com
    <http://focus.conference.example.com>'>

    Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug
    Received[c2s]: <iq id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'
    type='set' to='focus.conference.example.com
    <http://focus.conference.example.com>'>
    Sep 27 18:30:18 mod_bosh debug Session
    6f3c872d-1f3b-4249-9e92-8dbdacedd509 has 2 out of 1 requests open
    Sep 27 18:30:18 mod_bosh debug and there are 0 things in the
    send_buffer:
    Sep 27 18:30:18 mod_bosh debug We are holding too many requests,
    so...
    Sep 27 18:30:18 mod_bosh debug ...sending an empty response
    Sep 27 18:30:18 mod_bosh debug We have an open request, so
    sending
    on that
    Sep 27 18:30:18 mod_bosh debug Request destroyed: table:
    0x2bcd080
    Sep 27 18:30:18 socket debug server.lua: closed client handler and
    removed socket from list
    Sep 27 18:30:18 mod_bosh debug Have nothing to say, so leaving
    request unanswered for now
    Sep 27 18:30:18 jcp2a8a360 debug Received[component]: <iq
    id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='error'

    to='9ae1a918-8a1b-4b13-ba56-207db63999ba@support.conference.example.com/2dc20dc8-5191-493b-ab13-748dafdf994c
    <mailto:9ae1a918-8a1b-4b13-ba56-207db63999ba@support.conference.example.com/2dc20dc8-5191-493b-ab13-748dafdf994c>'
    from='focus.conference.example.com
    <http://focus.conference.example.com>'>
    Sep 27 18:30:18 mod_bosh debug We have an open request, so
    sending
    on that
    Sep 27 18:30:18 mod_bosh debug Request destroyed: table:
    0x2adbf20
    Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug
    BOSH
    session marked as inactive (for 60s)
    Sep 27 18:30:18 socket debug server.lua: closed client handler and
    removed socket from list

    I need at least to have this working, and I'm stuck, have you some ideas
    ?
    jitsi meet is really good ! I'll be glad is I can have this working :slight_smile:

    Config files :

    (I have tried with and without cross domain and consider bosh secure)

    cross_domain_bosh = true
    consider_bosh_secure = true

    VirtualHost "conference.example.com <http://conference.example.com>"
          authentication = "internal_plain"
          --authentication = "anonymous"
          --authentication = "sql"

    VirtualHost "support.conference.example.com
    <http://support.conference.example.com>"
          authentication = "anonymous"

    VirtualHost "auth.conference.example.com <http://auth.conference.example.com>"
          authentication = "internal_plain"

    admins = {"focus@auth.conference.example.com"
    <mailto:focus@auth.conference.example.com> }

    Component "conference.conference.example.com
    <http://conference.conference.example.com>" "muc"
    Component "jitsi-videobridge.conference.example.com
    <http://jitsi-videobridge.conference.example.com>"
              component_secret = "secret"
    Component "focus.conference.example.com
    <http://focus.conference.example.com>"
              component_secret = "secret"

    In jicofo

    /etc/jitsi/jicofo/sip-communicator.properties

    org.jitsi.jicofo.auth.URL=XMPP:conference.example.com <http://conference.example.com>

    Apache:

    <VirtualHost *:80>
          ServerNameconference.example.com <http://conference.example.com>

          DocumentRoot "/var/www/srv/2/conference.example.com <http://conference.example.com>"

          SSLProxyEngine On
          RewriteEngine On
          RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+$
          RewriteRule ^/(.*)$ / [PT]
          RewriteRule ^/http-bind$
    https://conference.example.com:5281/http-bind
    <https://conference.example.com:5281/http-bind>
    [P,L]

    </Virtualhost>

    <VirtualHost *:443>
          ServerNameconference.example.com <http://conference.example.com>

          DocumentRoot "/var/www/srv/2/conference.example.com <http://conference.example.com>"

          SSLProxyEngine On
          SSLEngine on
          SSLCertificateFile /etc/apache2/ssl/ca.crt
          SSLCertificateKeyFile /etc/apache2/ssl/ca.key

          RewriteEngine On
          RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+$
          RewriteRule ^/(.*)$ / [PT]
          RewriteRule ^/http-bind$
    https://conference.example.com:5281/http-bind
    <https://conference.example.com:5281/http-bind>
    [P,L]

    </Virtualhost>

    _______________________________________________
    dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org>
    Unsubscribe instructions and other list options:
    http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

    _______________________________________________
    dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org>
    Unsubscribe instructions and other list options:
    http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

    _______________________________________________
    dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org>
    Unsubscribe instructions and other list options:
    http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

    _______________________________________________
    dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org>
    Unsubscribe instructions and other list options:
    http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

    _______________________________________________ dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org> Unsubscribe instructions
    and other list options:
    http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

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

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

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


#11

Did you try the apache settings I've sent you, the mail from Lyubomir?
You can try digital ocean, there is a low specification machine for 5$ for
a month.

Regards
damencho

Sorry to bump again, but I need this :slight_smile:

I consider to test again on another server where I can use nginx instead of
apache,

so :

1 - can you help with the latest log, or just throw me ideas ?

2 - have you a hint where I can test this on virtual server, for free, or
really low price ?

juste to install the "quick way" on debian or ubuntu (but not locally ^^)

Thanks

hi again,
someone has an idea for me ? :slight_smile:

Thanks a lot !

I have tried another time, and paste here jicofo logs

1 - open browser

2 - send the auth (focus@auth.conference.example.com)

3 - wait until error

4 - repeat step 2 and 3 once

Just one warning, could be related ?

Nicolas

Jicofo 2016-09-29 06:17:16.975 INFO: [10]
org.jitsi.service.libjitsi.LibJitsi.log()
Successfully started LibJitsi using as implementation:
org.jitsi.impl.libjitsi.LibJitsiOSGiImpl
Jicofo 2016-09-29 06:17:16.990 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
org.jitsi.jicofo.HOSTNAME=localhost
Jicofo 2016-09-29 06:17:16.991 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.runtime.name=OpenJDK Runtime Environment
Jicofo 2016-09-29 06:17:16.991 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.boot.library.path=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64
Jicofo 2016-09-29 06:17:16.991 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vm.version=24.111-b01
Jicofo 2016-09-29 06:17:16.991 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vm.vendor=Oracle Corporation
Jicofo 2016-09-29 06:17:16.991 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vendor.url=http://java.oracle.com/
Jicofo 2016-09-29 06:17:16.991 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
path.separator=:
Jicofo 2016-09-29 06:17:16.991 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.util.logging.config.file=/etc/jitsi/jicofo/logging.properties
Jicofo 2016-09-29 06:17:16.991 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vm.name=OpenJDK 64-Bit Server VM
Jicofo 2016-09-29 06:17:16.992 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
file.encoding.pkg=sun.io
Jicofo 2016-09-29 06:17:16.992 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
user.country=US
Jicofo 2016-09-29 06:17:16.992 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.java.launcher=SUN_STANDARD
Jicofo 2016-09-29 06:17:16.992 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.os.patch.level=unknown
Jicofo 2016-09-29 06:17:16.992 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
net.java.sip.communicator.service.media.DISABLE_AUDIO_SUPPORT=true
Jicofo 2016-09-29 06:17:16.992 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vm.specification.name=Java Virtual Machine Specification
Jicofo 2016-09-29 06:17:16.992 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
user.dir=/usr/share/jicofo
Jicofo 2016-09-29 06:17:16.992 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
org.jitsi.jicofo.FOCUS_USER_PASSWORD=**********
Jicofo 2016-09-29 06:17:16.993 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.runtime.version=1.7.0_111-b01
Jicofo 2016-09-29 06:17:16.993 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
Jicofo 2016-09-29 06:17:16.993 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.endorsed.dirs=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/endorsed
Jicofo 2016-09-29 06:17:16.993 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
os.arch=amd64
Jicofo 2016-09-29 06:17:16.993 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.io.tmpdir=/tmp
Jicofo 2016-09-29 06:17:16.993 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
line.separator=

Jicofo 2016-09-29 06:17:16.993 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vm.specification.vendor=Oracle Corporation
Jicofo 2016-09-29 06:17:16.993 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
os.name=Linux
Jicofo 2016-09-29 06:17:16.994 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.jnu.encoding=UTF-8
Jicofo 2016-09-29 06:17:16.994 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
net.java.sip.communicator.CONFIGURATION_FILE_IS_READ_ONLY=true
Jicofo 2016-09-29 06:17:16.994 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
org.jitsi.jicofo.FOCUS_USER_DOMAIN=auth.conference.example.com
Jicofo 2016-09-29 06:17:16.994 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.library.path=/usr/share/jicofo/lib/native/linux-64
Jicofo 2016-09-29 06:17:16.994 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.specification.name=Java Platform API Specification
Jicofo 2016-09-29 06:17:16.994 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.class.version=51.0
Jicofo 2016-09-29 06:17:16.994 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
org.jitsi.service.audionotifier.AudioNotifierService=org.
jitsi.impl.neomedia.notify.AudioNotifierServiceImpl
Jicofo 2016-09-29 06:17:16.994 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
os.version=4.4.0-1-grsec-amd64
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
user.home=/usr/share/jicofo
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
user.timezone=Europe/Paris
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.awt.printerjob=sun.print.PSPrinterJob
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
org.jitsi.jicofo.FOCUS_USER_NAME=focus
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
file.encoding=UTF-8
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.specification.version=1.7
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
net.java.sip.communicator.service.media.DISABLE_VIDEO_SUPPORT=true
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
org.jitsi.jicofo.XMPP_DOMAIN=conference.example.com
Jicofo 2016-09-29 06:17:16.996 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.class.path=/usr/share/jicofo/jicofo.jar:/usr/share/
jicofo/lib/agafua-syslog-0.4.jar:/usr/share/jicofo/lib/
bccontrib-1.0.jar:/usr/share/jicofo/lib/bcpkix-jdk15on-1. Jicofo 2016\-09\-29 06:17:16\.996 INFO: \[10\] org\.jitsi\.impl\.configuration\.ConfigurationServiceImpl\.log\(\) user\.name=jicofo Jicofo 2016\-09\-29 06:17:16\.996 INFO: \[10\] org\.jitsi\.impl\.configuration\.ConfigurationServiceImpl\.log\(\) java\.vm\.specification\.version=1\.7 Jicofo 2016\-09\-29 06:17:16\.997 INFO: \[10\] org\.jitsi\.impl\.configuration\.ConfigurationServiceImpl\.log\(\) sun\.java\.command=org\.jitsi\.jicofo\.Main \-\-host=localhost \-\-domain= conference\.example\.com \-\-port=5347 \-\-secret=X \-\-user\_domain=auth\.conference\. example\.com \-\-user\_password=X Jicofo 2016\-09\-29 06:17:16\.997 INFO: \[10\] org\.jitsi\.impl\.configuration\.ConfigurationServiceImpl\.log\(\) java\.home=/usr/lib/jvm/java\-7\-openjdk\-amd64/jre Jicofo 2016\-09\-29 06:17:16\.997 INFO: \[10\] org\.jitsi\.impl\.configuration\.ConfigurationServiceImpl\.log\(\) sun\.arch\.data\.model=64 Jicofo 2016\-09\-29 06:17:16\.997 INFO: \[10\] org\.jitsi\.impl\.configuration\.ConfigurationServiceImpl\.log\(\) user\.language=en Jicofo 2016\-09\-29 06:17:16\.998 INFO: \[10\] org\.jitsi\.impl\.configuration\.ConfigurationServiceImpl\.log\(\) java\.specification\.vendor=Oracle Corporation Jicofo 2016\-09\-29 06:17:16\.998 INFO: \[10\] org\.jitsi\.impl\.configuration\.ConfigurationServiceImpl\.log\(\) awt\.toolkit=sun\.awt\.X11\.XToolkit Jicofo 2016\-09\-29 06:17:16\.998 INFO: \[10\] org\.jitsi\.impl\.configuration\.ConfigurationServiceImpl\.log\(\) java\.vm\.info=mixed mode Jicofo 2016\-09\-29 06:17:16\.998 INFO: \[10\] org\.jitsi\.impl\.configuration\.ConfigurationServiceImpl\.log\(\) java\.version=1\.7\.0\_111 Jicofo 2016\-09\-29 06:17:16\.998 INFO: \[10\] org\.jitsi\.impl\.configuration\.ConfigurationServiceImpl\.log\(\) java\.ext\.dirs=/usr/lib/jvm/java\-7\-openjdk\-amd64/jre/lib/ ext:/usr/java/packages/lib/ext Jicofo 2016\-09\-29 06:17:16\.998 INFO: \[10\] org\.jitsi\.impl\.configuration\.ConfigurationServiceImpl\.log\(\) 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/s
Jicofo 2016-09-29 06:17:16.999 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
net.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi
Jicofo 2016-09-29 06:17:16.999 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vendor=Oracle Corporation
Jicofo 2016-09-29 06:17:16.999 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
file.separator=/
Jicofo 2016-09-29 06:17:16.999 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
net.java.sip.communicator.SC_HOME_DIR_NAME=jicofo
Jicofo 2016-09-29 06:17:16.999 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
Jicofo 2016-09-29 06:17:17.000 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.io.unicode.encoding=UnicodeLittle
Jicofo 2016-09-29 06:17:17.000 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.cpu.endian=little
Jicofo 2016-09-29 06:17:17.000 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
net.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi
Jicofo 2016-09-29 06:17:17.000 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.cpu.isalist=
Jicofo 2016-09-29 06:17:17.001 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
Normal classloader
Jicofo 2016-09-29 06:17:17.001 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
failed to find jitsi-defaults.properties with class loader, will continue
without it.
Jicofo 2016-09-29 06:17:17.001 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
Normal classloader
Jicofo 2016-09-29 06:17:17.002 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
failed to find jitsi-default-overrides.properties with class loader, will
continue without it.
Jicofo 2016-09-29 06:17:17.058 INFO: [10] impl.netaddr.
NetworkAddressManagerServiceImpl.start().92 Network Address Manager
...[ STARTED ]
Jicofo 2016-09-29 06:17:17.058 INFO: [10] impl.netaddr.
NetworkAddressManagerServiceImpl.start().98 Network Address Manager Service
...[REGISTERED]
Jicofo 2016-09-29 06:17:17.062 INFO: [10] org.jitsi.version.
AbstractVersionActivator.start().119 JiCoFo Version: JiCoFo 1.0.1.0-296
Jicofo 2016-09-29 06:17:17.163 INFO: [10] org.jitsi.jicofo.
JitsiMeetGlobalConfig.init().170 Automatically grant 'owner' role: true
Jicofo 2016-09-29 06:17:17.163 INFO: [10] org.jitsi.jicofo.
JitsiMeetGlobalConfig.init().183 Jibri requests in PENDING state will be
timed out after: 90 seconds
Jicofo 2016-09-29 06:17:17.163 INFO: [10] org.jitsi.jicofo.
JitsiMeetGlobalConfig.init().197 Lonely participants will be "terminated"
after 20000 milliseconds
Jicofo 2016-09-29 06:17:17.180 INFO: [10]
org.jitsi.jicofo.BridgeSelector.init().542
Bridge failure reset threshold: 300000
Jicofo 2016-09-29 06:17:17.190 INFO: [10] org.jitsi.jicofo.auth.
AuthBundleActivator.start().210 Starting authentication service... URL:
XMPP:conference.example.com
Jicofo 2016-09-29 06:17:17.191 INFO: [10] org.jitsi.jicofo.auth.
AbstractAuthAuthority.<init>().122 Authentication lifetime: 86400000
Jicofo 2016-09-29 06:17:17.191 INFO: [10] org.jitsi.jicofo.auth.
AuthBundleActivator.start().237 Auth authority: org.jitsi.jicofo.auth.
XMPPDomainAuthAuthority@5052d4df
Jicofo 2016-09-29 06:17:17.255 INFO: [10]
org.eclipse.jetty.server.Server.doStart()
jetty-8.1.16.v20140903
Jicofo 2016-09-29 06:17:17.274 INFO: [10]
org.eclipse.jetty.server.AbstractConnector.doStart()
Started SelectChannelConnector@0.0.0.0:8888
Jicofo 2016-09-29 06:17:17.276 INFO: [1]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
org.jitsi.jicofo.auth.URL=XMPP:conference.example.com
Jicofo 2016-09-29 06:17:17.280 INFO: [1]
org.jitsi.xmpp.component.ComponentBase.loadConfig().176
Component org.jitsi.jicofo. config:
Jicofo 2016-09-29 06:17:17.280 INFO: [1] org.jitsi.xmpp.component.
ComponentBase.loadConfig().177 ping interval: 10000 ms
Jicofo 2016-09-29 06:17:17.280 INFO: [1] org.jitsi.xmpp.component.
ComponentBase.loadConfig().178 ping timeout: 5000 ms
Jicofo 2016-09-29 06:17:17.281 INFO: [1] org.jitsi.xmpp.component.
ComponentBase.loadConfig().179 ping threshold: 3
Jicofo 2016-09-29 06:17:17.488 INFO: [16] org.jitsi.jicofo.
ComponentsDiscovery.discoverServices().267 New component discovered:
auth.conference.example.com, Version[Prosody(0.9.7,Linux)@2000246765
Jicofo 2016-09-29 06:17:17.488 INFO: [16] org.jitsi.jicofo.
JitsiMeetServices.newNodeDiscovered().244 Detected XMPP server version:
Version[Prosody(0.9.7,Linux)@2000246765
Jicofo 2016-09-29 06:17:17.489 INFO: [16] org.jitsi.jicofo.
ComponentsDiscovery.discoverServices().267 New component discovered:
conference.conference.example.com, null
Jicofo 2016-09-29 06:17:17.489 INFO: [16] org.jitsi.jicofo.
JitsiMeetServices.newNodeDiscovered().236 MUC component discovered:
conference.conference.example.com
Jicofo 2016-09-29 06:17:17.491 INFO: [16] org.jitsi.jicofo.
ComponentsDiscovery.discoverServices().267 New component discovered:
support.conference.example.com, Version[Prosody(0.9.7,Linux)@-297195133
Jicofo 2016-09-29 06:17:17.496 INFO: [16] org.jitsi.jicofo.
ComponentsDiscovery.discoverServices().267 New component discovered:
focus.conference.example.com, null
Jicofo 2016-09-29 06:17:17.499 INFO: [16] org.jitsi.jicofo.
ComponentsDiscovery.scheduleRediscovery().190 Services re-discovery
interval: 30000
Jicofo 2016-09-29 06:17:17.499 INFO: [16]
org.jitsi.jicofo.FocusManager.registrationStateChanged().541
XMPP provider reg state: RegistrationState=Registered
Jicofo 2016-09-29 06:17:17.499 INFO: [16]
org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.log()
XMPP provider Jabber:focus@auth.conference.example.com/
focus12606626156489147@localhost connected (JID:
focus@auth.conference.example.com/focus12606626156489147)
Jicofo 2016-09-29 06:17:38.636 INFO: [51] org.jitsi.jicofo.xmpp.
FocusComponent.handleConferenceIq().416 Focus request for room:
vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:43.956 INFO: [53] org.jitsi.jicofo.xmpp.
FocusComponent.handleConferenceIq().416 Focus request for room:
vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:47.568 INFO: [40] org.jitsi.jicofo.
ComponentsDiscovery.discoverServices().267 New component discovered:
jitsi-videobridge.conference.example.com, Version[JVB(0.1.808,Linux)@-
891780935
Jicofo 2016-09-29 06:17:47.568 INFO: [40] org.jitsi.jicofo.
BridgeSelector.addJvbAddress().148 Added videobridge:
jitsi-videobridge.conference.example.com v: Version[JVB(0.1.808,Linux)@-
891780935
*Jicofo 2016-09-29 06:17:47.569 WARNING: [40]
org.jitsi.jicofo.BridgeSelector.addJvbAddress().160 No pub-sub node mapped
for jitsi-videobridge.conference.example.com
<http://jitsi-videobridge.conference.example.com>*
Jicofo 2016-09-29 06:17:47.572 INFO: [60] org.jitsi.jicofo.JvbDoctor.log()
Scheduled health-check task for: jitsi-videobridge.conference.example.com
Jicofo 2016-09-29 06:17:48.030 INFO: [63] org.jitsi.jicofo.xmpp.
FocusComponent.handleConferenceIq().416 Focus request for room:
vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:49.190 INFO: [65] org.jitsi.jicofo.xmpp.
FocusComponent.handleConferenceIq().416 Focus request for room:
vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:54.341 INFO: [67] org.jitsi.jicofo.xmpp.
FocusComponent.handleConferenceIq().416 Focus request for room:
vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:54.514 INFO: [69] org.jitsi.jicofo.xmpp.
FocusComponent.handleConferenceIq().416 Focus request for room:
vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:59.609 INFO: [76] org.jitsi.jicofo.xmpp.
FocusComponent.handleConferenceIq().416 Focus request for room:
vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:04.781 INFO: [39] org.jitsi.jicofo.xmpp.
FocusComponent.handleConferenceIq().416 Focus request for room:
vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:10.191 INFO: [47] org.jitsi.jicofo.xmpp.
FocusComponent.handleConferenceIq().416 Focus request for room:
vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:15.448 INFO: [49] org.jitsi.jicofo.xmpp.
FocusComponent.handleConferenceIq().416 Focus request for room:
vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:20.825 INFO: [57] org.jitsi.jicofo.xmpp.
FocusComponent.handleConferenceIq().416 Focus request for room:
vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:25.984 INFO: [59] org.jitsi.jicofo.xmpp.
FocusComponent.handleConferenceIq().416 Focus request for room:
vvoo@conference.conference.example.com

What about jicofo logs, is there anything interesting? Seems there is an
error coming, but not forwarded to the client for some reason.

···

On Oct 6, 2016 04:50, "Nicolas" <nicolas@kaizendo.fr> wrote:
Le 04/10/2016 à 07:12, Nicolas a écrit :
Le 29/09/2016 à 06:32, Nicolas a écrit :
Le 28/09/2016 à 14:59, Damian Minkov a écrit :

On Sep 28, 2016 03:33, "Nicolas" <nicolas@kaizendo.fr> wrote:

According to this, if I understand it correctly, headers are good by
default

http://httpd.apache.org/docs/2.4/mod/mod_proxy.html#x-headers
I have tried to add headers with mod_header, also ProxyPreserveHost
directive
and some parameter to the proxy worker, I have tried one by one, and so
far no luck, same error...

    ProxyPreserveHost on
    ProxyPass "/http-bind" "https://conference.example.com:5281/http-bind"
<https://conference.example.com:5281/http-bind> connectiontimeout=5
timeout=30 keepalive=on
    ProxyPassReverse "/http-bind" "https://conference.example.co
m:5281/http-bind" <https://conference.example.com:5281/http-bind>

    Header set X-Forwarded-For %{REMOTE_ADDR}s
    Header set Host %{HTTP_HOST}s

I add to the conf.d in prosody

bosh_max_inactivity = 60000

And logs are now :

Sep 28 09:38:22 bosh70934816-8c8c-4971-98c0-4706feea5d39 debug
Received[c2s]: <iq id='dcd2fee8-02e2-4e3f-8d89-54d03a84fb6e:sendIQ'
type='set' to='focus.conference.example.com'>
Sep 28 09:38:22 mod_bosh debug Session
70934816-8c8c-4971-98c0-4706feea5d39 has 2 out of 1 requests open
Sep 28 09:38:22 mod_bosh debug and there are 0 things in the
send_buffer:
*Sep 28 09:38:22 mod_bosh debug We are holding too many requests,
so...*
*Sep 28 09:38:22 mod_bosh debug ...sending an empty response*
Sep 28 09:38:22 mod_bosh debug We have an open request, so
sending on that
Sep 28 09:38:22 mod_bosh debug Request destroyed: table: 0x282a920
Sep 28 09:38:22 mod_bosh debug Have nothing to say, so leaving
request unanswered for now
Sep 28 09:38:22 jcp27013d0 debug Received[component]: <iq
id='dcd2fee8-02e2-4e3f-8d89-54d03a84fb6e:sendIQ' type='error' to='
d81cf401-c431-4702-b321-0347016666de@support.conference.
example.com/ec36984c-0671-4119-9af9-0df23ba2520f' from='
focus.conference.example.com'>
Sep 28 09:38:22 mod_bosh debug We have an open request, so
sending on that
Sep 28 09:38:22 mod_bosh debug Request destroyed: table: 0x2832290
Sep 28 09:38:22 bosh70934816-8c8c-4971-98c0-4706feea5d39 *debug
BOSH session marked as inactive (for 60000s)*

I don't know if it's better :slight_smile:
I have tested again to be sure, with the proxy settings (instead of the
rewrite) and all works fine without the secure domain

ressources :
http://httpd.apache.org/docs/2.4/mod/mod_proxy.html
http://httpd.apache.org/docs/current/mod/mod_headers.html
http://httpd.apache.org/docs/current/mod/mod_ssl.html#envvars
Le 27/09/2016 à 20:54, Damian Minkov a écrit :

There is an old thread about that by Lyubomir:http://lists.jitsi.org/pipermail/dev/2014-February/019946.html

On Tue, Sep 27, 2016 at 1:32 PM, Nicolas <nicolas@kaizendo.fr> <nicolas@kaizendo.fr> wrote:

Hi :slight_smile:

I have tried to add all infos to my first mail but I forget some, first,
jicofo and videobridge are installed from the deb repo.
And, for apache, I use the prosody bosh conf pagehttps://prosody.im/doc/setting_up_bosh#cross-domain_issues

You right about the headers, I can't tell if the rewrite method is taking
care of them

I will try with the proxy directive instead of the rewrite, if someone as a
working apache conf, it's even better .

thanks

Nicolas

Le 27/09/2016 à 20:08, Damian Minkov a écrit :

Hi,

Maybe you have problems with the bosh connection. I'm not sure, but I
think your config is not equal to the one used for nginx:
https://github.com/jitsi/jitsi-meet/blob/master/doc/debian/jitsi-meet/jitsi-meet.example#L42
Nginx is actually proxying the connection and setting some headers,
not sure whether this apache rewrites are the same, you can check
that.

Regards
damencho

On Tue, Sep 27, 2016 at 11:53 AM, Nicolas <nicolas@kaizendo.fr> <nicolas@kaizendo.fr> wrote:

Hi !
First post here, I hope it's the right place.

I post to dev, because I have done lot of tests, and I need help.

I use jitsi-meet from source, jicofo and videobridge from nightly build
(I
have encourter a null java error fixed recently in jicofo)

I use Apache instead of nginx - apache vhost is at the end of this mail
-

All works fine with the anonymous (default) settings, but...

I follow the manual installation guide for jitsi meet, and the secure
domain
guide of jicofo

When I try to open a new room, I have the credentials windows, I use the
focus creds, but I can't have a conference :

The error on the auth windows is :

Get id session error : undefined

the error on the firefox console (tested also with chromium)

Auth on the fly failed <iq
id="20e60667-daa4-43d4-8789-3abbdf8f6364:sendIQ"
type="error"

to="focus@auth.conference.example.com/9f7c63c0-512b-41c6-900e-4864656da885" <focus@auth.conference.example.com/9f7c63c0-512b-41c6-900e-4864656da885>
from="focus.conference.example.com" xmlns="jabber:client">

In the prosody log, I have this wired line, but I'm not sure if it's
related
:
debug BOSH session marked as inactive (for 60s)

Complete log sequence :

Sep 27 18:30:18 socket debug server.lua: auto-starting ssl
negotiation...
Sep 27 18:30:18 socket debug server.lua: attempting to start tls on
tcp{client}: 0x2dd4de8
Sep 27 18:30:18 socket debug server.lua: accepted new client
connection
from xxx.xxx.xxx.xxx:49364 to 5281
Sep 27 18:30:18 socket debug server.lua: ssl handshake done
Sep 27 18:30:18 mod_bosh debug Handling new request table:
0x2d558e0: <body rid='29554595'
xmlns='http://jabber.org/protocol/httpbind'
sid='6f3c872d-1f3b-4249-9e92-8dbdacedd509'><iq
to='focus.conference.example.com' type='set' xmlns='jabber:client'
id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'><conference
xmlns='http://jitsi.org/protocol/focus'
room='test@conference.conference.example.com'
machine-uid='cfbc8b3c403ea75ecf44c2c340c5ef7d'><property
name='channelLastN'
value='-1'/><property name='adaptiveLastN' value='false'/><property
name='disableRtx' value='true'/><property name='enableLipSync'
value='true'/><property name='openSctp' value='true'/><property
name='simulcastMode' value='rewriting'/></conference></iq></body>
----------
Sep 27 18:30:18 mod_bosh debug BOSH body open (sid:
6f3c872d-1f3b-4249-9e92-8dbdacedd509)
Sep 27 18:30:18 mod_bosh debug BOSH stanza received: <iq
id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='set'
to='focus.conference.example.com'>

Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug
Received[c2s]: <iq id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'
type='set' to='focus.conference.example.com'>
Sep 27 18:30:18 mod_bosh debug Session
6f3c872d-1f3b-4249-9e92-8dbdacedd509 has 2 out of 1 requests open
Sep 27 18:30:18 mod_bosh debug and there are 0 things in the
send_buffer:
Sep 27 18:30:18 mod_bosh debug We are holding too many requests,
so...
Sep 27 18:30:18 mod_bosh debug ...sending an empty response
Sep 27 18:30:18 mod_bosh debug We have an open request, so
sending
on that
Sep 27 18:30:18 mod_bosh debug Request destroyed: table:
0x2bcd080
Sep 27 18:30:18 socket debug server.lua: closed client handler and
removed socket from list
Sep 27 18:30:18 mod_bosh debug Have nothing to say, so leaving
request unanswered for now
Sep 27 18:30:18 jcp2a8a360 debug Received[component]: <iq
id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='error'

to='9ae1a918-8a1b-4b13-ba56-207db63999ba@support.conference.example.com/2dc20dc8-5191-493b-ab13-748dafdf994c'
from='focus.conference.example.com'>
Sep 27 18:30:18 mod_bosh debug We have an open request, so
sending
on that
Sep 27 18:30:18 mod_bosh debug Request destroyed: table:
0x2adbf20
Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug
BOSH
session marked as inactive (for 60s)
Sep 27 18:30:18 socket debug server.lua: closed client handler and
removed socket from list

I need at least to have this working, and I'm stuck, have you some ideas
?
jitsi meet is really good ! I'll be glad is I can have this working :slight_smile:

Config files :

(I have tried with and without cross domain and consider bosh secure)

cross_domain_bosh = true
consider_bosh_secure = true

VirtualHost "conference.example.com"
     authentication = "internal_plain"
     --authentication = "anonymous"
     --authentication = "sql"

VirtualHost "support.conference.example.com"
     authentication = "anonymous"

VirtualHost "auth.conference.example.com"
     authentication = "internal_plain"

admins = { "focus@auth.conference.example.com" <focus@auth.conference.example.com> }

Component "conference.conference.example.com" "muc"
Component "jitsi-videobridge.conference.example.com"
         component_secret = "secret"
Component "focus.conference.example.com"
         component_secret = "secret"

In jicofo

/etc/jitsi/jicofo/sip-communicator.properties

org.jitsi.jicofo.auth.URL=XMPP:conference.example.com

Apache:

<VirtualHost *:80>
     ServerName conference.example.com

     DocumentRoot "/var/www/srv/2/conference.example.com"

     SSLProxyEngine On
     RewriteEngine On
     RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RewriteRule ^/\(\.\*\) / [PT]
     RewriteRule ^/http-bind$https://conference.example.com:5281/http-bind
[P,L]

</Virtualhost>

<VirtualHost *:443>
     ServerName conference.example.com

     DocumentRoot "/var/www/srv/2/conference.example.com"

     SSLProxyEngine On
     SSLEngine on
     SSLCertificateFile /etc/apache2/ssl/ca.crt
     SSLCertificateKeyFile /etc/apache2/ssl/ca.key

     RewriteEngine On
     RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RewriteRule ^/\(\.\*\) / [PT]
     RewriteRule ^/http-bind$https://conference.example.com:5281/http-bind
[P,L]

</Virtualhost>

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

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

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

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

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

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

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

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

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


#12

Yes, I've tried, with the proxy directive,

in fact, this is working now with proxy instead of rewriting, but only without secure domain

I just have this ontime warning
*Jicofo 2016-09-29 06:17:47.569 WARNING: [40] org.jitsi.jicofo.BridgeSelector.addJvbAddress().160 No pub-sub node mapped for jitsi-videobridge.conference.example.com <http://jitsi-videobridge.conference.example.com>

···

*
Le 06/10/2016 à 16:41, Damian Minkov a écrit :

Did you try the apache settings I've sent you, the mail from Lyubomir?
You can try digital ocean, there is a low specification machine for 5$ for a month.

Regards
damencho

On Oct 6, 2016 04:50, "Nicolas" <nicolas@kaizendo.fr > <mailto:nicolas@kaizendo.fr>> wrote:

    Sorry to bump again, but I need this :slight_smile:

    I consider to test again on another server where I can use nginx
    instead of apache,

    so :

    1 - can you help with the latest log, or just throw me ideas ?

    2 - have you a hint where I can test this on virtual server, for
    free, or really low price ?

    juste to install the "quick way" on debian or ubuntu (but not
    locally ^^)

    Thanks

    Le 04/10/2016 à 07:12, Nicolas a écrit :

    hi again,

    someone has an idea for me ? :slight_smile:

    Thanks a lot !

    Le 29/09/2016 à 06:32, Nicolas a écrit :

    I have tried another time, and paste here jicofo logs

    1 - open browser

    2 - send the auth (focus@auth.conference.example.com
    <mailto:focus@auth.conference.example.com>)

    3 - wait until error

    4 - repeat step 2 and 3 once

    Just one warning, could be related ?

    Nicolas

    Jicofo 2016-09-29 06:17:16.975 INFO: [10]
    org.jitsi.service.libjitsi.LibJitsi.log() Successfully started
    LibJitsi using as implementation:
    org.jitsi.impl.libjitsi.LibJitsiOSGiImpl
    Jicofo 2016-09-29 06:17:16.990 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    org.jitsi.jicofo.HOSTNAME=localhost
    Jicofo 2016-09-29 06:17:16.991 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.runtime.name <http://java.runtime.name>=OpenJDK Runtime
    Environment
    Jicofo 2016-09-29 06:17:16.991 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    sun.boot.library.path=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64
    Jicofo 2016-09-29 06:17:16.991 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.vm.version=24.111-b01
    Jicofo 2016-09-29 06:17:16.991 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.vm.vendor=Oracle Corporation
    Jicofo 2016-09-29 06:17:16.991 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.vendor.url=http://java.oracle.com/
    Jicofo 2016-09-29 06:17:16.991 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    path.separator=:
    Jicofo 2016-09-29 06:17:16.991 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.util.logging.config.file=/etc/jitsi/jicofo/logging.properties
    Jicofo 2016-09-29 06:17:16.991 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.vm.name <http://java.vm.name>=OpenJDK 64-Bit Server VM
    Jicofo 2016-09-29 06:17:16.992 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    file.encoding.pkg=sun.io <http://sun.io>
    Jicofo 2016-09-29 06:17:16.992 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    user.country=US
    Jicofo 2016-09-29 06:17:16.992 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    sun.java.launcher=SUN_STANDARD
    Jicofo 2016-09-29 06:17:16.992 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    sun.os.patch.level=unknown
    Jicofo 2016-09-29 06:17:16.992 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    net.java.sip.communicator.service.media.DISABLE_AUDIO_SUPPORT=true
    Jicofo 2016-09-29 06:17:16.992 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.vm.specification.name
    <http://java.vm.specification.name>=Java Virtual Machine
    Specification
    Jicofo 2016-09-29 06:17:16.992 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    user.dir=/usr/share/jicofo
    Jicofo 2016-09-29 06:17:16.992 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    org.jitsi.jicofo.FOCUS_USER_PASSWORD=**********
    Jicofo 2016-09-29 06:17:16.993 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.runtime.version=1.7.0_111-b01
    Jicofo 2016-09-29 06:17:16.993 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
    Jicofo 2016-09-29 06:17:16.993 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.endorsed.dirs=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/endorsed
    Jicofo 2016-09-29 06:17:16.993 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    os.arch=amd64
    Jicofo 2016-09-29 06:17:16.993 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.io.tmpdir=/tmp
    Jicofo 2016-09-29 06:17:16.993 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    line.separator=

    Jicofo 2016-09-29 06:17:16.993 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.vm.specification.vendor=Oracle Corporation
    Jicofo 2016-09-29 06:17:16.993 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    os.name <http://os.name>=Linux
    Jicofo 2016-09-29 06:17:16.994 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    sun.jnu.encoding=UTF-8
    Jicofo 2016-09-29 06:17:16.994 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    net.java.sip.communicator.CONFIGURATION_FILE_IS_READ_ONLY=true
    Jicofo 2016-09-29 06:17:16.994 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    org.jitsi.jicofo.FOCUS_USER_DOMAIN=auth.conference.example.com
    <http://auth.conference.example.com>
    Jicofo 2016-09-29 06:17:16.994 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.library.path=/usr/share/jicofo/lib/native/linux-64
    Jicofo 2016-09-29 06:17:16.994 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.specification.name <http://java.specification.name>=Java
    Platform API Specification
    Jicofo 2016-09-29 06:17:16.994 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.class.version=51.0
    Jicofo 2016-09-29 06:17:16.994 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    org.jitsi.service.audionotifier.AudioNotifierService=org.jitsi.impl.neomedia.notify.AudioNotifierServiceImpl
    Jicofo 2016-09-29 06:17:16.994 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    sun.management.compiler=HotSpot 64-Bit Tiered Compilers
    Jicofo 2016-09-29 06:17:16.995 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    os.version=4.4.0-1-grsec-amd64
    Jicofo 2016-09-29 06:17:16.995 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    user.home=/usr/share/jicofo
    Jicofo 2016-09-29 06:17:16.995 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    user.timezone=Europe/Paris
    Jicofo 2016-09-29 06:17:16.995 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.awt.printerjob=sun.print.PSPrinterJob
    Jicofo 2016-09-29 06:17:16.995 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    org.jitsi.jicofo.FOCUS_USER_NAME=focus
    Jicofo 2016-09-29 06:17:16.995 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    file.encoding=UTF-8
    Jicofo 2016-09-29 06:17:16.995 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.specification.version=1.7
    Jicofo 2016-09-29 06:17:16.995 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    net.java.sip.communicator.service.media.DISABLE_VIDEO_SUPPORT=true
    Jicofo 2016-09-29 06:17:16.995 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    org.jitsi.jicofo.XMPP_DOMAIN=conference.example.com
    <http://conference.example.com>
    Jicofo 2016-09-29 06:17:16.996 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.class.path=/usr/share/jicofo/jicofo.jar:/usr/share/jicofo/lib/agafua-syslog-0.4.jar:/usr/share/jicofo/lib/bccontrib-1.0.jar:/usr/share/jicofo/lib/bcpkix-jdk15on-1.$
    Jicofo 2016-09-29 06:17:16.996 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    user.name <http://user.name>=jicofo
    Jicofo 2016-09-29 06:17:16.996 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.vm.specification.version=1.7
    Jicofo 2016-09-29 06:17:16.997 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    sun.java.command=org.jitsi.jicofo.Main --host=localhost
    --domain=conference.example.com <http://conference.example.com>
    --port=5347 --secret=X
    --user_domain=auth.conference.example.com
    <http://auth.conference.example.com> --user_password=X
    Jicofo 2016-09-29 06:17:16.997 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.home=/usr/lib/jvm/java-7-openjdk-amd64/jre
    Jicofo 2016-09-29 06:17:16.997 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    sun.arch.data.model=64
    Jicofo 2016-09-29 06:17:16.997 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    user.language=en
    Jicofo 2016-09-29 06:17:16.998 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.specification.vendor=Oracle Corporation
    Jicofo 2016-09-29 06:17:16.998 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    awt.toolkit=sun.awt.X11.XToolkit
    Jicofo 2016-09-29 06:17:16.998 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.vm.info <http://java.vm.info>=mixed mode
    Jicofo 2016-09-29 06:17:16.998 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.version=1.7.0_111
    Jicofo 2016-09-29 06:17:16.998 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.ext.dirs=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext:/usr/java/packages/lib/ext
    Jicofo 2016-09-29 06:17:16.998 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    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/s$
    Jicofo 2016-09-29 06:17:16.999 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    net.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi
    Jicofo 2016-09-29 06:17:16.999 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.vendor=Oracle Corporation
    Jicofo 2016-09-29 06:17:16.999 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    file.separator=/
    Jicofo 2016-09-29 06:17:16.999 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    net.java.sip.communicator.SC_HOME_DIR_NAME=jicofo
    Jicofo 2016-09-29 06:17:16.999 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    java.vendor.url.bug=http://bugreport.sun.com/bugreport/
    <http://bugreport.sun.com/bugreport/>
    Jicofo 2016-09-29 06:17:17.000 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    sun.io.unicode.encoding=UnicodeLittle
    Jicofo 2016-09-29 06:17:17.000 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    sun.cpu.endian=little
    Jicofo 2016-09-29 06:17:17.000 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    net.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi
    Jicofo 2016-09-29 06:17:17.000 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    sun.cpu.isalist=
    Jicofo 2016-09-29 06:17:17.001 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    Normal classloader
    Jicofo 2016-09-29 06:17:17.001 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    failed to find jitsi-defaults.properties with class loader,
    will continue without it.
    Jicofo 2016-09-29 06:17:17.001 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    Normal classloader
    Jicofo 2016-09-29 06:17:17.002 INFO: [10]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    failed to find jitsi-default-overrides.properties with class
    loader, will continue without it.
    Jicofo 2016-09-29 06:17:17.058 INFO: [10]
    impl.netaddr.NetworkAddressManagerServiceImpl.start().92
    Network Address Manager ...[ STARTED ]
    Jicofo 2016-09-29 06:17:17.058 INFO: [10]
    impl.netaddr.NetworkAddressManagerServiceImpl.start().98
    Network Address Manager Service ...[REGISTERED]
    Jicofo 2016-09-29 06:17:17.062 INFO: [10]
    org.jitsi.version.AbstractVersionActivator.start().119 JiCoFo
    Version: JiCoFo 1.0.1.0-296
    Jicofo 2016-09-29 06:17:17.163 INFO: [10]
    org.jitsi.jicofo.JitsiMeetGlobalConfig.init().170 Automatically
    grant 'owner' role: true
    Jicofo 2016-09-29 06:17:17.163 INFO: [10]
    org.jitsi.jicofo.JitsiMeetGlobalConfig.init().183 Jibri
    requests in PENDING state will be timed out after: 90 seconds
    Jicofo 2016-09-29 06:17:17.163 INFO: [10]
    org.jitsi.jicofo.JitsiMeetGlobalConfig.init().197 Lonely
    participants will be "terminated" after 20000 milliseconds
    Jicofo 2016-09-29 06:17:17.180 INFO: [10]
    org.jitsi.jicofo.BridgeSelector.init().542 Bridge failure reset
    threshold: 300000
    Jicofo 2016-09-29 06:17:17.190 INFO: [10]
    org.jitsi.jicofo.auth.AuthBundleActivator.start().210 Starting
    authentication service... URL: XMPP:conference.example.com
    <http://conference.example.com>
    Jicofo 2016-09-29 06:17:17.191 INFO: [10]
    org.jitsi.jicofo.auth.AbstractAuthAuthority.<init>().122
    Authentication lifetime: 86400000
    Jicofo 2016-09-29 06:17:17.191 INFO: [10]
    org.jitsi.jicofo.auth.AuthBundleActivator.start().237 Auth
    authority: org.jitsi.jicofo.auth.XMPPDomainAuthAuthority@5052d4df
    Jicofo 2016-09-29 06:17:17.255 INFO: [10]
    org.eclipse.jetty.server.Server.doStart() jetty-8.1.16.v20140903
    Jicofo 2016-09-29 06:17:17.274 INFO: [10]
    org.eclipse.jetty.server.AbstractConnector.doStart() Started
    SelectChannelConnector@0.0.0.0:8888
    <mailto:SelectChannelConnector@0.0.0.0:8888>
    Jicofo 2016-09-29 06:17:17.276 INFO: [1]
    org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
    org.jitsi.jicofo.auth.URL=XMPP:conference.example.com
    <http://conference.example.com>
    Jicofo 2016-09-29 06:17:17.280 INFO: [1]
    org.jitsi.xmpp.component.ComponentBase.loadConfig().176
    Component org.jitsi.jicofo. config:
    Jicofo 2016-09-29 06:17:17.280 INFO: [1]
    org.jitsi.xmpp.component.ComponentBase.loadConfig().177 ping
    interval: 10000 ms
    Jicofo 2016-09-29 06:17:17.280 INFO: [1]
    org.jitsi.xmpp.component.ComponentBase.loadConfig().178 ping
    timeout: 5000 ms
    Jicofo 2016-09-29 06:17:17.281 INFO: [1]
    org.jitsi.xmpp.component.ComponentBase.loadConfig().179 ping
    threshold: 3
    Jicofo 2016-09-29 06:17:17.488 INFO: [16]
    org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New
    component discovered: auth.conference.example.com
    <http://auth.conference.example.com>,
    Version[Prosody(0.9.7,Linux)@2000246765
    Jicofo 2016-09-29 06:17:17.488 INFO: [16]
    org.jitsi.jicofo.JitsiMeetServices.newNodeDiscovered().244
    Detected XMPP server version:
    Version[Prosody(0.9.7,Linux)@2000246765
    Jicofo 2016-09-29 06:17:17.489 INFO: [16]
    org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New
    component discovered: conference.conference.example.com
    <http://conference.conference.example.com>, null
    Jicofo 2016-09-29 06:17:17.489 INFO: [16]
    org.jitsi.jicofo.JitsiMeetServices.newNodeDiscovered().236 MUC
    component discovered: conference.conference.example.com
    <http://conference.conference.example.com>
    Jicofo 2016-09-29 06:17:17.491 INFO: [16]
    org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New
    component discovered: support.conference.example.com
    <http://support.conference.example.com>,
    Version[Prosody(0.9.7,Linux)@-297195133
    Jicofo 2016-09-29 06:17:17.496 INFO: [16]
    org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New
    component discovered: focus.conference.example.com
    <http://focus.conference.example.com>, null
    Jicofo 2016-09-29 06:17:17.499 INFO: [16]
    org.jitsi.jicofo.ComponentsDiscovery.scheduleRediscovery().190
    Services re-discovery interval: 30000
    Jicofo 2016-09-29 06:17:17.499 INFO: [16]
    org.jitsi.jicofo.FocusManager.registrationStateChanged().541
    XMPP provider reg state: RegistrationState=Registered
    Jicofo 2016-09-29 06:17:17.499 INFO: [16]
    org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.log() XMPP
    provider
    Jabber:focus@auth.conference.example.com/focus12606626156489147@localhost
    <mailto:Jabber:focus@auth.conference.example.com/focus12606626156489147@localhost>
    connected (JID:
    focus@auth.conference.example.com/focus12606626156489147
    <mailto:focus@auth.conference.example.com/focus12606626156489147>)
    Jicofo 2016-09-29 06:17:38.636 INFO: [51]
    org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416
    Focus request for room: vvoo@conference.conference.example.com
    <mailto:vvoo@conference.conference.example.com>
    Jicofo 2016-09-29 06:17:43.956 INFO: [53]
    org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416
    Focus request for room: vvoo@conference.conference.example.com
    <mailto:vvoo@conference.conference.example.com>
    Jicofo 2016-09-29 06:17:47.568 INFO: [40]
    org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New
    component discovered: jitsi-videobridge.conference.example.com
    <http://jitsi-videobridge.conference.example.com>,
    Version[JVB(0.1.808,Linux)@-891780935
    Jicofo 2016-09-29 06:17:47.568 INFO: [40]
    org.jitsi.jicofo.BridgeSelector.addJvbAddress().148 Added
    videobridge: jitsi-videobridge.conference.example.com
    <http://jitsi-videobridge.conference.example.com> v:
    Version[JVB(0.1.808,Linux)@-891780935
    *Jicofo 2016-09-29 06:17:47.569 WARNING: [40]
    org.jitsi.jicofo.BridgeSelector.addJvbAddress().160 No pub-sub
    node mapped for jitsi-videobridge.conference.example.com
    <http://jitsi-videobridge.conference.example.com>*
    Jicofo 2016-09-29 06:17:47.572 INFO: [60]
    org.jitsi.jicofo.JvbDoctor.log() Scheduled health-check task
    for: jitsi-videobridge.conference.example.com
    <http://jitsi-videobridge.conference.example.com>
    Jicofo 2016-09-29 06:17:48.030 INFO: [63]
    org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416
    Focus request for room: vvoo@conference.conference.example.com
    <mailto:vvoo@conference.conference.example.com>
    Jicofo 2016-09-29 06:17:49.190 INFO: [65]
    org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416
    Focus request for room: vvoo@conference.conference.example.com
    <mailto:vvoo@conference.conference.example.com>
    Jicofo 2016-09-29 06:17:54.341 INFO: [67]
    org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416
    Focus request for room: vvoo@conference.conference.example.com
    <mailto:vvoo@conference.conference.example.com>
    Jicofo 2016-09-29 06:17:54.514 INFO: [69]
    org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416
    Focus request for room: vvoo@conference.conference.example.com
    <mailto:vvoo@conference.conference.example.com>
    Jicofo 2016-09-29 06:17:59.609 INFO: [76]
    org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416
    Focus request for room: vvoo@conference.conference.example.com
    <mailto:vvoo@conference.conference.example.com>
    Jicofo 2016-09-29 06:18:04.781 INFO: [39]
    org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416
    Focus request for room: vvoo@conference.conference.example.com
    <mailto:vvoo@conference.conference.example.com>
    Jicofo 2016-09-29 06:18:10.191 INFO: [47]
    org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416
    Focus request for room: vvoo@conference.conference.example.com
    <mailto:vvoo@conference.conference.example.com>
    Jicofo 2016-09-29 06:18:15.448 INFO: [49]
    org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416
    Focus request for room: vvoo@conference.conference.example.com
    <mailto:vvoo@conference.conference.example.com>
    Jicofo 2016-09-29 06:18:20.825 INFO: [57]
    org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416
    Focus request for room: vvoo@conference.conference.example.com
    <mailto:vvoo@conference.conference.example.com>
    Jicofo 2016-09-29 06:18:25.984 INFO: [59]
    org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416
    Focus request for room: vvoo@conference.conference.example.com
    <mailto:vvoo@conference.conference.example.com>

    Le 28/09/2016 à 14:59, Damian Minkov a écrit :

    What about jicofo logs, is there anything interesting? Seems
    there is an error coming, but not forwarded to the client for
    some reason.

    On Sep 28, 2016 03:33, "Nicolas" <nicolas@kaizendo.fr >>>> <mailto:nicolas@kaizendo.fr>> wrote:

        According to this, if I understand it correctly, headers
        are good by default

        http://httpd.apache.org/docs/2.4/mod/mod_proxy.html#x-headers
        <http://httpd.apache.org/docs/2.4/mod/mod_proxy.html#x-headers>

        I have tried to add headers with mod_header, also
        ProxyPreserveHost directive
        and some parameter to the proxy worker, I have tried one by
        one, and so far no luck, same error...

        ProxyPreserveHost on
            ProxyPass "/http-bind"
        "https://conference.example.com:5281/http-bind"
        <https://conference.example.com:5281/http-bind>
        connectiontimeout=5 timeout=30 keepalive=on
            ProxyPassReverse "/http-bind"
        "https://conference.example.com:5281/http-bind"
        <https://conference.example.com:5281/http-bind>

            Header set X-Forwarded-For %{REMOTE_ADDR}s
            Header set Host %{HTTP_HOST}s

        I add to the conf.d in prosody

        bosh_max_inactivity= 60000

        And logs are now :

        Sep 28 09:38:22 bosh70934816-8c8c-4971-98c0-4706feea5d39
        debug Received[c2s]: <iq
        id='dcd2fee8-02e2-4e3f-8d89-54d03a84fb6e:sendIQ'
        type='set' to='focus.conference.example.com
        <http://focus.conference.example.com>'>
        Sep 28 09:38:22 mod_bosh debug Session
        70934816-8c8c-4971-98c0-4706feea5d39 has 2 out of 1
        requests open
        Sep 28 09:38:22 mod_bosh debug and there are 0
        things in the send_buffer:
        *Sep 28 09:38:22 mod_bosh debug We are holding too many
        requests, so...**
        **Sep 28 09:38:22 mod_bosh debug ...sending an empty
        response*
        Sep 28 09:38:22 mod_bosh debug We have an open
        request, so sending on that
        Sep 28 09:38:22 mod_bosh debug Request destroyed:
        table: 0x282a920
        Sep 28 09:38:22 mod_bosh debug Have nothing to say,
        so leaving request unanswered for now
        Sep 28 09:38:22 jcp27013d0 debug Received[component]:
        <iq id='dcd2fee8-02e2-4e3f-8d89-54d03a84fb6e:sendIQ'
        type='error'
        to='d81cf401-c431-4702-b321-0347016666de@support.conference.example.com/ec36984c-0671-4119-9af9-0df23ba2520f
        <mailto:d81cf401-c431-4702-b321-0347016666de@support.conference.example.com/ec36984c-0671-4119-9af9-0df23ba2520f>'
        from='focus.conference.example.com
        <http://focus.conference.example.com>'>
        Sep 28 09:38:22 mod_bosh debug We have an open
        request, so sending on that
        Sep 28 09:38:22 mod_bosh debug Request destroyed:
        table: 0x2832290
        Sep 28 09:38:22 bosh70934816-8c8c-4971-98c0-4706feea5d39
        *debug BOSH session marked as inactive (for 60000s)*

        I don't know if it's better :slight_smile:
        I have tested again to be sure, with the proxy settings
        (instead of the rewrite) and all works fine without the
        secure domain

        ressources :
        http://httpd.apache.org/docs/2.4/mod/mod_proxy.html
        <http://httpd.apache.org/docs/2.4/mod/mod_proxy.html>
        http://httpd.apache.org/docs/current/mod/mod_headers.html
        <http://httpd.apache.org/docs/current/mod/mod_headers.html>
        http://httpd.apache.org/docs/current/mod/mod_ssl.html#envvars
        <http://httpd.apache.org/docs/current/mod/mod_ssl.html#envvars>
        Le 27/09/2016 à 20:54, Damian Minkov a écrit :

        There is an old thread about that by Lyubomir:
        http://lists.jitsi.org/pipermail/dev/2014-February/019946.html
        <http://lists.jitsi.org/pipermail/dev/2014-February/019946.html>

        On Tue, Sep 27, 2016 at 1:32 PM, Nicolas<nicolas@kaizendo.fr> <mailto:nicolas@kaizendo.fr> wrote:

        Hi :slight_smile:

        I have tried to add all infos to my first mail but I forget some, first,
        jicofo and videobridge are installed from the deb repo.
        And, for apache, I use the prosody bosh conf page
        https://prosody.im/doc/setting_up_bosh#cross-domain_issues
        <https://prosody.im/doc/setting_up_bosh#cross-domain_issues>

        You right about the headers, I can't tell if the rewrite method is taking
        care of them

        I will try with the proxy directive instead of the rewrite, if someone as a
        working apache conf, it's even better .

        thanks

        Nicolas

        Le 27/09/2016 à 20:08, Damian Minkov a écrit :

        Hi,

        Maybe you have problems with the bosh connection. I'm not sure, but I
        think your config is not equal to the one used for nginx:

        https://github.com/jitsi/jitsi-meet/blob/master/doc/debian/jitsi-meet/jitsi-meet.example#L42
        <https://github.com/jitsi/jitsi-meet/blob/master/doc/debian/jitsi-meet/jitsi-meet.example#L42>
        Nginx is actually proxying the connection and setting some headers,
        not sure whether this apache rewrites are the same, you can check
        that.

        Regards
        damencho

        On Tue, Sep 27, 2016 at 11:53 AM, Nicolas<nicolas@kaizendo.fr> <mailto:nicolas@kaizendo.fr> wrote:

        Hi !
        First post here, I hope it's the right place.

        I post to dev, because I have done lot of tests, and I need help.

        I use jitsi-meet from source, jicofo and videobridge from nightly build
        (I
        have encourter a null java error fixed recently in jicofo)

        I use Apache instead of nginx - apache vhost is at the end of this mail
        -

        All works fine with the anonymous (default) settings, but...

        I follow the manual installation guide for jitsi meet, and the secure
        domain
        guide of jicofo

        When I try to open a new room, I have the credentials windows, I use the
        focus creds, but I can't have a conference :

        The error on the auth windows is :

        Get id session error : undefined

        the error on the firefox console (tested also with chromium)

        Auth on the fly failed <iq
        id="20e60667-daa4-43d4-8789-3abbdf8f6364:sendIQ"
        type="error"

        to="focus@auth.conference.example.com/9f7c63c0-512b-41c6-900e-4864656da885"
        <mailto:focus@auth.conference.example.com/9f7c63c0-512b-41c6-900e-4864656da885>
        from="focus.conference.example.com
        <http://focus.conference.example.com>" xmlns="jabber:client">

        In the prosody log, I have this wired line, but I'm not sure if it's
        related
        :
        debug BOSH session marked as inactive (for 60s)

        Complete log sequence :

        Sep 27 18:30:18 socket debug server.lua: auto-starting ssl
        negotiation...
        Sep 27 18:30:18 socket debug server.lua: attempting to start tls on
        tcp{client}: 0x2dd4de8
        Sep 27 18:30:18 socket debug server.lua: accepted new client
        connection
        from xxx.xxx.xxx.xxx:49364 to 5281
        Sep 27 18:30:18 socket debug server.lua: ssl handshake done
        Sep 27 18:30:18 mod_bosh debug Handling new request table:
        0x2d558e0: <body rid='29554595'
        xmlns='http://jabber.org/protocol/httpbind
        <http://jabber.org/protocol/httpbind>'
        sid='6f3c872d-1f3b-4249-9e92-8dbdacedd509'><iq
        to='focus.conference.example.com
        <http://focus.conference.example.com>' type='set' xmlns='jabber:client'
        id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'><conference
        xmlns='http://jitsi.org/protocol/focus
        <http://jitsi.org/protocol/focus>'
        room='test@conference.conference.example.com
        <mailto:test@conference.conference.example.com>'
        machine-uid='cfbc8b3c403ea75ecf44c2c340c5ef7d'><property
        name='channelLastN'
        value='-1'/><property name='adaptiveLastN' value='false'/><property
        name='disableRtx' value='true'/><property name='enableLipSync'
        value='true'/><property name='openSctp' value='true'/><property
        name='simulcastMode' value='rewriting'/></conference></iq></body>
        ----------
        Sep 27 18:30:18 mod_bosh debug BOSH body open (sid:
        6f3c872d-1f3b-4249-9e92-8dbdacedd509)
        Sep 27 18:30:18 mod_bosh debug BOSH stanza received: <iq
        id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='set'
        to='focus.conference.example.com
        <http://focus.conference.example.com>'>

        Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug
        Received[c2s]: <iq id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'
        type='set' to='focus.conference.example.com
        <http://focus.conference.example.com>'>
        Sep 27 18:30:18 mod_bosh debug Session
        6f3c872d-1f3b-4249-9e92-8dbdacedd509 has 2 out of 1 requests open
        Sep 27 18:30:18 mod_bosh debug and there are 0 things in the
        send_buffer:
        Sep 27 18:30:18 mod_bosh debug We are holding too many requests,
        so...
        Sep 27 18:30:18 mod_bosh debug ...sending an empty response
        Sep 27 18:30:18 mod_bosh debug We have an open request, so
        sending
        on that
        Sep 27 18:30:18 mod_bosh debug Request destroyed: table:
        0x2bcd080
        Sep 27 18:30:18 socket debug server.lua: closed client handler and
        removed socket from list
        Sep 27 18:30:18 mod_bosh debug Have nothing to say, so leaving
        request unanswered for now
        Sep 27 18:30:18 jcp2a8a360 debug Received[component]: <iq
        id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='error'

        to='9ae1a918-8a1b-4b13-ba56-207db63999ba@support.conference.example.com/2dc20dc8-5191-493b-ab13-748dafdf994c
        <mailto:9ae1a918-8a1b-4b13-ba56-207db63999ba@support.conference.example.com/2dc20dc8-5191-493b-ab13-748dafdf994c>'
        from='focus.conference.example.com
        <http://focus.conference.example.com>'>
        Sep 27 18:30:18 mod_bosh debug We have an open request, so
        sending
        on that
        Sep 27 18:30:18 mod_bosh debug Request destroyed: table:
        0x2adbf20
        Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug
        BOSH
        session marked as inactive (for 60s)
        Sep 27 18:30:18 socket debug server.lua: closed client handler and
        removed socket from list

        I need at least to have this working, and I'm stuck, have you some ideas
        ?
        jitsi meet is really good ! I'll be glad is I can have this working :slight_smile:

        Config files :

        (I have tried with and without cross domain and consider bosh secure)

        cross_domain_bosh = true
        consider_bosh_secure = true

        VirtualHost "conference.example.com <http://conference.example.com>"
              authentication = "internal_plain"
              --authentication = "anonymous"
              --authentication = "sql"

        VirtualHost "support.conference.example.com
        <http://support.conference.example.com>"
              authentication = "anonymous"

        VirtualHost "auth.conference.example.com
        <http://auth.conference.example.com>"
              authentication = "internal_plain"

        admins = {"focus@auth.conference.example.com"
        <mailto:focus@auth.conference.example.com> }

        Component "conference.conference.example.com
        <http://conference.conference.example.com>" "muc"
        Component "jitsi-videobridge.conference.example.com
        <http://jitsi-videobridge.conference.example.com>"
                  component_secret = "secret"
        Component "focus.conference.example.com
        <http://focus.conference.example.com>"
                  component_secret = "secret"

        In jicofo

        /etc/jitsi/jicofo/sip-communicator.properties

        org.jitsi.jicofo.auth.URL=XMPP:conference.example.com <http://conference.example.com>

        Apache:

        <VirtualHost *:80>
              ServerNameconference.example.com <http://conference.example.com>

              DocumentRoot "/var/www/srv/2/conference.example.com <http://conference.example.com>"

              SSLProxyEngine On
              RewriteEngine On
              RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+$
              RewriteRule ^/(.*)$ / [PT]
              RewriteRule ^/http-bind$
        https://conference.example.com:5281/http-bind
        <https://conference.example.com:5281/http-bind>
        [P,L]

        </Virtualhost>

        <VirtualHost *:443>
              ServerNameconference.example.com <http://conference.example.com>

              DocumentRoot "/var/www/srv/2/conference.example.com <http://conference.example.com>"

              SSLProxyEngine On
              SSLEngine on
              SSLCertificateFile /etc/apache2/ssl/ca.crt
              SSLCertificateKeyFile /etc/apache2/ssl/ca.key

              RewriteEngine On
              RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+$
              RewriteRule ^/(.*)$ / [PT]
              RewriteRule ^/http-bind$
        https://conference.example.com:5281/http-bind
        <https://conference.example.com:5281/http-bind>
        [P,L]

        </Virtualhost>

        _______________________________________________
        dev mailing list
        dev@jitsi.org <mailto:dev@jitsi.org>
        Unsubscribe instructions and other list options:
        http://lists.jitsi.org/mailman/listinfo/dev
        <http://lists.jitsi.org/mailman/listinfo/dev>

        _______________________________________________
        dev mailing list
        dev@jitsi.org <mailto:dev@jitsi.org>
        Unsubscribe instructions and other list options:
        http://lists.jitsi.org/mailman/listinfo/dev
        <http://lists.jitsi.org/mailman/listinfo/dev>

        _______________________________________________
        dev mailing list
        dev@jitsi.org <mailto:dev@jitsi.org>
        Unsubscribe instructions and other list options:
        http://lists.jitsi.org/mailman/listinfo/dev
        <http://lists.jitsi.org/mailman/listinfo/dev>

        _______________________________________________
        dev mailing list
        dev@jitsi.org <mailto:dev@jitsi.org>
        Unsubscribe instructions and other list options:
        http://lists.jitsi.org/mailman/listinfo/dev
        <http://lists.jitsi.org/mailman/listinfo/dev>

        _______________________________________________ dev mailing
        list dev@jitsi.org <mailto:dev@jitsi.org> Unsubscribe
        instructions and other list options:
        http://lists.jitsi.org/mailman/listinfo/dev
        <http://lists.jitsi.org/mailman/listinfo/dev>

    _______________________________________________
    dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org>
    Unsubscribe instructions and other list options:
    http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

    _______________________________________________
    dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org>
    Unsubscribe instructions and other list options:
    http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

    _______________________________________________
    dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org>
    Unsubscribe instructions and other list options:
    http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

    _______________________________________________ dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org> Unsubscribe instructions and
    other list options: http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

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


#13

So it is working fine now, its only this warning?

···

On Thu, Oct 6, 2016 at 11:08 AM, Nicolas <nicolas@kaizendo.fr> wrote:

Yes, I've tried, with the proxy directive,

in fact, this is working now with proxy instead of rewriting, but only
without secure domain

I just have this ontime warning
Jicofo 2016-09-29 06:17:47.569 WARNING: [40]
org.jitsi.jicofo.BridgeSelector.addJvbAddress().160 No pub-sub node mapped
for jitsi-videobridge.conference.example.com

Le 06/10/2016 à 16:41, Damian Minkov a écrit :

Did you try the apache settings I've sent you, the mail from Lyubomir?
You can try digital ocean, there is a low specification machine for 5$ for a
month.

Regards
damencho

On Oct 6, 2016 04:50, "Nicolas" <nicolas@kaizendo.fr> wrote:

Sorry to bump again, but I need this :slight_smile:

I consider to test again on another server where I can use nginx instead of
apache,

so :

1 - can you help with the latest log, or just throw me ideas ?

2 - have you a hint where I can test this on virtual server, for free, or
really low price ?

juste to install the "quick way" on debian or ubuntu (but not locally ^^)

Thanks

Le 04/10/2016 à 07:12, Nicolas a écrit :

hi again,

someone has an idea for me ? :slight_smile:

Thanks a lot !

Le 29/09/2016 à 06:32, Nicolas a écrit :

I have tried another time, and paste here jicofo logs

1 - open browser

2 - send the auth (focus@auth.conference.example.com)

3 - wait until error

4 - repeat step 2 and 3 once

Just one warning, could be related ?

Nicolas

Jicofo 2016-09-29 06:17:16.975 INFO: [10]
org.jitsi.service.libjitsi.LibJitsi.log() Successfully started LibJitsi
using as implementation: org.jitsi.impl.libjitsi.LibJitsiOSGiImpl
Jicofo 2016-09-29 06:17:16.990 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
org.jitsi.jicofo.HOSTNAME=localhost
Jicofo 2016-09-29 06:17:16.991 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.runtime.name=OpenJDK Runtime Environment
Jicofo 2016-09-29 06:17:16.991 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.boot.library.path=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64
Jicofo 2016-09-29 06:17:16.991 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vm.version=24.111-b01
Jicofo 2016-09-29 06:17:16.991 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vm.vendor=Oracle Corporation
Jicofo 2016-09-29 06:17:16.991 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vendor.url=http://java.oracle.com/
Jicofo 2016-09-29 06:17:16.991 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() path.separator=:
Jicofo 2016-09-29 06:17:16.991 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.util.logging.config.file=/etc/jitsi/jicofo/logging.properties
Jicofo 2016-09-29 06:17:16.991 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vm.name=OpenJDK 64-Bit Server VM
Jicofo 2016-09-29 06:17:16.992 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
file.encoding.pkg=sun.io
Jicofo 2016-09-29 06:17:16.992 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() user.country=US
Jicofo 2016-09-29 06:17:16.992 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.java.launcher=SUN_STANDARD
Jicofo 2016-09-29 06:17:16.992 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.os.patch.level=unknown
Jicofo 2016-09-29 06:17:16.992 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
net.java.sip.communicator.service.media.DISABLE_AUDIO_SUPPORT=true
Jicofo 2016-09-29 06:17:16.992 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vm.specification.name=Java Virtual Machine Specification
Jicofo 2016-09-29 06:17:16.992 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
user.dir=/usr/share/jicofo
Jicofo 2016-09-29 06:17:16.992 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
org.jitsi.jicofo.FOCUS_USER_PASSWORD=**********
Jicofo 2016-09-29 06:17:16.993 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.runtime.version=1.7.0_111-b01
Jicofo 2016-09-29 06:17:16.993 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
Jicofo 2016-09-29 06:17:16.993 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.endorsed.dirs=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/endorsed
Jicofo 2016-09-29 06:17:16.993 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() os.arch=amd64
Jicofo 2016-09-29 06:17:16.993 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.io.tmpdir=/tmp
Jicofo 2016-09-29 06:17:16.993 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() line.separator=

Jicofo 2016-09-29 06:17:16.993 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vm.specification.vendor=Oracle Corporation
Jicofo 2016-09-29 06:17:16.993 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() os.name=Linux
Jicofo 2016-09-29 06:17:16.994 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.jnu.encoding=UTF-8
Jicofo 2016-09-29 06:17:16.994 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
net.java.sip.communicator.CONFIGURATION_FILE_IS_READ_ONLY=true
Jicofo 2016-09-29 06:17:16.994 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
org.jitsi.jicofo.FOCUS_USER_DOMAIN=auth.conference.example.com
Jicofo 2016-09-29 06:17:16.994 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.library.path=/usr/share/jicofo/lib/native/linux-64
Jicofo 2016-09-29 06:17:16.994 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.specification.name=Java Platform API Specification
Jicofo 2016-09-29 06:17:16.994 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.class.version=51.0
Jicofo 2016-09-29 06:17:16.994 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
org.jitsi.service.audionotifier.AudioNotifierService=org.jitsi.impl.neomedia.notify.AudioNotifierServiceImpl
Jicofo 2016-09-29 06:17:16.994 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
os.version=4.4.0-1-grsec-amd64
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
user.home=/usr/share/jicofo
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
user.timezone=Europe/Paris
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.awt.printerjob=sun.print.PSPrinterJob
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
org.jitsi.jicofo.FOCUS_USER_NAME=focus
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
file.encoding=UTF-8
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.specification.version=1.7
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
net.java.sip.communicator.service.media.DISABLE_VIDEO_SUPPORT=true
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
org.jitsi.jicofo.XMPP_DOMAIN=conference.example.com
Jicofo 2016-09-29 06:17:16.996 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.class.path=/usr/share/jicofo/jicofo.jar:/usr/share/jicofo/lib/agafua-syslog-0.4.jar:/usr/share/jicofo/lib/bccontrib-1.0.jar:/usr/share/jicofo/lib/bcpkix-jdk15on-1.$
Jicofo 2016-09-29 06:17:16.996 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() user.name=jicofo
Jicofo 2016-09-29 06:17:16.996 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vm.specification.version=1.7
Jicofo 2016-09-29 06:17:16.997 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.java.command=org.jitsi.jicofo.Main --host=localhost
--domain=conference.example.com --port=5347 --secret=X
--user_domain=auth.conference.example.com --user_password=X
Jicofo 2016-09-29 06:17:16.997 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.home=/usr/lib/jvm/java-7-openjdk-amd64/jre
Jicofo 2016-09-29 06:17:16.997 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.arch.data.model=64
Jicofo 2016-09-29 06:17:16.997 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() user.language=en
Jicofo 2016-09-29 06:17:16.998 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.specification.vendor=Oracle Corporation
Jicofo 2016-09-29 06:17:16.998 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
awt.toolkit=sun.awt.X11.XToolkit
Jicofo 2016-09-29 06:17:16.998 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vm.info=mixed mode
Jicofo 2016-09-29 06:17:16.998 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.version=1.7.0_111
Jicofo 2016-09-29 06:17:16.998 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.ext.dirs=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext:/usr/java/packages/lib/ext
Jicofo 2016-09-29 06:17:16.998 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
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/s$
Jicofo 2016-09-29 06:17:16.999 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
net.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi
Jicofo 2016-09-29 06:17:16.999 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vendor=Oracle Corporation
Jicofo 2016-09-29 06:17:16.999 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() file.separator=/
Jicofo 2016-09-29 06:17:16.999 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
net.java.sip.communicator.SC_HOME_DIR_NAME=jicofo
Jicofo 2016-09-29 06:17:16.999 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
Jicofo 2016-09-29 06:17:17.000 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.io.unicode.encoding=UnicodeLittle
Jicofo 2016-09-29 06:17:17.000 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.cpu.endian=little
Jicofo 2016-09-29 06:17:17.000 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
net.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi
Jicofo 2016-09-29 06:17:17.000 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.cpu.isalist=
Jicofo 2016-09-29 06:17:17.001 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() Normal
classloader
Jicofo 2016-09-29 06:17:17.001 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() failed to find
jitsi-defaults.properties with class loader, will continue without it.
Jicofo 2016-09-29 06:17:17.001 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() Normal
classloader
Jicofo 2016-09-29 06:17:17.002 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() failed to find
jitsi-default-overrides.properties with class loader, will continue without
it.
Jicofo 2016-09-29 06:17:17.058 INFO: [10]
impl.netaddr.NetworkAddressManagerServiceImpl.start().92 Network Address
Manager ...[ STARTED ]
Jicofo 2016-09-29 06:17:17.058 INFO: [10]
impl.netaddr.NetworkAddressManagerServiceImpl.start().98 Network Address
Manager Service ...[REGISTERED]
Jicofo 2016-09-29 06:17:17.062 INFO: [10]
org.jitsi.version.AbstractVersionActivator.start().119 JiCoFo Version:
JiCoFo 1.0.1.0-296
Jicofo 2016-09-29 06:17:17.163 INFO: [10]
org.jitsi.jicofo.JitsiMeetGlobalConfig.init().170 Automatically grant
'owner' role: true
Jicofo 2016-09-29 06:17:17.163 INFO: [10]
org.jitsi.jicofo.JitsiMeetGlobalConfig.init().183 Jibri requests in PENDING
state will be timed out after: 90 seconds
Jicofo 2016-09-29 06:17:17.163 INFO: [10]
org.jitsi.jicofo.JitsiMeetGlobalConfig.init().197 Lonely participants will
be "terminated" after 20000 milliseconds
Jicofo 2016-09-29 06:17:17.180 INFO: [10]
org.jitsi.jicofo.BridgeSelector.init().542 Bridge failure reset threshold:
300000
Jicofo 2016-09-29 06:17:17.190 INFO: [10]
org.jitsi.jicofo.auth.AuthBundleActivator.start().210 Starting
authentication service... URL: XMPP:conference.example.com
Jicofo 2016-09-29 06:17:17.191 INFO: [10]
org.jitsi.jicofo.auth.AbstractAuthAuthority.<init>().122 Authentication
lifetime: 86400000
Jicofo 2016-09-29 06:17:17.191 INFO: [10]
org.jitsi.jicofo.auth.AuthBundleActivator.start().237 Auth authority:
org.jitsi.jicofo.auth.XMPPDomainAuthAuthority@5052d4df
Jicofo 2016-09-29 06:17:17.255 INFO: [10]
org.eclipse.jetty.server.Server.doStart() jetty-8.1.16.v20140903
Jicofo 2016-09-29 06:17:17.274 INFO: [10]
org.eclipse.jetty.server.AbstractConnector.doStart() Started
SelectChannelConnector@0.0.0.0:8888
Jicofo 2016-09-29 06:17:17.276 INFO: [1]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
org.jitsi.jicofo.auth.URL=XMPP:conference.example.com
Jicofo 2016-09-29 06:17:17.280 INFO: [1]
org.jitsi.xmpp.component.ComponentBase.loadConfig().176 Component
org.jitsi.jicofo. config:
Jicofo 2016-09-29 06:17:17.280 INFO: [1]
org.jitsi.xmpp.component.ComponentBase.loadConfig().177 ping interval:
10000 ms
Jicofo 2016-09-29 06:17:17.280 INFO: [1]
org.jitsi.xmpp.component.ComponentBase.loadConfig().178 ping timeout: 5000
ms
Jicofo 2016-09-29 06:17:17.281 INFO: [1]
org.jitsi.xmpp.component.ComponentBase.loadConfig().179 ping threshold: 3
Jicofo 2016-09-29 06:17:17.488 INFO: [16]
org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component
discovered: auth.conference.example.com,
Version[Prosody(0.9.7,Linux)@2000246765
Jicofo 2016-09-29 06:17:17.488 INFO: [16]
org.jitsi.jicofo.JitsiMeetServices.newNodeDiscovered().244 Detected XMPP
server version: Version[Prosody(0.9.7,Linux)@2000246765
Jicofo 2016-09-29 06:17:17.489 INFO: [16]
org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component
discovered: conference.conference.example.com, null
Jicofo 2016-09-29 06:17:17.489 INFO: [16]
org.jitsi.jicofo.JitsiMeetServices.newNodeDiscovered().236 MUC component
discovered: conference.conference.example.com
Jicofo 2016-09-29 06:17:17.491 INFO: [16]
org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component
discovered: support.conference.example.com,
Version[Prosody(0.9.7,Linux)@-297195133
Jicofo 2016-09-29 06:17:17.496 INFO: [16]
org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component
discovered: focus.conference.example.com, null
Jicofo 2016-09-29 06:17:17.499 INFO: [16]
org.jitsi.jicofo.ComponentsDiscovery.scheduleRediscovery().190 Services
re-discovery interval: 30000
Jicofo 2016-09-29 06:17:17.499 INFO: [16]
org.jitsi.jicofo.FocusManager.registrationStateChanged().541 XMPP provider
reg state: RegistrationState=Registered
Jicofo 2016-09-29 06:17:17.499 INFO: [16]
org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.log() XMPP provider
Jabber:focus@auth.conference.example.com/focus12606626156489147@localhost
connected (JID: focus@auth.conference.example.com/focus12606626156489147)
Jicofo 2016-09-29 06:17:38.636 INFO: [51]
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request
for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:43.956 INFO: [53]
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request
for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:47.568 INFO: [40]
org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component
discovered: jitsi-videobridge.conference.example.com,
Version[JVB(0.1.808,Linux)@-891780935
Jicofo 2016-09-29 06:17:47.568 INFO: [40]
org.jitsi.jicofo.BridgeSelector.addJvbAddress().148 Added videobridge:
jitsi-videobridge.conference.example.com v:
Version[JVB(0.1.808,Linux)@-891780935
Jicofo 2016-09-29 06:17:47.569 WARNING: [40]
org.jitsi.jicofo.BridgeSelector.addJvbAddress().160 No pub-sub node mapped
for jitsi-videobridge.conference.example.com
Jicofo 2016-09-29 06:17:47.572 INFO: [60] org.jitsi.jicofo.JvbDoctor.log()
Scheduled health-check task for: jitsi-videobridge.conference.example.com
Jicofo 2016-09-29 06:17:48.030 INFO: [63]
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request
for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:49.190 INFO: [65]
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request
for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:54.341 INFO: [67]
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request
for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:54.514 INFO: [69]
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request
for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:59.609 INFO: [76]
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request
for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:04.781 INFO: [39]
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request
for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:10.191 INFO: [47]
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request
for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:15.448 INFO: [49]
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request
for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:20.825 INFO: [57]
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request
for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:25.984 INFO: [59]
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request
for room: vvoo@conference.conference.example.com

Le 28/09/2016 à 14:59, Damian Minkov a écrit :

What about jicofo logs, is there anything interesting? Seems there is an
error coming, but not forwarded to the client for some reason.

On Sep 28, 2016 03:33, "Nicolas" <nicolas@kaizendo.fr> wrote:

According to this, if I understand it correctly, headers are good by
default

http://httpd.apache.org/docs/2.4/mod/mod_proxy.html#x-headers

I have tried to add headers with mod_header, also ProxyPreserveHost
directive
and some parameter to the proxy worker, I have tried one by one, and so
far no luck, same error...

    ProxyPreserveHost on
    ProxyPass "/http-bind" "https://conference.example.com:5281/http-bind"
connectiontimeout=5 timeout=30 keepalive=on
    ProxyPassReverse "/http-bind"
"https://conference.example.com:5281/http-bind"

    Header set X-Forwarded-For %{REMOTE_ADDR}s
    Header set Host %{HTTP_HOST}s

I add to the conf.d in prosody

bosh_max_inactivity = 60000

And logs are now :

Sep 28 09:38:22 bosh70934816-8c8c-4971-98c0-4706feea5d39 debug
Received[c2s]: <iq id='dcd2fee8-02e2-4e3f-8d89-54d03a84fb6e:sendIQ'
type='set' to='focus.conference.example.com'>
Sep 28 09:38:22 mod_bosh debug Session
70934816-8c8c-4971-98c0-4706feea5d39 has 2 out of 1 requests open
Sep 28 09:38:22 mod_bosh debug and there are 0 things in the
send_buffer:
Sep 28 09:38:22 mod_bosh debug We are holding too many requests,
so...
Sep 28 09:38:22 mod_bosh debug ...sending an empty response
Sep 28 09:38:22 mod_bosh debug We have an open request, so
sending on that
Sep 28 09:38:22 mod_bosh debug Request destroyed: table:
0x282a920
Sep 28 09:38:22 mod_bosh debug Have nothing to say, so leaving
request unanswered for now
Sep 28 09:38:22 jcp27013d0 debug Received[component]: <iq
id='dcd2fee8-02e2-4e3f-8d89-54d03a84fb6e:sendIQ' type='error'
to='d81cf401-c431-4702-b321-0347016666de@support.conference.example.com/ec36984c-0671-4119-9af9-0df23ba2520f'
from='focus.conference.example.com'>
Sep 28 09:38:22 mod_bosh debug We have an open request, so
sending on that
Sep 28 09:38:22 mod_bosh debug Request destroyed: table:
0x2832290
Sep 28 09:38:22 bosh70934816-8c8c-4971-98c0-4706feea5d39 debug
BOSH session marked as inactive (for 60000s)

I don't know if it's better :slight_smile:
I have tested again to be sure, with the proxy settings (instead of the
rewrite) and all works fine without the secure domain

ressources :
http://httpd.apache.org/docs/2.4/mod/mod_proxy.html
http://httpd.apache.org/docs/current/mod/mod_headers.html
http://httpd.apache.org/docs/current/mod/mod_ssl.html#envvars
Le 27/09/2016 à 20:54, Damian Minkov a écrit :

There is an old thread about that by Lyubomir:
http://lists.jitsi.org/pipermail/dev/2014-February/019946.html

On Tue, Sep 27, 2016 at 1:32 PM, Nicolas <nicolas@kaizendo.fr> wrote:

Hi :slight_smile:

I have tried to add all infos to my first mail but I forget some, first,
jicofo and videobridge are installed from the deb repo.
And, for apache, I use the prosody bosh conf page
https://prosody.im/doc/setting_up_bosh#cross-domain_issues

You right about the headers, I can't tell if the rewrite method is taking
care of them

I will try with the proxy directive instead of the rewrite, if someone as
a
working apache conf, it's even better .

thanks

Nicolas

Le 27/09/2016 à 20:08, Damian Minkov a écrit :

Hi,

Maybe you have problems with the bosh connection. I'm not sure, but I
think your config is not equal to the one used for nginx:

https://github.com/jitsi/jitsi-meet/blob/master/doc/debian/jitsi-meet/jitsi-meet.example#L42
Nginx is actually proxying the connection and setting some headers,
not sure whether this apache rewrites are the same, you can check
that.

Regards
damencho

On Tue, Sep 27, 2016 at 11:53 AM, Nicolas <nicolas@kaizendo.fr> wrote:

Hi !
First post here, I hope it's the right place.

I post to dev, because I have done lot of tests, and I need help.

I use jitsi-meet from source, jicofo and videobridge from nightly build
(I
have encourter a null java error fixed recently in jicofo)

I use Apache instead of nginx - apache vhost is at the end of this mail
-

All works fine with the anonymous (default) settings, but...

I follow the manual installation guide for jitsi meet, and the secure
domain
guide of jicofo

When I try to open a new room, I have the credentials windows, I use the
focus creds, but I can't have a conference :

The error on the auth windows is :

Get id session error : undefined

the error on the firefox console (tested also with chromium)

Auth on the fly failed <iq
id="20e60667-daa4-43d4-8789-3abbdf8f6364:sendIQ"
type="error"

to="focus@auth.conference.example.com/9f7c63c0-512b-41c6-900e-4864656da885"
from="focus.conference.example.com" xmlns="jabber:client">

In the prosody log, I have this wired line, but I'm not sure if it's
related
:
debug BOSH session marked as inactive (for 60s)

Complete log sequence :

Sep 27 18:30:18 socket debug server.lua: auto-starting ssl
negotiation...
Sep 27 18:30:18 socket debug server.lua: attempting to start tls on
tcp{client}: 0x2dd4de8
Sep 27 18:30:18 socket debug server.lua: accepted new client
connection
from xxx.xxx.xxx.xxx:49364 to 5281
Sep 27 18:30:18 socket debug server.lua: ssl handshake done
Sep 27 18:30:18 mod_bosh debug Handling new request table:
0x2d558e0: <body rid='29554595'
xmlns='http://jabber.org/protocol/httpbind'
sid='6f3c872d-1f3b-4249-9e92-8dbdacedd509'><iq
to='focus.conference.example.com' type='set' xmlns='jabber:client'
id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'><conference
xmlns='http://jitsi.org/protocol/focus'
room='test@conference.conference.example.com'
machine-uid='cfbc8b3c403ea75ecf44c2c340c5ef7d'><property
name='channelLastN'
value='-1'/><property name='adaptiveLastN' value='false'/><property
name='disableRtx' value='true'/><property name='enableLipSync'
value='true'/><property name='openSctp' value='true'/><property
name='simulcastMode' value='rewriting'/></conference></iq></body>
----------
Sep 27 18:30:18 mod_bosh debug BOSH body open (sid:
6f3c872d-1f3b-4249-9e92-8dbdacedd509)
Sep 27 18:30:18 mod_bosh debug BOSH stanza received: <iq
id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='set'
to='focus.conference.example.com'>

Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug
Received[c2s]: <iq id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'
type='set' to='focus.conference.example.com'>
Sep 27 18:30:18 mod_bosh debug Session
6f3c872d-1f3b-4249-9e92-8dbdacedd509 has 2 out of 1 requests open
Sep 27 18:30:18 mod_bosh debug and there are 0 things in the
send_buffer:
Sep 27 18:30:18 mod_bosh debug We are holding too many requests,
so...
Sep 27 18:30:18 mod_bosh debug ...sending an empty response
Sep 27 18:30:18 mod_bosh debug We have an open request, so
sending
on that
Sep 27 18:30:18 mod_bosh debug Request destroyed: table:
0x2bcd080
Sep 27 18:30:18 socket debug server.lua: closed client handler and
removed socket from list
Sep 27 18:30:18 mod_bosh debug Have nothing to say, so leaving
request unanswered for now
Sep 27 18:30:18 jcp2a8a360 debug Received[component]: <iq
id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='error'

to='9ae1a918-8a1b-4b13-ba56-207db63999ba@support.conference.example.com/2dc20dc8-5191-493b-ab13-748dafdf994c'
from='focus.conference.example.com'>
Sep 27 18:30:18 mod_bosh debug We have an open request, so
sending
on that
Sep 27 18:30:18 mod_bosh debug Request destroyed: table:
0x2adbf20
Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug
BOSH
session marked as inactive (for 60s)
Sep 27 18:30:18 socket debug server.lua: closed client handler and
removed socket from list

I need at least to have this working, and I'm stuck, have you some ideas
?
jitsi meet is really good ! I'll be glad is I can have this working :slight_smile:

Config files :

(I have tried with and without cross domain and consider bosh secure)

cross_domain_bosh = true
consider_bosh_secure = true

VirtualHost "conference.example.com"
     authentication = "internal_plain"
     --authentication = "anonymous"
     --authentication = "sql"

VirtualHost "support.conference.example.com"
     authentication = "anonymous"

VirtualHost "auth.conference.example.com"
     authentication = "internal_plain"

admins = { "focus@auth.conference.example.com" }

Component "conference.conference.example.com" "muc"
Component "jitsi-videobridge.conference.example.com"
         component_secret = "secret"
Component "focus.conference.example.com"
         component_secret = "secret"

In jicofo

/etc/jitsi/jicofo/sip-communicator.properties

org.jitsi.jicofo.auth.URL=XMPP:conference.example.com

Apache:

<VirtualHost *:80>
     ServerName conference.example.com

     DocumentRoot "/var/www/srv/2/conference.example.com"

     SSLProxyEngine On
     RewriteEngine On
     RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+$
     RewriteRule ^/(.*)$ / [PT]
     RewriteRule ^/http-bind$
https://conference.example.com:5281/http-bind
[P,L]

</Virtualhost>

<VirtualHost *:443>
     ServerName conference.example.com

     DocumentRoot "/var/www/srv/2/conference.example.com"

     SSLProxyEngine On
     SSLEngine on
     SSLCertificateFile /etc/apache2/ssl/ca.crt
     SSLCertificateKeyFile /etc/apache2/ssl/ca.key

     RewriteEngine On
     RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+$
     RewriteRule ^/(.*)$ / [PT]
     RewriteRule ^/http-bind$
https://conference.example.com:5281/http-bind
[P,L]

</Virtualhost>

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

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

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

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

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

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

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

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

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

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

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


#14

I have only this warning in the log (jocofo and jvb), but I can't open a conference when I do the secure domain setup, with the errors in my first post,

(when I use it with the anonymous connection, all is good)

The error on the auth windows is :

Get id session error : undefined

the error on the firefox console (tested also with chromium)

Auth on the fly failed <iq id="20e60667-daa4-43d4-8789-3abbdf8f6364:sendIQ" type="error" to="focus@auth.conference.example.com/9f7c63c0-512b-41c6-900e-4864656da885" from="focus.conference.example.com" xmlns="jabber:client">

In the prosody log, I have this wired line, but I'm not sure if it's related :
*debug BOSH session marked as inactive (for 60s)

···

*
Le 06/10/2016 à 21:35, Damian Minkov a écrit :

So it is working fine now, its only this warning?

On Thu, Oct 6, 2016 at 11:08 AM, Nicolas <nicolas@kaizendo.fr> wrote:

Yes, I've tried, with the proxy directive,

in fact, this is working now with proxy instead of rewriting, but only
without secure domain

I just have this ontime warning
Jicofo 2016-09-29 06:17:47.569 WARNING: [40]
org.jitsi.jicofo.BridgeSelector.addJvbAddress().160 No pub-sub node mapped
for jitsi-videobridge.conference.example.com

Le 06/10/2016 à 16:41, Damian Minkov a écrit :

Did you try the apache settings I've sent you, the mail from Lyubomir?
You can try digital ocean, there is a low specification machine for 5$ for a
month.

Regards
damencho

On Oct 6, 2016 04:50, "Nicolas" <nicolas@kaizendo.fr> wrote:

Sorry to bump again, but I need this :slight_smile:

I consider to test again on another server where I can use nginx instead of
apache,

so :

1 - can you help with the latest log, or just throw me ideas ?

2 - have you a hint where I can test this on virtual server, for free, or
really low price ?

juste to install the "quick way" on debian or ubuntu (but not locally ^^)

Thanks

Le 04/10/2016 à 07:12, Nicolas a écrit :

hi again,

someone has an idea for me ? :slight_smile:

Thanks a lot !

Le 29/09/2016 à 06:32, Nicolas a écrit :

I have tried another time, and paste here jicofo logs

1 - open browser

2 - send the auth (focus@auth.conference.example.com)

3 - wait until error

4 - repeat step 2 and 3 once

Just one warning, could be related ?

Nicolas

Jicofo 2016-09-29 06:17:16.975 INFO: [10]
org.jitsi.service.libjitsi.LibJitsi.log() Successfully started LibJitsi
using as implementation: org.jitsi.impl.libjitsi.LibJitsiOSGiImpl
Jicofo 2016-09-29 06:17:16.990 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
org.jitsi.jicofo.HOSTNAME=localhost
Jicofo 2016-09-29 06:17:16.991 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.runtime.name=OpenJDK Runtime Environment
Jicofo 2016-09-29 06:17:16.991 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.boot.library.path=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64
Jicofo 2016-09-29 06:17:16.991 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vm.version=24.111-b01
Jicofo 2016-09-29 06:17:16.991 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vm.vendor=Oracle Corporation
Jicofo 2016-09-29 06:17:16.991 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vendor.url=http://java.oracle.com/
Jicofo 2016-09-29 06:17:16.991 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() path.separator=:
Jicofo 2016-09-29 06:17:16.991 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.util.logging.config.file=/etc/jitsi/jicofo/logging.properties
Jicofo 2016-09-29 06:17:16.991 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vm.name=OpenJDK 64-Bit Server VM
Jicofo 2016-09-29 06:17:16.992 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
file.encoding.pkg=sun.io
Jicofo 2016-09-29 06:17:16.992 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() user.country=US
Jicofo 2016-09-29 06:17:16.992 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.java.launcher=SUN_STANDARD
Jicofo 2016-09-29 06:17:16.992 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.os.patch.level=unknown
Jicofo 2016-09-29 06:17:16.992 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
net.java.sip.communicator.service.media.DISABLE_AUDIO_SUPPORT=true
Jicofo 2016-09-29 06:17:16.992 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vm.specification.name=Java Virtual Machine Specification
Jicofo 2016-09-29 06:17:16.992 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
user.dir=/usr/share/jicofo
Jicofo 2016-09-29 06:17:16.992 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
org.jitsi.jicofo.FOCUS_USER_PASSWORD=**********
Jicofo 2016-09-29 06:17:16.993 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.runtime.version=1.7.0_111-b01
Jicofo 2016-09-29 06:17:16.993 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
Jicofo 2016-09-29 06:17:16.993 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.endorsed.dirs=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/endorsed
Jicofo 2016-09-29 06:17:16.993 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() os.arch=amd64
Jicofo 2016-09-29 06:17:16.993 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.io.tmpdir=/tmp
Jicofo 2016-09-29 06:17:16.993 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() line.separator=

Jicofo 2016-09-29 06:17:16.993 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vm.specification.vendor=Oracle Corporation
Jicofo 2016-09-29 06:17:16.993 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() os.name=Linux
Jicofo 2016-09-29 06:17:16.994 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.jnu.encoding=UTF-8
Jicofo 2016-09-29 06:17:16.994 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
net.java.sip.communicator.CONFIGURATION_FILE_IS_READ_ONLY=true
Jicofo 2016-09-29 06:17:16.994 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
org.jitsi.jicofo.FOCUS_USER_DOMAIN=auth.conference.example.com
Jicofo 2016-09-29 06:17:16.994 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.library.path=/usr/share/jicofo/lib/native/linux-64
Jicofo 2016-09-29 06:17:16.994 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.specification.name=Java Platform API Specification
Jicofo 2016-09-29 06:17:16.994 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.class.version=51.0
Jicofo 2016-09-29 06:17:16.994 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
org.jitsi.service.audionotifier.AudioNotifierService=org.jitsi.impl.neomedia.notify.AudioNotifierServiceImpl
Jicofo 2016-09-29 06:17:16.994 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
os.version=4.4.0-1-grsec-amd64
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
user.home=/usr/share/jicofo
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
user.timezone=Europe/Paris
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.awt.printerjob=sun.print.PSPrinterJob
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
org.jitsi.jicofo.FOCUS_USER_NAME=focus
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
file.encoding=UTF-8
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.specification.version=1.7
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
net.java.sip.communicator.service.media.DISABLE_VIDEO_SUPPORT=true
Jicofo 2016-09-29 06:17:16.995 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
org.jitsi.jicofo.XMPP_DOMAIN=conference.example.com
Jicofo 2016-09-29 06:17:16.996 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.class.path=/usr/share/jicofo/jicofo.jar:/usr/share/jicofo/lib/agafua-syslog-0.4.jar:/usr/share/jicofo/lib/bccontrib-1.0.jar:/usr/share/jicofo/lib/bcpkix-jdk15on-1.$
Jicofo 2016-09-29 06:17:16.996 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() user.name=jicofo
Jicofo 2016-09-29 06:17:16.996 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vm.specification.version=1.7
Jicofo 2016-09-29 06:17:16.997 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.java.command=org.jitsi.jicofo.Main --host=localhost
--domain=conference.example.com --port=5347 --secret=X
--user_domain=auth.conference.example.com --user_password=X
Jicofo 2016-09-29 06:17:16.997 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.home=/usr/lib/jvm/java-7-openjdk-amd64/jre
Jicofo 2016-09-29 06:17:16.997 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.arch.data.model=64
Jicofo 2016-09-29 06:17:16.997 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() user.language=en
Jicofo 2016-09-29 06:17:16.998 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.specification.vendor=Oracle Corporation
Jicofo 2016-09-29 06:17:16.998 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
awt.toolkit=sun.awt.X11.XToolkit
Jicofo 2016-09-29 06:17:16.998 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vm.info=mixed mode
Jicofo 2016-09-29 06:17:16.998 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.version=1.7.0_111
Jicofo 2016-09-29 06:17:16.998 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.ext.dirs=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext:/usr/java/packages/lib/ext
Jicofo 2016-09-29 06:17:16.998 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
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/s$
Jicofo 2016-09-29 06:17:16.999 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
net.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi
Jicofo 2016-09-29 06:17:16.999 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vendor=Oracle Corporation
Jicofo 2016-09-29 06:17:16.999 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() file.separator=/
Jicofo 2016-09-29 06:17:16.999 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
net.java.sip.communicator.SC_HOME_DIR_NAME=jicofo
Jicofo 2016-09-29 06:17:16.999 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
Jicofo 2016-09-29 06:17:17.000 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.io.unicode.encoding=UnicodeLittle
Jicofo 2016-09-29 06:17:17.000 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
sun.cpu.endian=little
Jicofo 2016-09-29 06:17:17.000 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
net.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi
Jicofo 2016-09-29 06:17:17.000 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() sun.cpu.isalist=
Jicofo 2016-09-29 06:17:17.001 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() Normal
classloader
Jicofo 2016-09-29 06:17:17.001 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() failed to find
jitsi-defaults.properties with class loader, will continue without it.
Jicofo 2016-09-29 06:17:17.001 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() Normal
classloader
Jicofo 2016-09-29 06:17:17.002 INFO: [10]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log() failed to find
jitsi-default-overrides.properties with class loader, will continue without
it.
Jicofo 2016-09-29 06:17:17.058 INFO: [10]
impl.netaddr.NetworkAddressManagerServiceImpl.start().92 Network Address
Manager ...[ STARTED ]
Jicofo 2016-09-29 06:17:17.058 INFO: [10]
impl.netaddr.NetworkAddressManagerServiceImpl.start().98 Network Address
Manager Service ...[REGISTERED]
Jicofo 2016-09-29 06:17:17.062 INFO: [10]
org.jitsi.version.AbstractVersionActivator.start().119 JiCoFo Version:
JiCoFo 1.0.1.0-296
Jicofo 2016-09-29 06:17:17.163 INFO: [10]
org.jitsi.jicofo.JitsiMeetGlobalConfig.init().170 Automatically grant
'owner' role: true
Jicofo 2016-09-29 06:17:17.163 INFO: [10]
org.jitsi.jicofo.JitsiMeetGlobalConfig.init().183 Jibri requests in PENDING
state will be timed out after: 90 seconds
Jicofo 2016-09-29 06:17:17.163 INFO: [10]
org.jitsi.jicofo.JitsiMeetGlobalConfig.init().197 Lonely participants will
be "terminated" after 20000 milliseconds
Jicofo 2016-09-29 06:17:17.180 INFO: [10]
org.jitsi.jicofo.BridgeSelector.init().542 Bridge failure reset threshold:
300000
Jicofo 2016-09-29 06:17:17.190 INFO: [10]
org.jitsi.jicofo.auth.AuthBundleActivator.start().210 Starting
authentication service... URL: XMPP:conference.example.com
Jicofo 2016-09-29 06:17:17.191 INFO: [10]
org.jitsi.jicofo.auth.AbstractAuthAuthority.<init>().122 Authentication
lifetime: 86400000
Jicofo 2016-09-29 06:17:17.191 INFO: [10]
org.jitsi.jicofo.auth.AuthBundleActivator.start().237 Auth authority:
org.jitsi.jicofo.auth.XMPPDomainAuthAuthority@5052d4df
Jicofo 2016-09-29 06:17:17.255 INFO: [10]
org.eclipse.jetty.server.Server.doStart() jetty-8.1.16.v20140903
Jicofo 2016-09-29 06:17:17.274 INFO: [10]
org.eclipse.jetty.server.AbstractConnector.doStart() Started
SelectChannelConnector@0.0.0.0:8888
Jicofo 2016-09-29 06:17:17.276 INFO: [1]
org.jitsi.impl.configuration.ConfigurationServiceImpl.log()
org.jitsi.jicofo.auth.URL=XMPP:conference.example.com
Jicofo 2016-09-29 06:17:17.280 INFO: [1]
org.jitsi.xmpp.component.ComponentBase.loadConfig().176 Component
org.jitsi.jicofo. config:
Jicofo 2016-09-29 06:17:17.280 INFO: [1]
org.jitsi.xmpp.component.ComponentBase.loadConfig().177 ping interval:
10000 ms
Jicofo 2016-09-29 06:17:17.280 INFO: [1]
org.jitsi.xmpp.component.ComponentBase.loadConfig().178 ping timeout: 5000
ms
Jicofo 2016-09-29 06:17:17.281 INFO: [1]
org.jitsi.xmpp.component.ComponentBase.loadConfig().179 ping threshold: 3
Jicofo 2016-09-29 06:17:17.488 INFO: [16]
org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component
discovered: auth.conference.example.com,
Version[Prosody(0.9.7,Linux)@2000246765
Jicofo 2016-09-29 06:17:17.488 INFO: [16]
org.jitsi.jicofo.JitsiMeetServices.newNodeDiscovered().244 Detected XMPP
server version: Version[Prosody(0.9.7,Linux)@2000246765
Jicofo 2016-09-29 06:17:17.489 INFO: [16]
org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component
discovered: conference.conference.example.com, null
Jicofo 2016-09-29 06:17:17.489 INFO: [16]
org.jitsi.jicofo.JitsiMeetServices.newNodeDiscovered().236 MUC component
discovered: conference.conference.example.com
Jicofo 2016-09-29 06:17:17.491 INFO: [16]
org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component
discovered: support.conference.example.com,
Version[Prosody(0.9.7,Linux)@-297195133
Jicofo 2016-09-29 06:17:17.496 INFO: [16]
org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component
discovered: focus.conference.example.com, null
Jicofo 2016-09-29 06:17:17.499 INFO: [16]
org.jitsi.jicofo.ComponentsDiscovery.scheduleRediscovery().190 Services
re-discovery interval: 30000
Jicofo 2016-09-29 06:17:17.499 INFO: [16]
org.jitsi.jicofo.FocusManager.registrationStateChanged().541 XMPP provider
reg state: RegistrationState=Registered
Jicofo 2016-09-29 06:17:17.499 INFO: [16]
org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.log() XMPP provider
Jabber:focus@auth.conference.example.com/focus12606626156489147@localhost
connected (JID: focus@auth.conference.example.com/focus12606626156489147)
Jicofo 2016-09-29 06:17:38.636 INFO: [51]
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request
for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:43.956 INFO: [53]
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request
for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:47.568 INFO: [40]
org.jitsi.jicofo.ComponentsDiscovery.discoverServices().267 New component
discovered: jitsi-videobridge.conference.example.com,
Version[JVB(0.1.808,Linux)@-891780935
Jicofo 2016-09-29 06:17:47.568 INFO: [40]
org.jitsi.jicofo.BridgeSelector.addJvbAddress().148 Added videobridge:
jitsi-videobridge.conference.example.com v:
Version[JVB(0.1.808,Linux)@-891780935
Jicofo 2016-09-29 06:17:47.569 WARNING: [40]
org.jitsi.jicofo.BridgeSelector.addJvbAddress().160 No pub-sub node mapped
for jitsi-videobridge.conference.example.com
Jicofo 2016-09-29 06:17:47.572 INFO: [60] org.jitsi.jicofo.JvbDoctor.log()
Scheduled health-check task for: jitsi-videobridge.conference.example.com
Jicofo 2016-09-29 06:17:48.030 INFO: [63]
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request
for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:49.190 INFO: [65]
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request
for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:54.341 INFO: [67]
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request
for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:54.514 INFO: [69]
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request
for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:17:59.609 INFO: [76]
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request
for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:04.781 INFO: [39]
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request
for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:10.191 INFO: [47]
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request
for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:15.448 INFO: [49]
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request
for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:20.825 INFO: [57]
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request
for room: vvoo@conference.conference.example.com
Jicofo 2016-09-29 06:18:25.984 INFO: [59]
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().416 Focus request
for room: vvoo@conference.conference.example.com

Le 28/09/2016 à 14:59, Damian Minkov a écrit :

What about jicofo logs, is there anything interesting? Seems there is an
error coming, but not forwarded to the client for some reason.

On Sep 28, 2016 03:33, "Nicolas" <nicolas@kaizendo.fr> wrote:

According to this, if I understand it correctly, headers are good by
default

http://httpd.apache.org/docs/2.4/mod/mod_proxy.html#x-headers

I have tried to add headers with mod_header, also ProxyPreserveHost
directive
and some parameter to the proxy worker, I have tried one by one, and so
far no luck, same error...

     ProxyPreserveHost on
     ProxyPass "/http-bind" "https://conference.example.com:5281/http-bind"
connectiontimeout=5 timeout=30 keepalive=on
     ProxyPassReverse "/http-bind"
"https://conference.example.com:5281/http-bind"

     Header set X-Forwarded-For %{REMOTE_ADDR}s
     Header set Host %{HTTP_HOST}s

I add to the conf.d in prosody

bosh_max_inactivity = 60000

And logs are now :

Sep 28 09:38:22 bosh70934816-8c8c-4971-98c0-4706feea5d39 debug
Received[c2s]: <iq id='dcd2fee8-02e2-4e3f-8d89-54d03a84fb6e:sendIQ'
type='set' to='focus.conference.example.com'>
Sep 28 09:38:22 mod_bosh debug Session
70934816-8c8c-4971-98c0-4706feea5d39 has 2 out of 1 requests open
Sep 28 09:38:22 mod_bosh debug and there are 0 things in the
send_buffer:
Sep 28 09:38:22 mod_bosh debug We are holding too many requests,
so...
Sep 28 09:38:22 mod_bosh debug ...sending an empty response
Sep 28 09:38:22 mod_bosh debug We have an open request, so
sending on that
Sep 28 09:38:22 mod_bosh debug Request destroyed: table:
0x282a920
Sep 28 09:38:22 mod_bosh debug Have nothing to say, so leaving
request unanswered for now
Sep 28 09:38:22 jcp27013d0 debug Received[component]: <iq
id='dcd2fee8-02e2-4e3f-8d89-54d03a84fb6e:sendIQ' type='error'
to='d81cf401-c431-4702-b321-0347016666de@support.conference.example.com/ec36984c-0671-4119-9af9-0df23ba2520f'
from='focus.conference.example.com'>
Sep 28 09:38:22 mod_bosh debug We have an open request, so
sending on that
Sep 28 09:38:22 mod_bosh debug Request destroyed: table:
0x2832290
Sep 28 09:38:22 bosh70934816-8c8c-4971-98c0-4706feea5d39 debug
BOSH session marked as inactive (for 60000s)

I don't know if it's better :slight_smile:
I have tested again to be sure, with the proxy settings (instead of the
rewrite) and all works fine without the secure domain

ressources :
http://httpd.apache.org/docs/2.4/mod/mod_proxy.html
http://httpd.apache.org/docs/current/mod/mod_headers.html
http://httpd.apache.org/docs/current/mod/mod_ssl.html#envvars
Le 27/09/2016 à 20:54, Damian Minkov a écrit :

There is an old thread about that by Lyubomir:
http://lists.jitsi.org/pipermail/dev/2014-February/019946.html

On Tue, Sep 27, 2016 at 1:32 PM, Nicolas <nicolas@kaizendo.fr> wrote:

Hi :slight_smile:

I have tried to add all infos to my first mail but I forget some, first,
jicofo and videobridge are installed from the deb repo.
And, for apache, I use the prosody bosh conf page
https://prosody.im/doc/setting_up_bosh#cross-domain_issues

You right about the headers, I can't tell if the rewrite method is taking
care of them

I will try with the proxy directive instead of the rewrite, if someone as
a
working apache conf, it's even better .

thanks

Nicolas

Le 27/09/2016 à 20:08, Damian Minkov a écrit :

Hi,

Maybe you have problems with the bosh connection. I'm not sure, but I
think your config is not equal to the one used for nginx:

https://github.com/jitsi/jitsi-meet/blob/master/doc/debian/jitsi-meet/jitsi-meet.example#L42
Nginx is actually proxying the connection and setting some headers,
not sure whether this apache rewrites are the same, you can check
that.

Regards
damencho

On Tue, Sep 27, 2016 at 11:53 AM, Nicolas <nicolas@kaizendo.fr> wrote:

Hi !
First post here, I hope it's the right place.

I post to dev, because I have done lot of tests, and I need help.

I use jitsi-meet from source, jicofo and videobridge from nightly build
(I
have encourter a null java error fixed recently in jicofo)

I use Apache instead of nginx - apache vhost is at the end of this mail
-

All works fine with the anonymous (default) settings, but...

I follow the manual installation guide for jitsi meet, and the secure
domain
guide of jicofo

When I try to open a new room, I have the credentials windows, I use the
focus creds, but I can't have a conference :

The error on the auth windows is :

Get id session error : undefined

the error on the firefox console (tested also with chromium)

Auth on the fly failed <iq
id="20e60667-daa4-43d4-8789-3abbdf8f6364:sendIQ"
type="error"

to="focus@auth.conference.example.com/9f7c63c0-512b-41c6-900e-4864656da885"
from="focus.conference.example.com" xmlns="jabber:client">

In the prosody log, I have this wired line, but I'm not sure if it's
related
:
debug BOSH session marked as inactive (for 60s)

Complete log sequence :

Sep 27 18:30:18 socket debug server.lua: auto-starting ssl
negotiation...
Sep 27 18:30:18 socket debug server.lua: attempting to start tls on
tcp{client}: 0x2dd4de8
Sep 27 18:30:18 socket debug server.lua: accepted new client
connection
from xxx.xxx.xxx.xxx:49364 to 5281
Sep 27 18:30:18 socket debug server.lua: ssl handshake done
Sep 27 18:30:18 mod_bosh debug Handling new request table:
0x2d558e0: <body rid='29554595'
xmlns='http://jabber.org/protocol/httpbind'
sid='6f3c872d-1f3b-4249-9e92-8dbdacedd509'><iq
to='focus.conference.example.com' type='set' xmlns='jabber:client'
id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'><conference
xmlns='http://jitsi.org/protocol/focus'
room='test@conference.conference.example.com'
machine-uid='cfbc8b3c403ea75ecf44c2c340c5ef7d'><property
name='channelLastN'
value='-1'/><property name='adaptiveLastN' value='false'/><property
name='disableRtx' value='true'/><property name='enableLipSync'
value='true'/><property name='openSctp' value='true'/><property
name='simulcastMode' value='rewriting'/></conference></iq></body>
----------
Sep 27 18:30:18 mod_bosh debug BOSH body open (sid:
6f3c872d-1f3b-4249-9e92-8dbdacedd509)
Sep 27 18:30:18 mod_bosh debug BOSH stanza received: <iq
id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='set'
to='focus.conference.example.com'>

Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug
Received[c2s]: <iq id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ'
type='set' to='focus.conference.example.com'>
Sep 27 18:30:18 mod_bosh debug Session
6f3c872d-1f3b-4249-9e92-8dbdacedd509 has 2 out of 1 requests open
Sep 27 18:30:18 mod_bosh debug and there are 0 things in the
send_buffer:
Sep 27 18:30:18 mod_bosh debug We are holding too many requests,
so...
Sep 27 18:30:18 mod_bosh debug ...sending an empty response
Sep 27 18:30:18 mod_bosh debug We have an open request, so
sending
on that
Sep 27 18:30:18 mod_bosh debug Request destroyed: table:
0x2bcd080
Sep 27 18:30:18 socket debug server.lua: closed client handler and
removed socket from list
Sep 27 18:30:18 mod_bosh debug Have nothing to say, so leaving
request unanswered for now
Sep 27 18:30:18 jcp2a8a360 debug Received[component]: <iq
id='8ef39a60-c470-44ff-9482-3da1fdef1c22:sendIQ' type='error'

to='9ae1a918-8a1b-4b13-ba56-207db63999ba@support.conference.example.com/2dc20dc8-5191-493b-ab13-748dafdf994c'
from='focus.conference.example.com'>
Sep 27 18:30:18 mod_bosh debug We have an open request, so
sending
on that
Sep 27 18:30:18 mod_bosh debug Request destroyed: table:
0x2adbf20
Sep 27 18:30:18 bosh6f3c872d-1f3b-4249-9e92-8dbdacedd509 debug
BOSH
session marked as inactive (for 60s)
Sep 27 18:30:18 socket debug server.lua: closed client handler and
removed socket from list

I need at least to have this working, and I'm stuck, have you some ideas
?
jitsi meet is really good ! I'll be glad is I can have this working :slight_smile:

Config files :

(I have tried with and without cross domain and consider bosh secure)

cross_domain_bosh = true
consider_bosh_secure = true

VirtualHost "conference.example.com"
      authentication = "internal_plain"
      --authentication = "anonymous"
      --authentication = "sql"

VirtualHost "support.conference.example.com"
      authentication = "anonymous"

VirtualHost "auth.conference.example.com"
      authentication = "internal_plain"

admins = { "focus@auth.conference.example.com" }

Component "conference.conference.example.com" "muc"
Component "jitsi-videobridge.conference.example.com"
          component_secret = "secret"
Component "focus.conference.example.com"
          component_secret = "secret"

In jicofo

/etc/jitsi/jicofo/sip-communicator.properties

org.jitsi.jicofo.auth.URL=XMPP:conference.example.com

Apache:

<VirtualHost *:80>
      ServerName conference.example.com

      DocumentRoot "/var/www/srv/2/conference.example.com"

      SSLProxyEngine On
      RewriteEngine On
      RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+$
      RewriteRule ^/(.*)$ / [PT]
      RewriteRule ^/http-bind$
https://conference.example.com:5281/http-bind
[P,L]

</Virtualhost>

<VirtualHost *:443>
      ServerName conference.example.com

      DocumentRoot "/var/www/srv/2/conference.example.com"

      SSLProxyEngine On
      SSLEngine on
      SSLCertificateFile /etc/apache2/ssl/ca.crt
      SSLCertificateKeyFile /etc/apache2/ssl/ca.key

      RewriteEngine On
      RewriteCond %{REQUEST_URI} ^/[a-zA-Z0-9]+$
      RewriteRule ^/(.*)$ / [PT]
      RewriteRule ^/http-bind$
https://conference.example.com:5281/http-bind
[P,L]

</Virtualhost>

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

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

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

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

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

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

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

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

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

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

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

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