sorry but this custom authentication version is currently only made for integration with our internal tools (I'm not part of JItsi Team).
You should modify prosody configuration by hand after quick installation.
Damien Fetis.
RENATER
···
De: "Petros Louca" <louca.petros@ucy.ac.cy>
À: "dev" <dev@jitsi.org>
Envoyé: Jeudi 8 Juin 2017 10:37:32
Objet: Re: [jitsi-dev] Jitsi-meet ldap auth - black screen
Hello,
can you please specify if the change has been included in the latest stable/nightly quick installation method or not (and where can we download this working custom version for external authentication)?
Regards,
Petros
From: dev-bounces@jitsi.org [mailto:dev-bounces@jitsi.org] On Behalf Of Damien FETIS
Sent: Thursday, June 08, 2017 10:59 AM
To: dev
Subject: Re: [jitsi-dev] Jitsi-meet ldap auth - black screen
Hi,
We recently made a custom authentication for a JItsi-meet installation using prosody external authentication instead of internal_plain and we should set consider_bosh_secure = true in prosody.cfg.lua to make it work.
As Bosh XMPP connection is made through the Nginx proxy with JItsi-meet (HTTPS bosh to HTTP bosh) prosody should consider it secure to enable authentication method different to internal_plain that's why you should set consider_bosh_secure to true ( http://prosody.im/doc/modules/mod_bosh ).
Regards,
Damien Fétis.
De: "Th3R3al" < th3r3al@cloudreboot.de >
À: "dev" < dev@jitsi.org >
Envoyé: Mercredi 7 Juin 2017 20:47:21
Objet: Re: [jitsi-dev] Jitsi-meet ldap auth - black screen
Hey Guys,
i researched a bit and find that i was using the unstable ppa. I changed this now to jitsi stable and reinstalled the jitsi-meet package and prosody. I use now the following versions:
jitsi-meet 1.0.2098-1
jicofo 1.0.1.0-357
jvb 0.1.953
prosody 0.9.12
Also Damencho and i found that if I enable the mod_auth_ldap2 in the prosody config - the BOSH connection mystically is not working. If I change it back to "internal_plain" auth in prosody - the bosh connection is working fine.
I get this on Google Chrome:
[JitsiMeetJS.js] <Object.getGlobalOnErrorHandler>: UnhandledError: null Script: null Line: null Column: null StackTrace: Error: Strophe: BOSH-Connection failed: null
at Object.Strophe.log (lib-jitsi-meet.min.js:30)
at Object.error (app.bundle.min.js:104)
at e.Bosh._connect_cb (app.bundle.min.js:105)
at u.Connection._connect_cb (app.bundle.min.js:104)
at e.Bosh._onRequestStateChange (app.bundle.min.js:105)
r @ lib-jitsi-meet.min.js:6
getGlobalOnErrorHandler @ lib-jitsi-meet.min.js:32
window.onerror @ app.bundle.min.js:87
callErrorHandler @ lib-jitsi-meet.min.js:1
Strophe.log @ lib-jitsi-meet.min.js:30
error @ app.bundle.min.js:104
_connect_cb @ app.bundle.min.js:105
_connect_cb @ app.bundle.min.js:104
_onRequestStateChange @ app.bundle.min.js:105
lib-jitsi-meet.min.js:6 [modules/xmpp/strophe.util.js] <Object.Strophe.log>: Strophe: BOSH-Connection failed: null
Any idea what could cause this behavior?
Thanks all!
Greetings
Th3R3al
Am 05.06.2017 um 21:40 schrieb Th3R3al:
BQ_BEGIN
Just to give additional information. If i change my authentication method on prosody again to internal_plain the authentication is working again. (without changing some on my reverse proxy or something like this). Changing it back to prosodys ldap2 authentication breaks it again. (but authentication to prosody with pidgin works with ldap credentials)
Anyone got a suggestion how to debug this? Should i open an issue on the jitsi-meet repo?
Am 05.06.2017 um 17:13 schrieb Th3R3al:
Hi Damencho,
yeah i found this:
lib-jitsi-meet.min.js:12 [/modules/RTC/RTCUtils.js] <>: onUserMediaSuccess
app.bundle.min.js:1 failed to create local tracks Array(2) JitsiTrackErrorgum: Objectmessage: "Generic getUserMedia error"name: "gum.general"stack: "Error ↵ at new JitsiTrackError ( https://jitsi.my.domain/libs/lib-jitsi-meet.min.js?v=1073:3:19089 ) ↵ at https://jitsi.my.domain/libs/lib-jitsi-meet.min.js?v=1073:5:5164 ↵ at https://jitsi.my.domain/libs/lib-jitsi-meet.min.js?v=1073:5:3129 ↵ at maybeApply ( https://jitsi.my.domain/libs/lib-jitsi-meet.min.js?v=1073:4:26671 ) ↵ at https://jitsi.my.domain/libs/lib-jitsi-meet.min.js?v=1073:4:26890 "__proto__: Errorconstructor: function JitsiTrackError(error,options,devices)arguments: nullcaller: nulllength: 3name: "JitsiTrackError"prototype: Error__proto__: function ()[[FunctionLocation]]: <unknown>[[Scopes]]: Scopes[3]__proto__: Objectconstructor: function Error()message: ""name: "Error"toString: function toString()arguments: nullcaller: nulllength: 0name: "toString"__proto__: function ()apply: function apply()arguments: (...)bind: function bind()call: function call()caller: (...)constructor: function Function()length: 0name: ""toString: function toString()Symbol(Symbol.hasInstance): function [Symbol.hasInstance]()get arguments: function ThrowTypeError()set arguments: function ThrowTypeError()get caller: function ThrowTypeError()set caller: function ThrowTypeError()__proto__: Object[[FunctionLocation]]: <unknown>__proto__: Object
(anonymous) @ app.bundle.min.js:1
I looked also in the prosody logs .. and cant find an auth request to jitsi.my.domain if i try create a new conference.
Am 05.06.2017 um 17:05 schrieb Damian Minkov:
Hi,
Are there any error logs in the js console?
Regards
damencho
On Mon, Jun 5, 2017 at 9:28 AM, Th3R3al <th3r3al@cloudreboot.de> wrote:
Hi guys,
it seems that i am missing something in the configs or so..
I try to configure my jitsi-meet installation (installed via apt-get) for
ldap-auth and i made the following changes:
- Installed the mod_auth_ldap2 for prosody (and the corresponding
lib_ldap...)
- Made some configuration so prosody now connects to my Microsoft AD with a
special service user for this (this is working, checked it with pidgin and
connected to my prosody instance with LDAP credentials)
- Added the following in /etc/jitsi/jicofo/sip-communicator.properties:
org.jitsi.jicofo.auth.URL=XMPP:<myxmppdomain>
- the <myxmppdomain> is also the domain that is configured in prosody and
worked with authentication in pidgin
After all changes and restarting all services (jicofo, prosody,
jitsi-videobridge) I get now a black screen with the jitsi menus if i try to
create a new conference. There is no authentication window. In the logs i
could not find some errors regarding failed authentication or something..
the auth.<myxmppdomain> is not changed so it does "internal_plain"
authentication.
Any suggestions?
Thanks in advance!
Best Regards
Th3R3al
_______________________________________________
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
BQ_END
_______________________________________________
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