Closed dschwartznyc closed 4 months ago
Hi @dschwartznyc,
The Server version is: 9.8.0
Looked through the suggestions at the troubleshooting link but, wonder whether they are aligned to the issue since the server is accessible by desktop app and browsers on both the desktop and IOS.
Looked through the suggestions at the troubleshooting link but, wonder whether they are aligned to the issue since the server is accessible by desktop app and browsers on both the desktop and IOS.
The "Cannot connect to the server" error in the mobile app is usually related to an issue with the SSL certificate in the mobile app, which doesn't affect the browser/desktop.
There does not seem to be a certificate issue. As you can see from the attached extract from the server logs, accessing the server from a mobile (iPhone or Android) results in continuous rewrite of the requested URL.
10.10.8.1 - - [05/Jun/2024:18:38:48 +0100] "HEAD /mattermost HTTP/1.1" 302 - [05/Jun/2024:18:38:48 +0100] 10.10.8.1 TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "HEAD /mattermost HTTP/1.1" -
10.10.8.1 - - [05/Jun/2024:18:38:48 +0100] "HEAD /mattermost/ HTTP/1.1" 302 - [05/Jun/2024:18:38:48 +0100] 10.10.8.1 TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "HEAD /mattermost/ HTTP/1.1" -
10.10.8.1 - - [05/Jun/2024:18:38:48 +0100] "HEAD /mattermost/mattermost HTTP/1.1" 302 - [05/Jun/2024:18:38:48 +0100] 10.10.8.1 TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "HEAD /mattermost/mattermost HTTP/1.1" -
10.10.8.1 - - [05/Jun/2024:18:38:48 +0100] "HEAD /mattermost/mattermost/mattermost HTTP/1.1" 302 - [05/Jun/2024:18:38:48 +0100] 10.10.8.1 TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "HEAD /mattermost/mattermost/mattermost HTTP/1.1" -
10.10.8.1 - - [05/Jun/2024:18:38:48 +0100] "HEAD /mattermost/mattermost/mattermost/mattermost HTTP/1.1" 302 - [05/Jun/2024:18:38:48 +0100] 10.10.8.1 TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "HEAD /mattermost/mattermost/mattermost/mattermost HTTP/1.1" -
10.10.8.1 - - [05/Jun/2024:18:38:48 +0100] "HEAD /mattermost/mattermost/mattermost/mattermost/mattermost HTTP/1.1" 302 -[05/Jun/2024:18:38:48 +0100] 10.10.8.1 TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "HEAD /mattermost/mattermost/mattermost/mattermost/mattermost HTTP/1.1" -
Although it would be confusing as to why it only impacts mobile app connectivity, perhaps this is due to the fact that the server is accessed through a proxy?
Thank you, please take a look if the suggestions in these issues are helpful in your case: https://github.com/mattermost/mattermost-mobile/issues/7004 and https://github.com/mattermost/docs/issues/7160.
none of these seem to work
This issue is a “too many redirects errorl…. There is no solution to it… it happens on iOS devices clients only … there is another more detailed exchange on github that gives a workround for the nginx conf file https://github.com/mattermost/docs/issues/7160 The issue is related to MM server NOT iOS client. According to above link it happens when MM is reachable by a directory on the server like https://ynh.my/mattermost
This solved the issue. TY
Summary
I am unable to connect to a Mattermost Server using the IOS Mattermost App despite connecting via the desktop app and a web browser on my phone and my desktop.
Environment Information
Steps to reproduce
Expected behavior
I expect to be able to connect to the server and use the app
Observed behavior (that appears unintentional)
Consistently, the result is "Cannot connect to the server"
Possible fixes
N/A