Core: I ran into an error failed to dial gRPC: unable to upgrade to h2c, received 500

Created on 17 Oct 2020  路  10Comments  路  Source: dotnet/core

Problem encountered on https://dotnet.microsoft.com/learn/aspnet/microservice-tutorial/docker-image
Operating System: macos

Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

area-tutorials

All 10 comments

I ran into errors failed to dial gRPC: unable to upgrade to h2c, received 500

@shirhatti can you please take a look?

Ping @shirhatti

Perhaps @nishanil can help

@carlossanlop I haven't seen this error before. Based on the internet search results it looks like it happens due to the mismatch of the target OS specified in docker image and the container OS. Can you try resetting Docker and creating a new project? I will also verify these steps from my side. Also, ensure you have the latest .NET 5 SDKs installed.

@nishanil The request is for @defney, who reported the issue.

Oops! Thanks.

@defney I'll mark this issue as needs-more-info. It will get auto-closed if we don't get a reply in the next week.

We tested this - all the steps work fine on macOS with .NET 5 SDKs installed.

Thank you for your help !

Was this page helpful?
0 / 5 - 0 ratings