Hi kubig,
yes I am definitely sure about the URI. I also tried this example on Javascript with the same URI and same channel. On .NET , customizeRequest object might be the problem and I also tried without sending customizeRequest object:
client = new BayeuxClient(url, new List<ClientTransport>() { new LongPollingTransport(null)});
nothing has changed
I don't know what I should try...
I am not getting any error and I can see that handshake is succeeded but still there is no event coming from CometD.
[quote author=Kubig link=topic=11192.msg50988#msg50988 date=1543246388]
Are you sure about the used URI (api/v2/notification)? As I can see within documentation, following notifications are allowed:
[quote]Topics
Once your client application establishes a CometD session, you must create a subscription to one or more of the CometD topics used by the Web Services API. Your subscriptions should be based on the functionality available in your client application.
Topic Description MessageTypes
/v2/me/devices Messages related to devices. Examples include changes to agent state, do-not-disturb, call forwarding, and supervisor monitoring.
DeviceStateChangeMessage
ErrorMessage
/v2/me/calls Messages related to calls. Examples include changes to call state, updates to call participant information, and updates to call data.
CallStateChangeMessage
ErrorMessage
/notifications/services Messages relating to the state of different services. If the connection to T-Server is lost, or T-Server's connection to the CTI link is broken, a message is delivered to the client.
ServiceStateChangeMessage
/v2/me/chats Messages related to chats. Examples include changes to chat state, updates to chat participant information, updates to chat data, and updates to chat transcript.
ChatStateChangeMessage
MessageLogUpdated
/v2/me/emails Messages related to emails. Examples include changes to email state and updates to email data.
EmailStateChangeMessage
/v2/me/facebook Messages related to Facebook interactions. Examples include changes to Facebook interaction state and updates to Facebook interaction data.
FacebookStateChangeMessage
/v2/me/facebooksession Messages related to private Facebook messages. Examples include changes to private Facebook message state, updates to private Facebook message data, and updates to private Facebook message transcript.
FacebooksessionStateChangeMessage
MessageLogUpdated
/v2/me/im-sessions Messages related to instant messaging between agents. Examples include changes to IM session state and updates to IM session data.
IMSessionStateChangeMessage
IMLogUpdateMessage
/v2/me/openmedia Messages related to OpenMedia interactions. Examples include changes to OpenMedia interaction state and updates to OpenMedia interaction data.
OpenmediaStateChangeMessage
/v2/me/twitter Messages related to Twitter interactions. Examples include changes Twitter interaction state, updates to Twitter interaction data, and updates to Twitter account following.
TweetStateChangeMessage
TweetOperationResponse
/v2/me/workbins Messages related to workbins. Examples include changes to workbin state and updates to workbin contents.
WorkbinSubscriptionStateChangeMessage
WorkbinStateChangeMessage
/v2/me/workitems Messages related to workitems. Examples include changes to workitem state and updates to workitem data.
WorkitemStateChangeMessage[/quote]
[/quote]