Hi,
I have an Episerver installation consisting of two sites.
The staging environment I work with has 1 Admin and 1 Front - Everything is working nicely here.
The production environment has 1 Admin and 2 Fronts - Replication for neither site is working (unless the second endpoint is removed from admin).
Episerver cms version: 9.12.0.0.
To troubleshoot the production environment I went to the Staging environment and tried my first lead: the NetTcpPortSharing service.
I verified that the replication worked,
Disabled the Net.TcpPortSharing & Net.TcpListenerAdapter services,
Verified that the replication stopped working,
Started the NetTcpPortSharing & Net.TcpListenerAdapter services,
Desired behaviour: Remote events relection works again
Actual behaviour: Like in production, the replication for both sites doesn't work unless the second admin endpoint is removed.
Performing an iisreset on the front will make it recieve the changes published on the admin machine.
Staging Admin:
<endpoint name="Site-192.168.245.162" address="net.tcp://192.168.245.162:5000/RemoteEventService" bindingConfiguration="RemoteEventsBinding" contract="EPiServer.Events.ServiceModel.IEventReplication" binding="netTcpBinding"/><endpoint name="Site.com-192.168.245.162" address="net.tcp://192.168.245.162:5001/RemoteEventService" bindingConfiguration="RemoteEventsBinding" contract="EPiServer.Events.ServiceModel.IEventReplication" binding="netTcpBinding"/>
Where binding is:
<binding name="RemoteEventsBinding" portSharingEnabled="true"><security mode="None" /></binding>
Staging Front:
<services> <service name="Site/EPiServer.Events.Remote.EventReplication" behaviorConfiguration="RemoteEventsBehaviour"> <endpoint name="RemoteEventServiceEndPoint" contract="EPiServer.Events.ServiceModel.IEventReplication" bindingConfiguration="RemoteEventsBinding" address="net.tcp://localhost:5000/RemoteEventService" binding="netTcpBinding"/> </service> <service name="Site.com/EPiServer.Events.Remote.EventReplication" behaviorConfiguration="RemoteEventsBehaviour"> <endpoint name="RemoteEventServiceEndPoint" contract="EPiServer.Events.ServiceModel.IEventReplication" bindingConfiguration="RemoteEventsBinding" address="net.tcp://localhost:5001/RemoteEventService" binding="netTcpBinding"/> </service></services>
What's further confusing to me is the need for portSharing since we're not using the same port - but perhaps that's not its use?
Any help & tips on further troubleshooting this is warmly welcomed!
Let me know if anything is unclear or further information needed.
Thanks,
Fredrik