gPRC: Python server and web client (TypeScript)

190 views
Skip to first unread message

Mark Norgate

unread,
May 25, 2023, 4:11:10 PM5/25/23
to grpc.io
I have built a little Python gRPC server and am now trying to build a client that runs in Vite for the web in TypeScript.

There is a similar thread here, but the poster did not respond to say if they had solved the problem.

I have used grpc-web and protobuf-ts, but there were significant problems with both of them.

Has anyone managed to get this combination working?

Eryu Xia

unread,
Jun 2, 2023, 6:42:56 PM6/2/23
to grpc.io
Thanks for reaching out, Mark :)

On Thursday, May 25, 2023 at 1:11:10 PM UTC-7 Mark Norgate wrote:
I have built a little Python gRPC server and am now trying to build a client that runs in Vite for the web in TypeScript.

There is a similar thread here, but the poster did not respond to say if they had solved the problem.

I have used grpc-web and protobuf-ts, but there were significant problems with both of them.

Could you clarify what are the issues you're seeing with both?

If you can post a issue in grpc-web repo, with you code examples and Envoy config (assuming that's what you're using), you'd have a better chance getting some support from the community.

Like what's mentioned in the previous thread you linked, Node and Python GRPC server should in theory be interchangeable as far as grpc-web is concerned, as long as Envoy is configured correctly.

Mark Norgate

unread,
Jun 2, 2023, 11:13:25 PM6/2/23
to Eryu Xia, grpc.io
I don’t recall what I did to be honest, but I have this working now!

Sent from my iPhone

On 2 Jun 2023, at 23:43, 'Eryu Xia' via grpc.io <grp...@googlegroups.com> wrote:

Thanks for reaching out, Mark :)
--
You received this message because you are subscribed to a topic in the Google Groups "grpc.io" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/grpc-io/lpl_R8jwu3I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to grpc-io+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/e6e2d99f-cead-484a-9cd5-b43e31d998c8n%40googlegroups.com.

Eryu Xia

unread,
Jun 5, 2023, 7:20:44 PM6/5/23
to grpc.io
Aha glad to hear! 😊
Reply all
Reply to author
Forward
0 new messages