Docker.DotNet
Docker.DotNet copied to clipboard
.Net 8 upgrade: error occurred during the pre-login handshake
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