|Problem in communication Publish/Subscribe [message #1741864]
||Tue, 30 August 2016 09:23
| Michele Citro
Registered: June 2016
I want report an error in the communication Publish/Subscribe in my distribuited application (on 3 device).
I explain the problem better.
1. I have to publish the event CONTATTA_ZONAA on 188.8.131.52:61341 (in the attachement ZonaB).
2. This event, published, isn't received from PRONTA_ZONAB in 184.108.40.206:61341 (in the attachement ZonaA). But socket status is ok.
So, I tried to change ip and port also but nothing good result.
3. So, I tried to receive this event on another device (in the attachement ZonaC_trial) on 220.127.116.11:61341 always, and it's ok there.
4. I tried to receive this event on the same device of Publish (in the attachement ZonaB_trial) on 18.104.22.168:61341, and it's ok there.
Thus, in my opinion, the problem is on the device ZonaA.
What could be the problem?
(Size: 82.10KB, Downloaded 93 times)
(Size: 61.06KB, Downloaded 82 times)
(Size: 70.10KB, Downloaded 79 times)
(Size: 62.79KB, Downloaded 83 times)
|Re: Problem in communication Publish/Subscribe [message #1742788 is a reply to message #1741948]
||Wed, 07 September 2016 15:05
| yuvaraj velumani
Registered: April 2016
If possible, try to look the run time log or trace. There may be possibility of dropping the events since Forte is only capable of storing 254 events in it queue.|
Or else there may be a chance of Publish happening before the Subscribe function block getting initialized.
Other option that you could try out is complete all subscribe initialization after E_RESTART and then start you application by connection the last Subscribe function block INITO.
As suggested by Gerhard, you can try with "Trigger Event" also
[Updated on: Wed, 07 September 2016 15:06]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02131 seconds