Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android app: cant join meeting on community Jitsi instance without logging in through Google, Facebook, or Microsoft (Github) [PART II] #14846

Open
1 of 11 tasks
Franco-Sparrow opened this issue Jun 19, 2024 · 13 comments

Comments

@Franco-Sparrow
Copy link

Franco-Sparrow commented Jun 19, 2024

What happened?

@saghul @exercismnow Hi guys, I opened this issue, following this one you had before

I am opening this issue because is not working for me eather on Jitsi Meet Android App 24.2.2 nor 23.4.0, with Jitsi Meet server 2.0.9457-1. The app was downloaded from the Play Store. I am not using auth, it is a self-hosted server on public network. I can join using mobile browser on Desktop mode, but not able to do it using the app. I configured the app to join meetings with the name Franco (mobile), I invite myself with a link invitation (made from my PC desktop browser) and the apps keeps saying that there is no moderator in the room, that I have to wait for one or become in the moderator. There is indeed a moderator in the room, my other account which created the room using my Desktop browser on my PC.

I was able to joing with the Android app, but I had to become in the moderator and invite others (my laptop) to the room. I dont know if other Android could have same problem if try to joing without moderator permissions

PS: the iOS app works, but not the Android app (big problem here, as this is most used)

Platform

  • Chrome (or Chromium based)
  • Firefox
  • Safari
  • Other desktop browser
  • Android browser
  • iOS browser
  • Electron app
  • Android mobile app
  • iOS mobile app
  • Custom app using a mobile SDK

Browser / app / sdk version

Android app 24.2.2 and 23.4.0

Relevant log output

No response

Reproducibility

  • The problem is reproducible on meet.jit.si

More details?

if I try to access to the invitation

WhatsApp Image 2024-06-17 at 12 17 11 AM

If I set the URL o name of the room, it stays forever waiting for the moderator:

WhatsApp Image 2024-06-16 at 10 08 30 PM

@saghul
Copy link
Member

saghul commented Jun 19, 2024

Can you please share your server's URL so we can test?

@Franco-Sparrow
Copy link
Author

Can you please share your server's URL so we can test?

Hi Sir

This is my server

https://meet.parallaxnet.com/

@saghul
Copy link
Member

saghul commented Jun 19, 2024

Looks like you have XMPP auth enabled in your server.

Can you please share your Prosody config?

@saghul
Copy link
Member

saghul commented Jun 19, 2024

To be clear, the auth in your server has nothing to do with the app or the Firebase auth we use on meet.jit.si.

You might have enabled XMPP with by mistake. With that auth mechanism you can create users in the local Prosody instance and have them authenticate to your server.

@Franco-Sparrow
Copy link
Author

Franco-Sparrow commented Jun 19, 2024

Hi @saghul

Sorry for the late reply, I was sleeping. To connect to the server and become a moderator you need an admin account, previously created with the prosody. If I just want to join an existence meet, created from a Desktop browser, where there is already a moderator inside, and has invited me with a shared link, or I know the full link to the meet...it just doesn't work from the Android App.

This is the config in the prosody:

imagen

imagen

I have created an admin account with prosody, so you can test this by yourself.

prosodyctl register saghul meet.parallaxnet.com saghuladmin123
general             warn        Lua 5.1 has several issues and support is being phased out, consider upgrading

Thanks in advance, and let me know the results of your tests, please :)

@saghul
Copy link
Member

saghul commented Jun 19, 2024

Hum, I see. We must have broken guest login :-/

@Calinteodor can you PTAL?

@Calinteodor
Copy link
Contributor

Calinteodor commented Jun 20, 2024

I managed to test with a standard authentication configured instance and I am not able to reproduce your issue. Everything works as expected.
Can you send us your config.js and your full prosody configuration?

Thank you!

@Franco-Sparrow
Copy link
Author

Hi @Calinteodor Let me share my server files. Please take note that this server was installed via apt repos on Ubuntu 22.04.

/etc/prosody/conf.avail/meet.parallaxnet.com.cfg.lua
/etc/jitsi/meet/meet.parallaxnet.com-config.js
/etc/jitsi/jicofo/sip-communicator.properties

