-
Notifications
You must be signed in to change notification settings - Fork 44
Closed
Description
We have a long-running Salesforce Pub/Sub connection. Sometimes a few hours into the connection we suddenly start getting error messages stating “TypeError: encodedReplayId.readBigUInt64BE is not a function”.
This is a message that is being received on the callbackType of error, although reading through the code it seems like it’s a regular event message that gets rerouted in the pubsub-api-client code to the error callbackType because it can’t parse the replayId. I can’t deterministically reproduce it (I’ve opened a separate Salesforce Pub/Sub connection to request the exact same events and it works fine). It seems to happen repeatedly for a period of time, and then stops happening for a period of time, and repeats.

elkinming
Metadata
Metadata
Assignees
Labels
No labels