-
Notifications
You must be signed in to change notification settings - Fork 781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot create new gRPC project on macOS #416
Comments
The only option for users is to setup HTTP/2 without TLS. That could be added as a comment to docs or the template @shirhatti |
@cecilphillip We decided against making the gRPC template platform-specific and as such this is expected behavior. Per your suggestion, I've filed a docs bug to improve the documentation around this scenario. As an aside, we're also looking at improving the docker tooling experience (integrated in VS Code) which may provide another viable solution for developing grpc-dotnet on MacOS |
I couldn't find the information needed from this url. |
Yes, the section moved to a dedicated troubleshooting page. |
Is this something you will be adding in the future? Removing security is not an acceptable workaround. |
ASP.NET Core uses the operating system for HTTP/2 TLS support. macOS may support hosting servers with HTTP/2 TLS in the future, Windows 7 will not. Like the troubleshooting documentation says - this is just for development. In production you should host your apps on an OS that does support HTTP/2 TLS. |
Since we have switched client access to gRPC, we have been unable to support macOS as a server target without disabling TLS, thanks to a lack of support for server-side Application-Layer Protocol Negotiation (ALPN) in Security.framework, and a lack of willingness on our part to commit to doing something like binding to OpenSSL on macOS. This is tracked in grpc/grpc-dotnet#416. Consequently we've decided to remove the build for macOS for the Event Store server, which this commit does. Note the _client_ will still need to be supported and tested on macOS, and we will do this by moving the gRPC client into a submodule of the server.
I want to explore a terraform provider in f#. However, that would mean that there needs to be local mac os x support for HTTP/2 "in production" (because production means running locally and talking to another binary, locally). I guess this is completely not possible to do then? Not even with newer versions of .net? |
But what if you need the security because you are writing a plugin for a program that wants to communicate over HTTPS (with TLS)? I guess that's not an option? Is there a ticket internally / externally to track this? |
Is there any update on this given the new Mac OS Big Sur update? |
I don't know. Ask at dotnet/runtime#27727 |
Does anyone encountered this? Testing out things locally on MacOS.
The workarounds only fits if I don't set
Really picky on the https – good thing, but not when I'm playing around on localhost. |
There is a new Unfortunately, right now, it doesn't work with |
I’m unable to run a new gRPC server project on macOS Mojave (10.14.5). I get that ALPN isn’t supported in macOS but is there something that can be added to the template to help with the
developer experience in the templates or via documentation?
Steps
dotnet new grpc
dotnet new run
Results
Workaround
The text was updated successfully, but these errors were encountered: