Alphabets, Alphabets
Alphabets, Alphabets
CC#
Created by Alphabets, Alphabets on 5/3/2023 in #help
Need help with running a dotnet application
Hello. So, I have an issue and it relates to dotnet run. I am unable to run a project because of this error.
The active test run was aborted. Reason: Test host process crashed : Cannot get required symbol ERR_put_error from libssl


Test Run Aborted with error System.Exception: One or more errors occurred.
---> System.Exception: Unable to read beyond the end of the stream.
at System.IO.BinaryReader.ReadByte()
at System.IO.BinaryReader.Read7BitEncodedInt()
at System.IO.BinaryReader.ReadString()
at Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.LengthPrefixCommunicationChannel.NotifyDataAvailable()
at Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.TcpClientExtensions.MessageLoopAsync(TcpClient client, ICommunicationChannel channel, Action`1 errorHandler, CancellationToken cancellationToken)
--- End of inner exception stack trace ---.
The active test run was aborted. Reason: Test host process crashed : Cannot get required symbol ERR_put_error from libssl


Test Run Aborted with error System.Exception: One or more errors occurred.
---> System.Exception: Unable to read beyond the end of the stream.
at System.IO.BinaryReader.ReadByte()
at System.IO.BinaryReader.Read7BitEncodedInt()
at System.IO.BinaryReader.ReadString()
at Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.LengthPrefixCommunicationChannel.NotifyDataAvailable()
at Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.TcpClientExtensions.MessageLoopAsync(TcpClient client, ICommunicationChannel channel, Action`1 errorHandler, CancellationToken cancellationToken)
--- End of inner exception stack trace ---.
The main thing to focus on is this Reason: Test host process crashed : Cannot get required symbol ERR_put_error from libssl. I've search around but I'm not able to get anything useful as most of the solutions are not applicable to manjaro the OS I'm on. For more context the project itself is on .NET 5 I believe. I'm new to this so there may be errors in terminology and other things.
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp5.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NUnit" Version="3.13.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.0.0-alpha.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.0-preview-20200812-03" />
<ProjectReference Include="..\Services\API.Services.csproj" />
<ProjectReference Include="..\Core\API.Core.csproj" />
</ItemGroup>


<ItemGroup>
</ItemGroup>

</Project>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp5.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NUnit" Version="3.13.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.0.0-alpha.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.0-preview-20200812-03" />
<ProjectReference Include="..\Services\API.Services.csproj" />
<ProjectReference Include="..\Core\API.Core.csproj" />
</ItemGroup>


<ItemGroup>
</ItemGroup>

</Project>
4 replies