I'm still new in gRPC and Angular/Typescript development. Is Angular still not supported yet, that is why I'm receiving this or another matter?
I'm on Windows and the gRPC server is an ASP.NET Core 3.0 gRPC project running behind an Nginx proxy server with self-made certificate. I can connect using a .NET client by automatically accepting the unsigned certificate.
I even tried to swap the mode with 'grpcweb', but I still receive this error:
grpc-message: Content-Type 'application/grpc-web-text' is not supported.
Is this related to the unsigned SSL certificate or I'm just using the wrong content-type or the generated typescript files just don't work on Angular? Thanks!
Nginx does not support gRPC-Web out of the box. Envoy does (with enabling a filter in your envoy.conf). Please check the main README of the repo for more information.
I'm still new in gRPC and Angular/Typescript development. Is Angular still not supported yet, that is why I'm receiving this or another matter?
I'm on Windows and the gRPC server is an ASP.NET Core 3.0 gRPC project running behind an Nginx proxy server with self-made certificate. I can connect using a .NET client by automatically accepting the unsigned certificate.
I generated the code using this command:
I even tried to swap the mode with 'grpcweb', but I still receive this error:
Is this related to the unsigned SSL certificate or I'm just using the wrong content-type or the generated typescript files just don't work on Angular? Thanks!