You need to sign in to do that
Don't have an account?
Marc Romeu Bel
Workbench - Unable to Subscribe to Streaming Push Topic
Hi,
I am getting started with the Streaming API but I haven't been able to subscribe to any Streaming Push Topic.
I have followed the steps suggested by the Trailhead tutorial: https://developer.salesforce.com/trailhead/api_basics/api_basics_streaming
When I click the Subscribe button, nothing happens. The channel section appears Connected/Disconnected randomly.
I have tried to debug the issue using my browser console, and the only message received when trying to subscribe is:
The subscription has failed in any browser (Chrome, Firefox, IE).
Any hint? Thanks!!!!!!
I am getting started with the Streaming API but I haven't been able to subscribe to any Streaming Push Topic.
I have followed the steps suggested by the Trailhead tutorial: https://developer.salesforce.com/trailhead/api_basics/api_basics_streaming
When I click the Subscribe button, nothing happens. The channel section appears Connected/Disconnected randomly.
I have tried to debug the issue using my browser console, and the only message received when trying to subscribe is:
uncaught exception: Illegal state: already disconnectedThe message persists either when the channel status is Connected/Disconnected.
The subscription has failed in any browser (Chrome, Firefox, IE).
Any hint? Thanks!!!!!!
It seems version 37.0 of the API doesn't work well with streaming. I also run into this from my own jsforce-based client. The solution is to switch to version 36.0 of the API.
All Answers
It seems version 37.0 of the API doesn't work well with streaming. I also run into this from my own jsforce-based client. The solution is to switch to version 36.0 of the API.