Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Streaming API Calls Blocked by Security Settings

Streaming API calls can be blocked if the session setting for locking sessions is enabled.

Streaming API calls are blocked when both of these conditions apply.

  • The Lock sessions to the IP address from which they originated session setting is enabled in Setup. See Modify Session Security Settings in Salesforce Help.
  • The Streaming API client is using a session ID that was obtained from an IP address that’s different than the client’s IP address.

To resolve this issue, make sure that the IP address from where the session originated matches the client’s IP address. Alternatively, disable the setting for locking sessions.