Hello guys!

I am trying to resolve the "Server connection timeout occurred" in Dynamics NAV Universal App on Android and we're only doing this for demo purposes. I am able to connect to the NAV Web Client but not for Universal App.

I made it worked before (in reference to Saurav Dhyani's blog using NAV 2017. Thanks sir ) until there's an update that probably affects recognizing SSL certificate. I made it using Android Lollipop before but now we're using Android Nougat and Oreo (Samsung Galaxy J2 Pro and Nokia 7 plus to be exact)

So to recap, here's what I did:

  1. Created SSL certificate (I used New-SelfSignedCertificateEx.ps1) for my hostname and local IP address
    • Entrust the certificate in the Trusted Root Certification Authorities
    • Enable Allow permissions for everyone in Manage Private Keys...
  2. Created user in Dynamics NAV 2017 (for NAV User Password authentication)
  3. Had my NAV instance set to following:
    • Enter Certificate Thumbprint based on the generated thumbprint by the PowerShell
    • Changed Credential Type to NavUserPassword
    • Enable SSL for both SOAP and OData Services
    • Set URL for the following:
      • Web Client Base URL: https://[hostname/IP address]:443/DynamicsNAV100/WebClient
      • SOAP Base URL: https://[hostname/IP address]:10047/DynamicsNAV100/WS
      • OData Base URL: https://[hostname/IP address]:10048/DynamicsNAV100/OData
    • Save configuration
  4. Navigated C:\Users\[User]\AppData\Roaming\Microsoft\Microsoft Dynamics NAV\100 and edit ClientUserSettings.config file
  5. Navigated C:\inetpub\wwwroot\DynamicsNAV100 and edit web.config file
  6. Binded the created certificate in IIS
  7. Exported the certificate to be installed in phone (both bearing the hostname and IP address) and installed it in them

I did all of them and what's weird is it only works in Windows Phone (Microsoft Lumia 950 XL) perfectly. I used both IP address and hostname.

I wonder where did I get wrong or is there an update from Android or the app that keeps itself from accessing NAV.

I also read some of the questions same as mine but no one answered correctly. I hope this time I can have it right! ;)

Thanks in advance!

Kev Santos

CX Consultant