Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

The JSON-RPC connection with the remote party was lost before the request could complete.

Open
#3,038 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp, sql

Research direction

Start by inspecting src/Microsoft.ML.ModelBuilder/ViewModels/TrainViewModel.cs at line 688 and the surrounding StartTrainingAsync flow. Reproduce unattended binary-classification training with SQL Server as the datasource, then trace where the JSON-RPC connection is lost. Done means training completes without the reported connection error.

Written by the indexing model from the issue text.

Description

System Information (please complete the following information):

  • Model Builder Version (available in Manage Extensions dialog): 17.18.4.2443003
  • Visual Studio Version: 17.13.4

Describe the bug

  • After hitting the train button, the error in screen shot shows up after few iterations of training

To Reproduce
Steps to reproduce the behavior:

  1. Start training binary classification model using sql server as a datasource.
  2. Training continues unattended.
  3. Come back to the system after few hours
  4. See error

Expected behavior
Training should have completed without any errors.

Screenshots

Image

Additional context
Statck trace: at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at StreamJsonRpc.JsonRpc.d__167.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at StreamJsonRpc.JsonRpc.d__156`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.<b__90_0>d.MoveNext() in /_/src/Microsoft.ML.ModelBuilder/ViewModels/TrainViewModel.cs:line 688

Dominant language
Dockerfile
Stars
285
Forks
66
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/machinelearning-modelbuilder

All issues in dotnet/machinelearning-modelbuilder

Similar issues

More Desktop Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.