I just recently came across this in my release version (i.e. I can’t trace what was happening when the client device made the request) - the execution is in a cloud function
Error Log contents:
Error:
integrating changesets failed: error finding the previous history size for version 80: client is disconnected (ProtocolErrorCode=101)
Source:
Write originated from MongoDB
Partition:
/6008bff965d278e7510d2dd1/feed
Write Summary:
{
"_Following": {
"inserted": [
"6024a9eea15b0ffbf42bf39f"
]
},
"_Request": {
"updated": [
"600d08d91caf6170b86666b6"
]
}
}
Following that error in the logs, there is this:
Error:
Ending session with error: integrating changesets failed: error finding the previous history size for version 80: client is disconnected (ProtocolErrorCode=101)
Source:
Ending sync session to MongoDB
Logs:
[
"Session was active for: 7h44m11s"
]
Partition:
/6008bff965d278e7510d2dd1/feed
Session Metrics:
{
"uploads": 1
}
The session was active for almost 8 hours, and both the logs say the “client is disconnected”. Can anyone shed any light on what this means? I still haven’t found a table of Protocol Error Codes to aid in diagnosing these errors when they happen.
Thanks!