frankvHoof93 / TikTokLiveSharp

Port of TikTok live library for C#
https://vanhoof.dev
Other
140 stars 28 forks source link

Exception thrown: 'ProtoBuf.ProtoException' in protobuf-net.dll #4

Closed RACEVOLUTION closed 1 year ago

RACEVOLUTION commented 1 year ago

I get the following error message every now and then. In TikTok Lives, where there is a lot of activity, already after a few seconds/minutes.

Exception thrown: 'ProtoBuf.ProtoException' in protobuf-net.dll 'TikTok Agent.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\6.0.15\System.Reflection.Metadata.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'TikTok Agent.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\6.0.15\System.Collections.Immutable.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. Exception thrown: 'TikTokLiveSharp.Errors.Messaging.WebcastMessageException' in TikTokLiveSharp.dll Exception thrown: 'System.Net.WebSockets.WebSocketException' in TikTokLiveSharp.dll Exception thrown: 'System.Net.WebSockets.WebSocketException' in System.Private.CoreLib.dll

frankvHoof93 commented 1 year ago

This is related to a message being parsed incorrectly. Please try it again with 0.9.2. This version will log the (Base-64) message along with the exception. Posting that message here will allow me to quickly fix any invalid deserialization.

frankvHoof93 commented 1 year ago

Closed for inactivity. If you find any proto-exception, please create a new issue with the Base64-data for the message.