Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Connect Confluence Mobile via VPN

Hello!

I try to connect to my self-hosted Confluence instance via VPN from mobile app (for server).

I specify the IP address, press the next button and get into the window with an error:
Something went wrong. We're not sure what happened, but logging back in should fix it.

When I try to connect from browser - everything is OK.

Via VPN I can connect only with IP address. But base server URL is set to like http://<domainname>.

I've found information about connect via VPN and Firewalls.
"The mobile app will also attempt to check the compatibility of your site prior to presenting the login screen. If you've configured a custom filter to prevent unauthenticated requests to your server, you will need to change it to allow <confluence-base-url>/rest/nativemobile/1.0/info/login  to pass through without authentication. "

I haven't configured any custom filter, but how can I check it?
Maybe this is the problem?

Best Regards,
Dmitry

1 answer

Try to access {{<confluence-base-url>/rest/nativemobile/1.0/info/login}} from the browser on your mobile while connected to the VPN. This is what Confluence app does, but you can see what it gets in response.

Thank you for your reply.

I've tried it and got this:
{"instance-name":"My wiki","base-url":"http://<domainname>"}

Not IP address.

So can you access your Confluence using the URL?

No, I cannot access my Confluence, because domain name has been configured only for intranet. I cannot change this.

Via VPN I can connect only with IP:port.
And I cannot change base-URL for Confluence.

I'm not sure if you can bypass it especially if Confluence app does check the actual login URL by the API response. However, what you can do is to ask your VPN admins to setup DNS push for the local domain so you can have proper URL resolution when connected to the VPN thus use Confluence base URL.

Like qhr likes this

I can make changes to the config files of Confluence.
Maybe from the server side I can remove this check of the actual login URL?
Or can add some exceptions for connect from mobile app?

As for VPN admins, this is the first question that I've asked. But he told that he cannot do anything in this situation. That's strange, I know...

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

78 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you