server-files.zip

Iptable rules:

#-----
# RAW
#-----

-P PREROUTING ACCEPT
-P OUTPUT ACCEPT
-A PREROUTING -i eth0 -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG FIN,SYN,RST,PSH,ACK,URG -j DROP
-A PREROUTING -i eth0 -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG NONE -j DROP
-A PREROUTING -i eth0 -p tcp -m tcp --tcp-flags FIN,SYN FIN,SYN -j DROP
-A PREROUTING -i eth0 -p tcp -m tcp --tcp-flags SYN,RST SYN,RST -j DROP
-A PREROUTING -i eth0 -p tcp -m tcp --tcp-flags SYN,PSH SYN,PSH -j DROP
-A PREROUTING -i eth0 -p tcp -m tcp --tcp-flags SYN,URG SYN,URG -j DROP
-A PREROUTING -i eth0 -p tcp -m tcp --tcp-flags FIN,RST FIN,RST -j DROP
-A PREROUTING -i eth0 -p tcp -m tcp --tcp-flags FIN,ACK FIN -j DROP
-A PREROUTING -i eth0 -p tcp -m tcp --tcp-flags RST,ACK RST -j DROP
-A PREROUTING -i eth0 -p tcp -m tcp --tcp-flags PSH,ACK PSH -j DROP
-A PREROUTING -i eth0 -p tcp -m tcp --tcp-flags ACK,URG URG -j DROP
-A PREROUTING -i eth0 -m addrtype --src-type UNSPEC -j DROP
-A PREROUTING -i eth0 -m addrtype --src-type BLACKHOLE -j DROP
-A PREROUTING -i eth0 -m addrtype --src-type UNREACHABLE -j DROP
-A PREROUTING -i eth0 -m addrtype --src-type LOCAL -j DROP
-A PREROUTING -i eth0 -m addrtype --src-type BROADCAST -j DROP
-A PREROUTING -i eth0 -m addrtype --src-type MULTICAST -j DROP

#--------
# MANGLE
#--------

-P PREROUTING ACCEPT
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
-P POSTROUTING ACCEPT
-A PREROUTING -i eth0 -m conntrack --ctstate INVALID -j DROP

#--------
# FILTER
#--------

-P INPUT DROP
-P FORWARD DROP
-P OUTPUT ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p tcp -m conntrack --ctstate NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -s 199.231.161.151/32 -p tcp -m conntrack --ctstate NEW -m tcp -m multiport --dports 10050,10051 -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -p tcp -m conntrack --ctstate NEW -m tcp -m multiport --dports 80,443,3478,4443,5349,5600,40000:65535 -j ACCEPT
-A INPUT -p udp -m conntrack --ctstate NEW -m udp -m multiport --dports 3478,10000,25958,40000:65535 -j ACCEPT

#-----
# NAT
#-----

-P PREROUTING ACCEPT
-P INPUT ACCEPT
-P OUTPUT ACCEPT
-P POSTROUTING ACCEPT

PS: Could you also please, let me know which ports do I need to open for Jitsi Meet, to make it work no only for the clients using web brouser, but with the apps too? I think I have unnecessary ports opened.

Thanks in advance :)

@saghul
Copy link
Member

saghul commented Jun 20, 2024

The apps and browser use the same ports.

@Franco-Sparrow
Copy link
Author

Franco-Sparrow commented Jun 21, 2024

I managed to test with a standard authentication configured instance and I am not able to reproduce your issue. Everything works as expected. Can you send us your config.js and your full prosody configuration?

Thank you!

Hi Sir

Did you find anything wrong on my configuration?

@Franco-Sparrow
Copy link
Author

May I have a follow up on this please?

@saghul
Copy link
Member

saghul commented Jun 24, 2024

The config looks ok in general. We have a jitsi-anonymous auth type which extends anonymous with some Jitsi session data, but that is mostly used for WS IIRC, so you should be fine since you use BOSH.

I wonder if something got broken with the deprecated Jicofo config. Could you test migrating to jicofo.conf rather than using the properties file?

@Franco-Sparrow
Copy link
Author

Franco-Sparrow commented Jun 24, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants