Skip to content

Fix "Aborted connection" server errors #290

@bgrainger

Description

@bgrainger

Run the NoPassword tests: dotnet test tests\SideBySide\SideBySide.csproj -f net462 --filter=FullyQualifiedName~NoPassword

The MySQL error log will contain output similar to the following:

2017-06-28T23:57:45.172394Z 282 [Note] Aborted connection 282 to db: 'unconnected' user: 'mysqltest' host: 'localhost' (Got an error reading communication packets)
2017-06-28T23:57:45.172394Z 281 [Note] Aborted connection 281 to db: 'unconnected' user: 'mysqltest' host: 'localhost' (Got an error reading communication packets)
2017-06-28T23:57:45.172394Z 283 [Note] Aborted connection 283 to db: 'unconnected' user: 'no_password' host: 'localhost' (Got an error reading communication packets)
2017-06-28T23:57:45.172394Z 285 [Note] Aborted connection 285 to db: 'unconnected' user: 'no_password' host: 'localhost' (Got an error reading communication packets)
2017-06-28T23:57:45.172394Z 284 [Note] Aborted connection 284 to db: 'unconnected' user: 'no_password' host: 'localhost' (Got an error reading communication packets)

Run the same tests with the baseline library: dotnet restore tests\SideBySide\SideBySide.csproj /p:Configuration=Baseline && dotnet test tests\SideBySide\SideBySide.csproj -c Baseline --filter=FullyQualifiedName~NoPassword

There are no errors in the error log.

Find out why the server is logging aborted connections and fix it.

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