Instability of the JitsiVideoBridge

Hi Giorgio,

please active the Chrome console with CTRL-SHIFT + J and paste the error you see when try to access to the page.

Regards

Thanks for the fast answer, here there is the result:

Uncaught ReferenceError: webinstant is not defined config.js:3

This appears to be Chrome main.js:303

Uncaught TypeError: Cannot read property ‘useWebsockets’ of undefined

i’m going to check the first error even if it seems to be ok…the usewebsocket should be enabled but where?

Rechecked cannot find any error apparently, here there is my config:

var config = {

hosts: {

domain: webinstant.datamanagement.it,

muc: ‘conference.webinstant.datamanagement.it’, // FIXME: use XEP-0030

bridge: ‘jitsi-videobridge.webinstant.datamanagement.it’ // FIXME: use XEP-0030

},

useIPv6: false, // ipv6 support. use at your own risk

useNicks: false,

useWebsockets: true,

resolution: “360”,

bosh: window.location.protocol + “//” + window.location.host + ‘/http-bind/’ // FIXME: use xep-0156 for that

};

G. Catena

Hi Giogrio,

you see any error on the chrome console?

Regards

No, only what I wrote down before.

Regards

Hi Giorgio,

I can access to your application and working fine on my Chrome. I use this URL:

https://webinstant.datamanagement.it/jitsi/apps/ofmeet

Regards

thanks dele found the error…

i’ll tell you what is is in another life…let me say it could be addressed as a…rookie error !!!

Hi Giorgio,

now that your application work, can you share the configuration to use 443 port instead the default 7443.

Thank you or Grazie

Regards

hi, i just resolved the problem on the websockets error and url match, nope to have the correct link opened by the spark plugin. It keeps pointing to the 7443 port instead of the https standard one (443).

I think that dele could help to resolve this, it would be really useful for me.

Regards

I did find a C.bat inside the path related to the classes and there there is the compile method used:

“C:\Program Files\Java\jdk1.6.0_43\bin\javac” -Xlint -classpath .;…\smack.jar;…\smackx.jar;…\spark.jar org\jivesoftware\spark\plugin\jitsivideobridge*.java

I find out the classes that cointain the port 7443 that is:

private String port = “443”;

in row 49 of the JitsivideobridgePlugin.java file

I could recompile everything but i do not have the proper classes (smack.jar, smackx.jar and spark.jar

Would it be possibile to place the port as a parameter or take it from the of bosh setup?

Regards

Hello Dele,

Could you tell me about instability of videobridge/ofmeet?

I have all working, but it is unstable like as I describe in details above. Other person write the same problem too above.

Could you tell me if is really bugs/unstable system, and if yes, what we need to do or just to wait for a new release?

Thanks,

Hi Giorgio!

For the port 7443 vs 443 problem I just use Apache mod_proxy:

SSLEngine On
SSLCertificateFile "/etc/ssl/certs/ssl-cert-snakeoil.pem"
SSLCertificateKeyFile "/etc/ssl/private/ssl-cert-snakeoil.key"
SSLProxyEngine On
ProxyRequests Off
ProxyPreserveHost Off
ProxyPass /http-bind/ http://jabber.example.com:7070/http-bind/
ProxyPassReverse /http-bind/ http://jabber.example.com:7070/http-bind/
ProxyPass /ws/ https://jabber.example.com:7443/ws/
ProxyPassReverse /ws/ https://jabber.example.com:7443/ws/
ProxyPass /jitmeet/ https://jabber.example.com:7443/jitsi/apps/jitmeet/
ProxyPassReverse /jitmeet/ https://jabber.example.com:7443/jitsi/apps/jitmeet/
ProxyPass / https://jabber.example.com:7443/jitsi/apps/ofmeet/
ProxyPassReverse / https://jabber.example.com:7443/jitsi/apps/ofmeet/

At least this does work for me for ofmeet. Don’t know whether this is good practice or just an evil hack. For the other applications in jitsivideobridge you need to add the matching entries as well, of course.

create a file called

USER_HOME\Spark\jitsivideobridge.properties

on your PC that is running Spark and enter

port = 443

protocol = https

server = your_server_name

If you look at the source code, it uses these three properties to create the URL

url = protocol + “://” + server + “:” + port + “/jitsi/apps/ofmeet/?”;

on windows, USER_HOME would be your user folder (C:\USERS\XXXX)

If you want to change Openfire’s HTTP port, use the admin web console. Login, goto

Server Settings | HTTP Binding

and change both Port and SSL ports from 7070/7443 to 80/443.

On Linux, your openfire has to be running with as root user to use ports under 1024

Hi Dele,

i did what you said and restarted openfire but once i press the button it still ponts to the 7443 port…

i did place it in:

C:\Users\username\AppData\Roaming\Spark

Am I right?

From C:\Users\zzzzzz\AppData\Roaming\Spark\logs\warn.log

WARNING: JitsiVideobridge-Info: Properties-file does exist= C:\Users\zzzzzzz\Spark\jitsivideobridge.properties
27-Feb-2014 17:54:15 org.jivesoftware.spark.util.log.Log warning
WARNING: JitsiVideobridge-Info: JitsiVideobridge-port from properties-file is= 443
27-Feb-2014 17:54:15 org.jivesoftware.spark.util.log.Log warning
WARNING: JitsiVideobridge-Info: JitsiVideobridge-protocol from properties-file is= https
27-Feb-2014 17:54:15 org.jivesoftware.spark.util.log.Log warning
WARNING: JitsiVideobridge-Info: JitsiVideobridge-server from properties-file is= xxxxxx

Hi Dele,

what can I say apart I made the wrong thing?

Now it works like a charm the only issu here is the instability of the bridge but I think it is related to a development process that is still ongoing.

The really wonderful thing in my perception is the ability to invite other people different from your network members.

Regards

Hi Dele,

I think I found a problem.

Now that you provided me the correct place of the properties file I did start with some tests. On a 32 bit XP machine withc Spark 2.6.3 the plugin works fine, once i click on it, the chrome browser opens to the righe position:

https://whatever…/jitsi/apps/ofmeet/?r=…”

if i try to do the same on a different machine (win 7 x64) with the same sw version the chrome broser is opened but it points to

https://whatever…/ofmeet/?r=…”

why?

thanks a lot for the great help.

https://whatever…/ofmeet/?r=…”

that is an old version of the Spark plugin for jitsi videobridge

Hi Dele,

Please let me know how to run openfire with as root user.