azure-pipelines-agent: The type initializer for 'System.Net.Http.CurlHandler' threw an exception for Openssl 1.0.2h
Enter authentication type (press enter for PAT) >
Enter personal access token > ****************************************************
Connecting to server ...
The type initializer for 'System.Net.Http.CurlHandler' threw an exception
I do not think this is not a duplicate of #110 because my OpenSSL version is 1.0.2h
Mac OS X 10.11.4
SGIs-Mac-mini:myagent clientuseme$ openssl version
OpenSSL 1.0.2h 3 May 2016
Is there something I am missing?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 3
- Comments: 26 (1 by maintainers)
It seems to be related to the latest version of brew. Link command does not work for OpenSSL saying:
The resolution is the following:
brew update
brew install openssl
ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/
ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/
After these steps, dotnet core restore works as expected and no more type initialization errors…
had the same issue, on ubuntu 16, resolved by
> apt-get install libcurl4-openssl-dev
that worked have a new one:
Enter personal access token > **************************************************** Connecting to server … ./config.sh: line 29: 3096 Segmentation fault: 11 ./bin/Agent.Listener configure “$@”
the above one is an existing issue I replaced the .dll and it worked. thanks for the help looks like I’m good.
Also, can you make sure you ran both commands? Fx team said this could happen if second one isn’t run