Does it work if you follow the quick start tutorial and use a Node server?
If that works, swap out the Node server with your Python server. That way
you can at least be sure that the JS and the Envoy parts are working
correctly.

On Tue, Dec 1, 2020 at 7:43 AM Chris Majewski <
chris.majew...@silentpartnersoftware.com> wrote:

> I'm working on a proof-of-concept using gRPC-Web. I was able to get the Quick
> Start tutorial <https://grpc.io/docs/platforms/web/quickstart/> working.
> My next challenge is to adapt this demo by writing a gRPC-Web client in
> JavaScript that talks to my (very simple) gRPC server written in Python. Is
> this possible? I am following the Basics Tutorial
> <https://grpc.io/docs/platforms/web/basics/> but it is incomplete. In
> particular, some of the client-side Javascript code is missing, and the
> code snippet that is there is different from the corresponding code in the
> Docker containers from the Quick Start tutorial.
>
> I am able to build the JavaScript stubs for my client. However, my gRPC
> server (Python) never sees any requests from the client (JavaScript). Not
> sure if this is due to a bug in my JavaScript, a bug in the Envoy proxy
> config, or something else. Troubleshooting is difficult because the Docker
> containers are based on a very minimal Linux install that is missing basic
> Unix tools.
>
> I can offer to help document this once I get it working, but I would need
> some help to get it working in the first place.
>
> Thanks!
>
> Chris
>
> --
> You received this message because you are subscribed to the Google Groups "
> grpc.io" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to grpc-io+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/grpc-io/8fdd4362-e04f-4b40-8819-9cc9293d5720n%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/8fdd4362-e04f-4b40-8819-9cc9293d5720n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAEteGX29OZVxLP1waBoEa1Fw0gvn_XU6OB6RJ_D4nwPYpBYzzQ%40mail.gmail.com.

Reply via email to