Skip to content

Trying to run NodeWorkers from an ASP.NET Core application #450

@sumanchakrabarti

Description

@sumanchakrabarti

I've taken the code that's in NodejsEmbeddingTest.cs in the WorkerMessages and tried to get it to run in both a console and ASP.NET Core application, but it fails saying that a stream has been closed.

Specifically, it fails in RuntimeConfigureCallbackAdapter after the callback has been completed successfully and NodeEmbeddingStatus.OK is being returned. It just fails with no exception. Disabling Just my code revealed no other errors and nothing specifically crashed that I could find.

I do not have this issue when running the same exact code in the unit tests. Any ideas on what needs to be set up to enable this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions