Saturn icon indicating copy to clipboard operation
Saturn copied to clipboard

sample/ChannelsSample throws error on join

Open Tweega opened this issue 1 year ago • 4 comments

I get the following error:

server:       An unhandled exception has occurred while executing the request.
server:       System.MissingMethodException: Method not found: 'System.IO.MemoryStream Microsoft.IO.RecyclableMemoryStreamManager.GetStream()'.  
server:          at FSharp.Control.Websockets.ThreadSafeWebSocket.receiveMessageAsUTF8@664-6.Invoke(Unit unitVar)
server:          at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 510
server:          at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112    
server:       --- End of stack trace from previous location ---
server:          at [email protected]()
server:          at [email protected]()

If this works for anyone else, would it be possible to see the paket.lock file?

Tweega avatar Feb 06 '24 13:02 Tweega

This error was a versioning error of Microsoft.IO.RecyclableStreams in FSharp.Control.Websockets.

This has since been fixed with a new release of FSharp.Control.Websockets: https://github.com/TheAngryByrd/FSharp.Control.WebSockets/releases/tag/v0.3.0


@forki When you have availability, can the dependency version for FSharp.Control.Websockets please be updated to 0.3 in the paket.dependencies file:

https://github.com/SaturnFramework/Saturn/blob/8511856ba3121aad62902ccc9571b7976146198f/paket.dependencies#L20

And then publish a new v0.16.2 Release of Saturn?

rastreus avatar Mar 18 '24 18:03 rastreus

Thank you for the v0.17 Release, @baronfel.

rastreus avatar Apr 19 '24 16:04 rastreus

Oh, does this still need the 0.3 update of FSharp.Control.WebSockets? If you could send a PR with that change @rastreus I'd be happy to do another release.

baronfel avatar Apr 19 '24 16:04 baronfel