Skip to main content

Notifications

Supply chain | Supply Chain Management, Commerce
Unanswered

Modern POS offline sync failing in tier 1 (one-box, local, development) environment

Posted on by 2

I am attempting to work with Modern POS in offline mode, but am unable to get the offline database to sync in order to be able to switch to offline mode. Any guidance would be appreciated.

Setup:

  1. Windows Server 2016
    • This is HQ, v10.0.23, and is a tier 1 development VM downloaded from LCS
  2. Windows 10
    • This is where MPOS is running and activated
      • 10.0.23 SEALED installer downloaded from LCS
      • Can't install on the Windows Server 2016 box because the installer reports that the OS version is not supported

Nothing happens when sync occurs from MPOS' database connection page. Checking the event viewer on the Windows 10 machine I see several errors for each download session, but the significant one seems to be...

Failed to download session file due to exception. Error Details: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:10000
   at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
   at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
   at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Dynamics.Retail.CommerceDataExchange.AsyncClient.Core.DownloadHelper.d__0.MoveNext()

The specific IP and port seem to be associated with the storage emulator. I have tried downloading and running both the deprecated version from the previous link and Azurite, but then the error changes to a 403 permissions error that I don't know what to do with.

Am I missing some configuration or application that would allow this sort of setup, or is this out of the realm of possibility for a tier 1 environment?

  • WillWU Profile Picture
    WillWU 22,350 on at
    RE: Modern POS offline sync failing in tier 1 (one-box, local, development) environment

    Suggest to raise a ticket with Microsoft.

  • xorlogic Profile Picture
    xorlogic 2 on at
    RE: Modern POS offline sync failing in tier 1 (one-box, local, development) environment

    The 403 permissions error is as follows...

    Failed to download session file due to exception. Error Details: System.Net.WebException: The remote server returned an error: (403) Forbidden.
       at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
       at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Dynamics.Retail.CommerceDataExchange.AsyncClient.Core.DownloadHelper.d__0.MoveNext()

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans