Problems with logging in because of missing headers or cookies
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
The Confluence Data Center and Server mobile app shows one of the following errors when user tries to log in or connect the app to an existing Confluence site, or displays a desktop version of Confluence after logging in.
Can't connect to your site
This could be because the URL is wrong, you need to use a VPN, or <url> is unavailable.
Can't check compatibility
A custom filter may be preventing unauthenticated requests to your server. Talk to your admin to resolve this.
Your site is unavailable or you need to connect to your VPN or network to access it.
Cause
This error often occurs if you’re using a proxy server, which might modify the response returned to the mobile app. If the response doesn’t include all headers or cookies required by the app, you either won’t be able to log in at all or will see a desktop version of Jira instead of the mobile one.
This problem affects earlier versions of the Confluence mobile app connecting to Confluence 7.5 and earlier.
Diagnosis
To check if the mobile app returns all required headers, you can make a HEAD request with the URL: <your-instance-base-url>/server-info.acti
on
.
Solution
If you're using the latest version of the app, and connecting to Confluence 7.6 or later, you no longer need to allowlist headers. If you're seeing the desktop view in the app, see The Confluence Data Center and Server mobile app displays a desktop version of Confluence after log in.
If you're using an older version of the app to connect to Confluence 7.5 or earlier, the response should include all of the following headers. If it doesn’t, make sure to allowlist the missing ones on your proxy server.
instance-name: <name>
confluence-base-url: <base-url>
mobile-event-supported: true
mobile-supported-version: true
mobile-plugin-enabled: true
push-notification-enabled: true
x-confluence-request-time: <integer, e.g. 1554880367304>