dotnet / dotnet/Docker.DotNet

.Net 8 upgrade: error occurred during the pre-login handshake

Open
#676 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
2.4k
Forks
416
PR merge metrics
No merged PRs in 30d

Description

After upgrading to .net, below error is thrown while running integration tests with this package

**Output of `dotnet --info`:**

```
Microsoft.Data.SqlClient.SqlException : A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
```

**What version of Docker.DotNet?:**

.Net8
(paste your output here)
```

**Steps to reproduce the issue:**
1. Upgrade to .net
2. run tests in pipeline which is using docker container coantaining .net 8 image on the gitlab runner

**What actually happened?:**
Error thrown- error occurred during the pre-login handshake.

**What did you expect to happen?:**
Tests should execute

**Additional information:**
We are running integration tests on .net 8 container using .net 8 image. This package uses mssql 2019-latest image to run the container inside .net 8 container and test tries to connect this using localhost

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.