YunoHost-Apps / rocketchat_ynh

Rocket.Chat package for YunoHost
https://rocket.chat/
GNU General Public License v3.0
16 stars 22 forks source link

iOS App doesn't connect #155

Closed sthaydn closed 1 year ago

sthaydn commented 1 year ago

Hi there,

RocketChat is working fine with Android and Linux on my yunohost with all on latest version. Also the macOS works fine, but no chance to get it working on iOS.

After inserting my credentials and clicking on connect, nothing happens.

Is this something known, or is this a "special feature" on my yunohost install?

Regards,

Stefam

ericgaspar commented 1 year ago

@sthaydn Most of the time, the problem occurs when rocket.Chat is installed as private app during install. You can change the permission to public in the webadmin > Applications > Rocket.Chat > Manage groups and permissions

sthaydn commented 1 year ago

It is set to all_users and visitors. Visitors is public, I guess?

ericgaspar commented 1 year ago

FYI, I have Rocket.Chat working fine on iOS...

sthaydn commented 1 year ago

Ok, thanks for that. So it seems there is an issue on my side. Where are the logfiles from RocketChat?

ericgaspar commented 1 year ago

Ok, thanks for that. So it seems there is an issue on my side. Where are the logfiles from RocketChat?

Webadmin -> Services -> rocketchat

sthaydn commented 1 year ago

Ok, there are no entries with logging in. Do you have another idea what I could investigate?

getzze commented 1 year ago

Hi, I also have the same problem, it works everywhere but iOS. I followed this, but nothing works. Still have to try this.

getzze commented 1 year ago

I managed to make it work! I had previously set the security setting for nginx to "modern", so it was using only TLSv1.3, but I guess it doesn't work on old iphones. Setting it to intermediate makes it work:

sudo yunohost settings set security.nginx.compatibility -v intermediate

What is strange is that I tried adding this line to /etc/nginx/conf.d/rocketchat.my.subdomain.conf: ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # don’t use SSLv3 ref: POODLE But it was not allowing tlsv1.2 on this subdomain...

sthaydn commented 1 year ago

After reading your comment it hit me really hard. :-D I did exactly the same a long time ago, haven't remembered it until now. Thank you very much! It also works for me now.

But, you are right, I would also have "modern" set as default and only have changed that where it is necessary.

mrPsycho commented 1 year ago

i also just installed it and wondered why ios is broken… but yeah, lowered security level and it started to work