[grpc-io] Re: [grpc-web] Looking for Envoy example of load balancing

2021-02-22 Thread Rob Cecil
This was , in large part how I found the approach I am using: https://github.com/envoyproxy/envoy/issues/4897 On Monday, February 22, 2021 at 11:41:28 AM UTC-5 Rob Cecil wrote: > I am aware of maglev as a potential alternative lb_policy, and also there > are problems if the c

[grpc-io] Re: [grpc-web] Looking for Envoy example of load balancing

2021-02-22 Thread Rob Cecil
I am aware of maglev as a potential alternative lb_policy, and also there are problems if the cluster configuration is changed while there are outstand connections through envoy. On Monday, February 22, 2021 at 11:40:36 AM UTC-5 Rob Cecil wrote: > Just some follow up - in case anyone e

[grpc-io] Re: [grpc-web] Looking for Envoy example of load balancing

2021-02-22 Thread Rob Cecil
lue: 50251 load_balancing_weight: 1 On Sunday, February 14, 2021 at 12:43:42 PM UTC-5 Rob Cecil wrote: > Looking for an example of an Envoy configuration that implements session > affinity (stickiness) to load balance a cluster of backend servers. Thanks! > > I'm

[grpc-io] [grpc-web] Looking for Envoy example of load balancing

2021-02-14 Thread Rob Cecil
Looking for an example of an Envoy configuration that implements session affinity (stickiness) to load balance a cluster of backend servers. Thanks! I'm open to using the source IP or something in the header, but probably not cookie. Thanks -- You received this message because you are

[grpc-io] Re: How to retrieve response trailers in grpc-web calls

2021-01-22 Thread Rob Cecil
Ha, I found an answer: https://github.com/grpc/grpc-web/issues/721 Be nice if these sort of details were pulled out issues into the main documentation. On Friday, January 22, 2021 at 1:40:27 PM UTC-5 Rob Cecil wrote: > Hi, I'm using the generated js code that uses Promises along with

[grpc-io] How to retrieve response trailers in grpc-web calls

2021-01-22 Thread Rob Cecil
Hi, I'm using the generated js code that uses Promises along with TS. Example method: getMenu( request: Menu_pb.GetMenuRequest, metadata?: grpcWeb.Metadata ): Promise; I have been passing in the deadline via Metadata in the last argument of the generated methods. How do I

[grpc-io] Re: [grpc-web] Looking for Hello world example that uses SSL/TLS

2020-03-11 Thread Rob Cecil
Thanks Stanley. I am already sending an access token via header metadata. I'm coming from programming against Grpc clients in c# and Objc, and the ctors in those cases I think take sslChannel type objects. I''ve got the tls_context section setup and am in the process of testing. Thanks!! On

[grpc-io] [grpc-web] Looking for Hello world example that uses SSL/TLS

2020-02-26 Thread Rob Cecil
Hi, I have referred back to the Hello World example many times whilst building a ReactJS client to our existing gRPC investment, including the adoption of Envoy, Docker, etc. Now I'm at a juncture where I need to enable SSL/TLS in the browser. I have followed the steps here to setup a

Re: [grpc-io] grpc-web and MS Edge

2019-09-25 Thread Rob Cecil
valent)? > > On Wed, Sep 25, 2019 at 10:26 AM Rob Cecil > wrote: > >> So I have been using Grpc-web (1.05) for a while in an app that I am >> still developing. My primary browser for development is Chrome. The app >> uses the React stack, TS and Grpc generated code

[grpc-io] grpc-web and MS Edge

2019-09-25 Thread Rob Cecil
So I have been using Grpc-web (1.05) for a while in an app that I am still developing. My primary browser for development is Chrome. The app uses the React stack, TS and Grpc generated code that produces the .d.ts typings as well as JS code. Tried to run my app on MS Edge today for the first

