SSL issue on Ubuntu 22.04?
Open
Nobody has claimed this yet.
- Dominant language
- F#
- Stars
- 2.1k
- Forks
- 528
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 54
Description
dotnet paket install crashes with an SSL error.
$ dotnet paket install
Paket version 7.1.5+e2fe7c693356a5e70a74cc01501f7dc5f8996695
Resolving dependency graph...
Total time taken: 706 milliseconds
Paket failed with
-> Unable to retrieve package versions for 'Microsoft.NetCore.App.Ref'
-- CLOSED --
-- OPEN ----
Microsoft.NetCore.App.Ref (from /home/njlr/Documents/proj/paket.dependencies)
Microsoft.AspNetCore.App.Ref (from /home/njlr/Documents/proj/paket.dependencies)
FSharp.Core (from /home/njlr/Documents/proj/paket.dependencies)
Amazon.Lambda.Core (from /home/njlr/Documents/proj/paket.dependencies)
Amazon.Lambda.RuntimeSupport (from /home/njlr/Documents/proj/paket.dependencies)
-> Could not load resources from 'https://api.nuget.org/v3/index.json'
-> Request to 'https://api.nuget.org/v3/index.json' failed with unknown error (_safeGetFromUrl)
-> HttpRequestException: The SSL connection could not be established, see inner exception.
-> AuthenticationException: Authentication failed, see inner exception.
-> TypeInitializationException: The type initializer for 'SslMethods' threw an exception.
-> TypeInitializationException: The type initializer for 'Ssl' threw an exception.
-> TypeInitializationException: The type initializer for 'SslInitializer' threw an exception.
-> OpenSslCryptographicException: error:0E076071:configuration file routines:MODULE_RUN:unknown module name
paket.dependencies
source https://api.nuget.org/v3/index.json
storage: none
framework: net6.0, netstandard2.1
nuget Microsoft.NetCore.App.Ref
nuget Microsoft.AspNetCore.App.Ref
nuget FSharp.Core
nuget Amazon.Lambda.Core
nuget Amazon.Lambda.RuntimeSupport
System info:
$ dotnet --version
6.0.301
$ openssl version
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reproducing dotnet paket install on Ubuntu 22.04 with the shown Paket dependencies, then trace the failure from NuGet access through the SSL initialization error. Done means the cause is identified and the command can retrieve packages successfully in the affected environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ubuntu
- Domain
- networking, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100