Questions tagged [grpc-web]

gRPC-Web provides a JavaScript library that lets browser clients access a gRPC service.

gRPC is an open source remote procedure call (RPC) system initially developed at Google. It uses HTTP/2 for transport, Protocol Buffers as the interface description language, and provides features such as authentication, bidirectional streaming and flow control, blocking or nonblocking bindings, and cancellation and timeouts.

gRPC-Web Repository

gRPC-Web Documentation

217 questions
1
vote
1 answer

gRPC with vue js 3 not parsing a typescript object

I have a simple hello world app where I am trying to parse a typescript object. Before I had done with Vue 2 class components, and I am sure the issue is the Transition to vue is just unfamiliar. The issue with the below method is here …
Mike3355
  • 11,305
  • 24
  • 96
  • 184
1
vote
1 answer

GRPC call for a service which is inside a subdirectory? (Android grpc client)

This question is similar to below but my issue is with Android grpc client How can I make a GRPC call for a service which is inside a subdirectory? (in .Net Framework) I am getting 404 error while accessing the grpc streaming api : UNIMPLEMENTED:…
FurElise
  • 37
  • 1
  • 7
1
vote
0 answers

Using Postman-GRPC ,I need to upload a file as request(via postman) to the my GRPC-server

I have a GRPC file-upload server(C#) running and I also have GRPC-client through which I was uploading files to the GRPC server but now I want to upload my file using postman(yes the new postman version supports GRPC) and now I am not able to figure…
1
vote
0 answers

How to add global base generic class for gRPC client in ASP.NET Core?

Is it possible to create a generic class for gRPC client side in .net core? I want to create a base structure for grpc service/client that contains interface. can you help me? Thank you
MaT
  • 39
  • 5
1
vote
0 answers

How to package grpc-web generated code into npm package

I have protofiles defined inside a go module and publish this module so servers and go-clients can reference the generated code. Now I also want to have grpc-web client to communicate with the server. grpc-web generates ts and js files, but inorder…
broun
  • 2,483
  • 5
  • 40
  • 55
1
vote
1 answer

Cannot create GrpcChannel in Uno Platform WebAssembly (System.NullReferenceException)

I am trying to do a sample of Uno Platform using gRPC-Web. Therefore I got inspired by the content provided by this article. I followed the instructions of the article and created a BlazorApp which used a weather service with gRPC-Web. After that I…
Tom
  • 100
  • 1
  • 9
1
vote
1 answer

Import gRPC-web to Typescript using Windows

I have some proto files which I've been playing with using C# for both the client and server sides. As I've been learning Angular recently I'd like to import them into Typescript and play around with what I've been learning. I thought this would be…
gubitza
  • 31
  • 4
1
vote
1 answer

Import not found in VueJS/TypeScript with gRPC-Web

I've created a simple VueJS application and am trying to implement a example for a file upload. I am using the following proto file: syntax = "proto3"; message File { bytes content = 1; } message MetaData { string name = 1; string type =…
nLang
  • 11
  • 2
1
vote
1 answer

React + gRPC don't reach envoy container

I was trying to build a very basic web page in React that would send gRPC request to a backend written in Rust. I followed these…
antogilbert
  • 176
  • 2
  • 12
1
vote
0 answers

Ignore some statement in .proto for compiling stubs for certain languages

I'm using gRPC for communication between several services written in Python, C++ and RESTfull (https://github.com/grpc-ecosystem/grpc-gateway) I have a gRPC server in Python, gRPC clients in Python and C++ and I have RESTfull service using …
Anton
  • 420
  • 5
  • 15
1
vote
1 answer

How to connect go grpc server with dart grpc client using Envoy and Grpc_web

I'm new to grpc_web and envoy. Please help me to setup following things, GRPC_Go server is running on ec2 instance as a docker container Dart web client is running on local pc Need to make grpc call request from dart web app to grpc_go server Used…
Dinesh
  • 11
  • 2
1
vote
0 answers

".Net maui" + "Blazor" + "gRPC service" Android WebException

I started to explore the new release of Net.Maui combined with Blazor and gRPC Service using the "Net Maui Blazor App Template" as Client and "gRPC Service AspNetCore template" as Server. So Application is working as well when I'm running under the…
Piercarlo
  • 335
  • 1
  • 5
  • 14
1
vote
1 answer

GRPC service inside Kubernetes is working but fails with an GRPC protocol error when we use istio

I have a server to server calls and I use GRPC (with .net core 5) It's working and test in local. After that, I have moved all the services to Kubernetes Pod (Docker Desktop) and also tested through the flow (with swagger post-call) and it's working…
Brijesh Shah
  • 573
  • 6
  • 18
1
vote
0 answers

Protoc does not export the TS file version of *_grpc_pb.js?

I am new to setting up the gRPC web based client side. Our backend is already up and running on Go with gRPC. I am testing out what it's like converting the .proto file into TS. I am successfully able to generate some of the files, however, I am…
Phil Lucks
  • 2,704
  • 6
  • 31
  • 57
1
vote
1 answer

grcp request payload format

I'm trying to log in into a site which requires grcp content-type using requests. I alrady have a HTTP 2 client, but I don't know how body of my post request should look like. When I'm trying to simply copy request as a curl from chrome network tab,…
vimbing
  • 11
  • 1