Skip to content

Commit

Permalink
remove an environment variable that was breaking unencrypted grpc con…
Browse files Browse the repository at this point in the history
…nections

This overrode and made the following line useless:

AppContext.SetSwitch("System.Net.Http.SocketsHttpHandler.Http2UnencryptedSupport", true);

The resulting error was:

Unhandled exception. Grpc.Core.RpcException: Status(StatusCode=Internal, Detail="Bad gRPC response. Response protocol downgraded to HTTP/1.1.")

Further details in:

#4
grpc/grpc-dotnet#654
dotnet/runtime#988
  • Loading branch information
bpkroth committed Sep 26, 2020
1 parent 0ac1087 commit 02f5829
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/dotnet.env
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ DOTNET_DIR=$(readlink -f "$scriptdir/../tools/dotnet")

export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
export DOTNET_CLI_TELEMETRY_OPTOUT=1
export DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER=0
export DOTNET_ROLL_FORWARD_ON_NO_CANDIDATE_FX=2
export DOTNET_ROOT="$DOTNET_DIR"

Expand Down

0 comments on commit 02f5829

Please sign in to comment.