Build From Source Errors


#1

Hello everyone,
i have some problem building jitsi from source.
I have done the quick install in this way:
echo ‘deb https://download.jitsi.org stable/’ >> /etc/apt/sources.list.d/jitsi-stable.list wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | apt-key add -
apt update
apt install jitsi-meet

on ubuntu 16.04 and apache2
The installation works fine.

in /var/www/html
git clone https://github.com/jitsi/jitsi-meet.git
cd jitsi-meet (i have change the permissions chmod 777)
npm install
make

in /etc/apache2/sites-available/localhost.conf
i have change /usr/share/jitsi-meet with /var/www/html/jitsi-meet
and in apache2.con :

<Directory /var/www/html/jitsi-meet/>
      Options Indexes FollowSymLinks
      AllowOverride None
      Require all granted
  </Directory>

i can see all the modification i’m doing but jitsi is broken and this is the error i can see on the console:

i have a lot of errors on /var/log/jitsi/
jvb.log
var/log/jitsi# tail -20 jvb.log
at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:222)
at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:315)
at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:300)
at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.ConnectException: Connessione rifiutata (Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:174)

jicofo.log:
Jicofo 2018-08-27 23:35:21.112 GRAVE: [30] org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.doConnect().319 Failed to connect/login: host-unknown You can read more about the meaning of this stream error at http://xmpp.org/rfcs/rfc6120.html#streams-error-conditions
stream:errorThis server does not serve auth.localhost</stream:error>
org.jivesoftware.smack.XMPPException$StreamErrorException: host-unknown You can read more about the meaning of this stream error at http://xmpp.org/rfcs/rfc6120.html#streams-error-conditions
stream:errorThis server does not serve auth.localhost</stream:error>
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1055)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:994)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1010)
at java.lang.Thread.run(Thread.java:748)
Jicofo 2018-08-27 23:35:21.113 AVVERTENZA: [4387] org.jivesoftware.smack.AbstractXMPPConnection.callConnectionClosedOnErrorListener() Connection XMPPTCPConnection[not-authenticated] (0) closed with error

someone can tell me if the procedure i’m doing is correct ?
What other files i need to modify ?
like confige.js ?

Thank you all


#2

When you were installing it as domain you entered localhost?


#3

on my personal ubuntu 16.04 ,
but installing the new version from source on azure or amazon ec2 is all ok ,
but i have some issues with ICE fails:

is only my problem or is a general issue ?

thank you


#4

Have you done this https://github.com/jitsi/jitsi-meet/blob/master/doc/quick-install.md#advanced-configuration


#5

yes, i have read about that and add both the ip but nothing has changed.
what else can be ?
Thank you


#6

What about the port forwarding?


#7

i have open all the port, 443, 4443, 10000-20000


#8

You had added the addresses but had you restarted jvb? webrtc-internals shows that still it advertises only the internal address:


#9

I have restarted everything but now is worst,


it crash when i try the connection about two users.

Now inside the file /etc/jitsi/videobridge/sip-communicator.properties i have three rows:

org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS=
org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS=
org.jitsi.videobridge.AUTHORIZED_SOURCE_REGEXP=focus@auth.publicip/.*

is this right ?

thank you


#10

Yes, if for local and public you had put the ip-addresses there.
Check your jvb log when restarting it /vat/log/jitsi/jvb.log. You will see why it doesn’t start.

Your first error in the logs is videobridgeNotAvailable, so apparently jvb had not been started.


#11

i don’t see any errors on jvb.log
https://pastebin.com/0vND7C5t

but restarting jcofo on his logfile i can see something strange:
https://pastebin.com/WhF60T6b
Jicofo 2018-08-29 13:05:11.990 SEVERE: [37] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Can not invite participant – no bridge available.

how can i resolve this one if this is the problem ?
i have reboot the server and all the process too.
nothing has change

Thanks for your patience


#12

You have < and > around your ip addresses, can you remove them and try again, this is what I saw on mobile, will check again when i get to the PC.


#13

thank you very mutch.
that was the problem.
i thought it was normal to have them around the ip.

thank you again
best regards