kdcllc / CometD.NetCore

CometD for use with Salesforce Platform Events
MIT License
28 stars 16 forks source link

Channel resubscribe after error #26

Open Bchir opened 3 years ago

Bchir commented 3 years ago

Hello , It seems that once you get a connection error for example 403::UnknowClient , the bayeux client reconnect to and still do some handshaking after but doesn't resubscribe to channels Is there a way to automate this resubscribe after failure ?

It would be great to have some documentation on the nuget to have a clear steps to how to integrate with your app Thanks in advance,

r-matias commented 1 year ago

@Bchir in my case this error is because missing a cookie sfprox-id in BayeuxClient, the devs from Salesforce sayed to me in .net version lower at 5 need put manually, above this version work fine.