Re: [grpc-io] (C#, Objc) Diagnosing SSL issues

2019-04-25 Thread Rob Cecil
t; David > > On Tue, Apr 23, 2019 at 2:01 PM Rob Cecil > > wrote: > >> On the server I am using Grpc 1.19. Not sure that could cause the >> handshake issue. >> >> On Tuesday, April 23, 2019 at 4:58:31 PM UTC-4, Rob Cecil wrote: >>> >>>

Re: [grpc-io] (C#, Objc) Diagnosing SSL issues

2019-04-23 Thread Rob Cecil
On the server I am using Grpc 1.19. Not sure that could cause the handshake issue. On Tuesday, April 23, 2019 at 4:58:31 PM UTC-4, Rob Cecil wrote: > > Using on iOS: gRPC version 1.18.0, ProtoCompiler 3.6.0, BoringSSL-GRPC > 0.0.2 > > On Tuesday, April 23, 2019 at 4:49:32 PM U

Re: [grpc-io] (C#, Objc) Diagnosing SSL issues

2019-04-23 Thread Rob Cecil
Using on iOS: gRPC version 1.18.0, ProtoCompiler 3.6.0, BoringSSL-GRPC 0.0.2 On Tuesday, April 23, 2019 at 4:49:32 PM UTC-4, Rob Cecil wrote: > > Thanks David, > > I am switched my iOS code to calling setTLSPEMRootCerts( certStringData, > forHost: myHostName). From what I can

Re: [grpc-io] (C#, Objc) Diagnosing SSL issues

2019-04-23 Thread Rob Cecil
errors that you can use. They show up in > the log in Xcode if you have All Output selected. > > David > > > > On Mon, Apr 22, 2019 at 1:36 PM Rob Cecil > > wrote: > >> I have an existing implementation of a c#-based Grpc server (running on >> Windows

[grpc-io] (C#, Objc) Diagnosing SSL issues

2019-04-22 Thread Rob Cecil
I have an existing implementation of a c#-based Grpc server (running on Windows 10 Server), and iOS/Objc-based grpc client and I can successfully connect, login, make calls, etc. My issue is switching from nonsecure to SSL, using the same network Name & port, etc. I'm using self-signed server

[grpc-io] (grpc-web) How do I specify custom metadata ?

2019-03-13 Thread Rob Cecil
My existing c# based Grpc server uses a custom Http/2 metadata "access-token". How is this supported in Grpc-web? I changed my envoy.yaml: cors: allow_origin: - "*" allow_methods: GET, PUT, DELETE, POST, OPTIONS allow_headers:

[grpc-io] Re: "upstream connect error or disconnect/reset before headers. reset reason: connection failure"

2019-03-12 Thread Rob Cecil
ure"". On Tuesday, March 12, 2019 at 2:30:36 PM UTC-4, Rob Cecil wrote: > > I did some searching and reading and could never find a conclusive answer > why I am getting the message: > > "upstream connect error or disconnect/reset before headers. reset reason: > c

Re: [grpc-io] Getting started with Grpc-web, docker

2019-03-11 Thread Rob Cecil
ocker. > > On Tue, Mar 5, 2019 at 7:42 AM Rob Cecil > > wrote: > >> I tried to run the steps for the example here: >> https://grpc.io/docs/quickstart/web.html >> >> And eventually it fails. >> >> wander@peniche:~/grpc-web$ sudo docker-comp

Re: [grpc-io] Frustrated with Grpc-node

2019-03-11 Thread Rob Cecil
11, 2019 at 12:01 PM Rob Cecil > wrote: > >> https://gist.github.com/robcecil/1f030e2c8bfa45b567128e50e2156dad >> >> Running Node v11.10.0 on Ubuntu Comic 18.10. >> >> >> On Monday, March 11, 2019 at 2:30:13 PM UTC-4, Rob Cecil wrote: >>> >>> I

Re: [grpc-io] Frustrated with Grpc-node

2019-03-11 Thread Rob Cecil
https://gist.github.com/robcecil/1f030e2c8bfa45b567128e50e2156dad Running Node v11.10.0 on Ubuntu Comic 18.10. On Monday, March 11, 2019 at 2:30:13 PM UTC-4, Rob Cecil wrote: > > I updated everything: > > wander@peniche:~/control-web$ npm list --depth=0 2>/dev/null > contr

Re: [grpc-io] Frustrated with Grpc-node

2019-03-11 Thread Rob Cecil
t; >> And all of my service methods are use camel case instead of the case I >> used in the proto file: >> >> https://github.com/mjpitz/des/blob/master/src/service/unasyncify.ts#L9 >> >> >> On Sat, Mar 9, 2019 at 10:08 AM Rob Cecil > > wrote: >> &

[grpc-io] Frustrated with Grpc-node

2019-03-09 Thread Rob Cecil
I'm experienced with Grpc - having built iOS/ObjC front-end and C# backend over a two year period (a Grpc project consisting of a main proto with a service that has 27 methods, and about a dozen supporting protos for message definitions). I am however, not super experienced with web

Re: [grpc-io] [iOS] SSL Mutual TLS

2018-08-06 Thread Rob Cecil
b/master/src/objective-c/GRPCClient/GRPCCall+ChannelCredentials.h#L35> > . > > On Mon, Aug 6, 2018 at 5:24 PM Rob Cecil wrote: > >> The online Grpc guide for authorization: >> >> https://grpc.io/docs/guides/auth.html >> >> Speaks about SSL/TLS: >>

[grpc-io] [iOS] SSL Mutual TLS

2018-08-06 Thread Rob Cecil
The online Grpc guide for authorization: https://grpc.io/docs/guides/auth.html Speaks about SSL/TLS: - *SSL/TLS*: gRPC has SSL/TLS integration and promotes the use of SSL/TLS to authenticate the server, and to encrypt all the data exchanged between the client and the server.

[grpc-io] Re: [iOS / Objective-C] Seeking guidance for configuration for SSL

2018-08-06 Thread Rob Cecil
quot; ofType:@"crt"] testName:@"example.com" forHost:kHostAddress ]; } _client = [[StickyNote alloc] initWithHost:_addressWithPort]; } Can you explain the different scenarios for useTestCertsPath and setTLSPemRootsCerts? Do I need to configure "mutual TLS" ??? O

[grpc-io] Re: [iOS / Objective-C] Seeking guidance for configuration for SSL

2018-08-05 Thread Rob Cecil
Muxi, Which override am I using for this method? Is there an example for Objective-C and SSL ? On Friday, June 22, 2018 at 1:22:25 PM UTC-4, Rob Cecil wrote: > > I am developing both an iOS app and server using Grpc (objective-C/Swift > and C# respectively). > > The app wi

[grpc-io] Re: [objective-c] Battery usage under iOS

2018-04-18 Thread Rob Cecil
at 2:29:53 PM UTC-4, Muxi Yan wrote: > > Yes. By the design of gRPC, channel to an endpoint remains open after a > call and the next call reuses this channel. We would love to know how bad > battery drain you are seeing. > > On Wednesday, April 11, 2018 at 11:17:43 AM UTC-7,

[grpc-io] [objective-c] Battery usage under iOS

2018-04-11 Thread Rob Cecil
Does the GRPCProtoService keep the network open between service calls? In our testing the iOS app that uses grpc seems to use a bit of battery and my first thought was the service object seems to managing connections. Is there a way to monitor or measure it? Thanks -- You received this

[grpc-io] [csharp] Server object construction question

2018-01-05 Thread Rob Cecil
Looking for notes/guidance: What are the implications that Server object has both Services and Ports collections? I understand that a Server can provide 1+ service implementations, but how do those necessarily collate with the Ports collection? Generally, I have always seen exactly one Port

Re: [grpc-io] [csharp] "Error sending status from server."

2017-03-28 Thread Rob Cecil
: > > This looks like some slight misuse of the C# API. It's hard to tell sure > without actually seeing your code. What's the full exception listing? > > On Wed, Mar 22, 2017 at 10:30 PM, Rob Cecil <rob@gmail.com > > wrote: > >> On Grpc 1.2.0 for csharp on the serv

[grpc-io] [csharp] "Error sending status from server."

2017-03-22 Thread Rob Cecil
On Grpc 1.2.0 for csharp on the server (and objective-c on the client), I'm getting an IO error when the call on the server is completing and is returning back to the Grpc stack. Is this a common error? How do I diagnose? My returning payload is small < 4 Kib. Thanks -- You received this