OmniSharp / omnisharp-emacs

Troll coworkers - use Emacs at work for csharp!
GNU General Public License v3.0
512 stars 94 forks source link

Add gnutls TLS 1.3 workaround #488

Closed juergenhoetzel closed 4 years ago

juergenhoetzel commented 4 years ago

See: ghub issue This workaround is required for GNU Emacs < 27.

Fixes #480.

razzmatazz commented 4 years ago

hey @juergenhoetzel

the changes look good but it seems ci build is failing

juergenhoetzel commented 4 years ago

the changes look good but it seems ci build is failing

Yes, but the build errors do not seem to be related to the change, because the download of the server was successful:

omnisharp: attempting to download and install OmniSharp server into /root/.emacs.d/.cache/omnisharp/server/v1.32.18
omnisharp: downloading server binary from "https://github.com/OmniSharp/omnisharp-roslyn/releases/download/v1.32.18/omnisharp-linux-x64.tar.gz"...
Contacting host: github.com:443
Opening TLS connection to `github.com'...
Opening TLS connection with `gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p 443 github.com'...
Opening TLS connection with `gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p 443 github.com'...done
Opening TLS connection to `github.com'...done
Opening TLS connection to `github-production-release-asset-2e65be.s3.amazonaws.com'...
Opening TLS connection with `gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p 443 github-production-release-asset-2e65be.s3.amazonaws.com'...
Opening TLS connection with `gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p 443 github-production-release-asset-2e65be.s3.amazonaws.com'...done
Opening TLS connection to `github-production-release-asset-2e65be.s3.amazonaws.com'...done
Wrote /root/.emacs.d/.cache/omnisharp/server/v1.32.18/omnisharp-linux-x64.tar.gz
omnisharp: extracting "omnisharp-linux-x64.tar.gz" into "/root/.emacs.d/.cache/omnisharp/server/v1.32.18"
"trying to launch the server..."
omnisharp: starting server on project root: "/usr/src/test/MinimalProject"
*omnisharp-log*: [05:52:22] starting server on project root "/usr/src/test/MinimalProject"
*omnisharp-log*: [05:52:22] Using server binary on /root/.emacs.d/.cache/omnisharp/server/v1.32.18/run
(No files need saving)
*omnisharp-log*: [05:52:22] INFORMATION: OmniSharp.Stdio.Host, Starting OmniSharp on debian 9.0 (x64)
*omnisharp-log*: [05:52:22] INFORMATION: OmniSharp.Services.DotNetCliService, DotNetPath set to dotnet
*omnisharp-log*: [05:52:22] INFORMATION: OmniSharp.MSBuild.Discovery.MSBuildLocator, Located 1 MSBuild instance(s)
            1: StandAlone 15.0 - 
razzmatazz commented 4 years ago

ok, i'll try to restart the build it to see if it helps

razzmatazz commented 4 years ago

Ok, that was just a flaky build.