Yes, that's what I did. But when I swap out the Node server with my Python
server, the Python server doesn't see any of the requests from my client.
How can I troubleshoot this? The Docker containers are really minimal,
there are almost no devops tools on them. I would like to start by ensuring
that the Envoy proxy is configured correctly. I'm able to look at the Envoy
logs, but not sure what to look for, and the lack of tools isn't helping.

[image: Logo]
[image: image]
Krzysztof (Chris) Majewski | Software Developer
Sumac / Silent Partner Software
silentpartnersoftware.com <https://www.silentpartnersoftware.com/>
Toll-free 1-877-399-4645
[image: twitter] <https://twitter.com/sumactweets> [image: facebook]
<https://www.facebook.com/SilentPartnerSoftware/> [image: youtube]
<https://www.youtube.com/user/SumacSoftware>


On Tue, Dec 1, 2020 at 6:29 PM Stanley Cheung <[email protected]>
wrote:

> 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 <
> [email protected]> 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 [email protected].
>> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAJpxZ6PNZMZjy5VW2RRCuE9r_enyp_DM-8FNAfMV%3D0NqtPtd4w%40mail.gmail.com.

Reply via email to