web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

unable to communicate with the Real-time Service or Real-time Service

(0) ShareShare
ReportReport
Posted on by

Hi,

  I am develop with the retail sdk, when  I run the RetailServer.Extensions.TestClient and try to activate new  device,  it throw the exceptions:

Contoso.Commerce.RetailProxy.CommunicationException: Exception of type 'Contoso.Commerce.RetailProxy.CommunicationException' was thrown.The Retail Server is unable to communicate with the Real-time Service or Real-time Service fails during calling to headquarters. Contact your system administrator.
at Contoso.Commerce.RetailProxy.CommunicationExceptionHelper.ThrowAsCommerceException(Exception exception) in J:\RetailSDK\Proxies\RetailProxy\Exceptions\CommunicationExceptionHelper.cs:line 44
at Contoso.Commerce.RetailProxy.RetailServerContext.ParseInnerException(Exception ex) in J:\RetailSDK\Proxies\RetailProxy\Contexts\RetailServerContext.cs:line 737
at Contoso.Commerce.RetailProxy.RetailServerContext.<ExecuteWithExceptionHandlingAsync>d__52`1.MoveNext() in J:\RetailSDK\Proxies\RetailProxy\Contexts\RetailServerContext.cs:line 842
--- 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 System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Contoso.Commerce.RetailProxy.RetailServerContext.<ExecuteOperationSingleResultAsync>d__34`1.MoveNext() in J:\RetailSDK\Proxies\RetailProxy\Contexts\RetailServerContext.cs:line 321
--- 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 System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Contoso.Commerce.RetailProxy.StoreOperationsManager.<ActivateDevice>d__5.MoveNext() in J:\RetailSDK\Proxies\RetailProxy\Managers.g.cs:line 83
--- 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 System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Contoso.RetailServer.TestClient.ActivationForm.<btnActivate_Click>d__9.MoveNext() in J:\RetailSDK\SampleExtensions\RetailServer\Extensions.TestClient\ActivationForm.cs:line 65

how to solve the problem? thanks.

Regards.

*This post is locked for comments

I have the same question (0)
  • Andreas Hofmann Profile Picture
    on at

    Is AX running?

    Did you change anything related to the user account AX uses for the Real-time service?

    Did you provide the right url for RetailServer?

  • Community Member Profile Picture
    on at

    Thank you, Andreas .

       I am sure AX is running, and I know someone is work on AX, but i don't know what happens.

       I will contact the developer to see what have done to AX.

    Regards.

    Leon

  • Community Member Profile Picture
    on at

    Hi, Andreas ,

       we didn't change anything related to the user accoutnt Ax uses for the Real-time service, and I am sure I provide the right url for RetailServer( test is passed in another environment ).

  • Luan Nguyen Profile Picture
    689 on at

    is real-time service server different network with your client ?

  • Community Member Profile Picture
    on at

    HI,Max,

      They are in the same Azure vm.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Sukrut Parab Profile Picture

Sukrut Parab 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans