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)

Socket exception was thrown in AX 2012 R2 Retail, while publishing the online store to share point site

(0) ShareShare
ReportReport
Posted on by 560

Hi All,

I have done all the relevant setup and required deployment scripts are executed for AX 2012 R2 online store.  While publishing the product catalog of online store, the retail publishing job on share point throws below socket timeout exception in the event viewer

The Execute method of job definition Microsoft.Dynamics.Retail.SharePoint.Connector.RetailPublishingJob (ID 9ce842b5-8249-4673-bb00-23b15dae5693) threw an exception. More information is included below.

Exception while calling invoke method updateChannelPublishingStatus: The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:00:58.3877985'.

I have tried following options to resolve this exception, but no luck.

• I have deleted & re-deployed the online store application twice.

• I have increased the retail publishing job recurrence from 1min to 10mins.

Any help on this appreciated.

*This post is locked for comments

I have the same question (0)
  • SergeyP Profile Picture
    2,928 on at

    The RetailPublishingJob produces this error while trying to report (with help of Transaction service) back into AX the channel's publishing status. Looking at the description I can suspect that you either didn't setup Realtime Transaction Service or it is misconfigured.

    So, please make sure you have valid profile at Retail->Setup->Retail scheduler->Channel integration->Real-time Service profiles

    and then make sure the profile is set to be used by your channel.

    Also make sure that you sent the profile from AX into CRT DB, this can be double-checked by executing the following SELECT against CRT DB:

    SELECT *

    FROM RETAILTRANSACTIONSERVICEPROFILE

    P. S.

    Redeploying Online Store application will not change anything in this case because Transaction service is technically not a part (in terms of deployment) of Online Channel.

    Changing RetailPublishingJob's schedule will not change anything in this case because it just controls how often the job "asks" CRT for possible changes.

  • sgk0803 Profile Picture
    560 on at

    Hi Sergey,

    I have verified real time service profile, it was working fine.  Data between AX db to online store db are transferred correctly.  Also real time service profile are configured correctly.

    Regrds,

    Ganesh

  • SergeyP Profile Picture
    2,928 on at

    Do you have the service deployed on the same machine as SharePoint or not? If not then one of possible reasons could be in your firewall settings. Can you try accessing the service via http from the machine where it is deployed and as well as from SharePoint machine?

    The URL of the service could be something like this:

    http://YourServerNameIsHere:9080/CDXRealtimeService/Service.svc

    but actual parts of the URL could of course be different based on your setup.

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
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans