-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cometd/bayeux client + salesforce streaming API issue #23
Comments
I had the same issue and implemented/added an extension, that raises an event in which i than restart the connection (auth + subscription) |
@ohaucke - Thanks for your comment. Actually after some more research it's working now for me.
|
@guruprasad83 / @ohaucke : I am also getting the same issue. I have added the code in the event handler to handshake and subscribe channel (pushTopicConnection.Connect method) in the raised event as you mentioned above but still, it's not working. Is there anything else I need to do or i am missing something? Thanks In Advance |
@Rajat-Jindal - see the steps below
|
@guruprasad83 I am trying to add handshakelistener as per your above comments but not sure if i am missing something. I am also using .net library you mentioned. My code is - where Listener.cs is public class Listener : IMessageListener I am not getting events on neither of channel. |
nvm. i figured it out. i had put above lines before this.bayeuxClient.Handshake(); |
Hi @guruprasad83 , I've the same issue, I'm reviewing this issues and I've the following doubts, this is my use case So,
My apologizes, I'm a little confused with this. Thanks |
I have my .net client (windows service) which subscribe for Salesforce streaming API push topics using this cometd.net.
I am able to connect to Salesforce and can get the notifications to my client. everything is working fine. but
when there is no activity on the channel (no changes for salesforce object) after some time (maybe 2 hours) if I update the object am not receiving any notification from salesforce. I had tried putting listeners to log and in the logs it says below
so as per the log, sometimes I get "403::Unknown client" but immediately after that it says again channel successful. But as I said when I try updating salesforce object after 2 hours (as per log, it is in connection successful) I am not receiving any notification.
If I restart my windows service and gets the notification again.
Any help would be greatly appreciated
Sorry if I post it here as i did not get any solution so.
The text was updated successfully, but these errors were encountered: