Why does confluence server on iOS get a "version issue"?
Asked by Dirk Doerflinger:

I am running confluence 6.9.1 on my server.

Confluence Server on iOS worked before the update. The latest Version won't connect to the server because it demands a server version newer than 6.8.

What's the issue?


Answers:
author: AnnWorley
body: Hi Dirk,

I found a similar question on the Community: [Mobile app for Confluence doesn't know I'm running 6.8.1](https://community.atlassian.com/t5/Confluence-questions/Mobile-app-for-Confluence-doesn-t-know-I-m-running-6-8-1/qaq-p/785278)

We opened a support request to gather more information. The customer stopped responding on the ticket shortly after being asked to add proxy support to their server.xml, so perhaps that step was helpful.

If you are using a proxy in front of Confluence please make sure the following are added to the connector directive in \<confluence_install\>/conf/server.xml, then restart Confluence to pick up the changes.

    proxyName="www.mycompany.com"              proxyPort="443"
    scheme="https"

If you are not using SSL you may omit "scheme" and use port 80.

The connector directive when SSL is terminated at the proxy looks like:

```
<Connector port="8090" connectionTimeout="20000" redirectPort="8443"
 maxThreads="48" minSpareThreads="10"
 enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
 protocol="org.apache.coyote.http11.Http11NioProtocol"
 scheme="https" proxyName="<subdomain>.<domain>.com" proxyPort="433"/>

?
```

I look forward to hearing whether you are using a proxy and if so, if the recommended changes are helpful.

Thanks,

Ann

comments: author: Dirk Doerflinger
body: Hi Ann,

thanks for the reply,

the confluence server is in a backend network behind another Debian server running nginx as a proxy.

The iOS-App used to work before the upgrade (unfortunately I don't know what Version it was before), my setup was already like this:

```
 <Connector port="8090" connectionTimeout="20000" redirectPort="8443"
 maxThreads="48" minSpareThreads="10"
 enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
 protocol="org.apache.coyote.http11.Http11NioProtocol"
 proxyName="gateway.hostname.dom" proxyPort="443" scheme="https"
 />

```

Any idea?

Best,

Dirk


author: AnnWorley
body: Hey Dirk,

I am tending to blame your proxy because that other question with the same error was also using NGINX.

To isolate the issue to the proxy, please add a non-proxied connector to your server.xml, so something like:

```
 <Connector port="8099" connectionTimeout="20000" redirectPort="8443"
 maxThreads="48" minSpareThreads="10"
 enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
 protocol="org.apache.coyote.http11.Http11NioProtocol"
 />?
```

Then connect the mobile app to http://server_ IP_address:8099 and see if the version error appears.

If you eliminate the error over iOS when you bypass the proxy, please try restarting NGINX. Also, if you do identify NGINX as the issue, and you have a staging environment, you can try clearing the proxy cache, usually located at /var/nginx/cache.

Looking forward to hearing whether we can isolate the issue to NGINX or else need to direct our attention elsewhere.

Thanks,

Ann


Tags: confluence-server

server