Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sample/ChannelsSample throws error on join #379

Open
Tweega opened this issue Feb 6, 2024 · 4 comments · May be fixed by #389
Open

sample/ChannelsSample throws error on join #379

Tweega opened this issue Feb 6, 2024 · 4 comments · May be fixed by #389

Comments

@Tweega
Copy link

Tweega commented Feb 6, 2024

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?

@rastreus
Copy link

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:

nuget FSharp.Control.Websockets >= 0.2

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

@rastreus
Copy link

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

@baronfel
Copy link
Contributor

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.

@64J0
Copy link
Contributor

64J0 commented Sep 3, 2024

Created the PR right now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants