Re: [grpc-io] How can I use nginx 1.9.5 as reverse proxy with gRPC?

2017-02-16 Thread 'Stanley Cheung' via grpc.io
The PHP use case is as follows: - Your frontend client (e.g. browser, mobile) is hitting your Nginx reverse proxy - Perhaps that's a PHP script that the user is requesting. Nginx is launching a fastcgi process to run your PHP script. - This PHP script can be used as a gRPC client

Re: [grpc-io] how can I get google/api/annotations.proto please?

2017-04-14 Thread 'Stanley Cheung' via grpc.io
You mean this? https://github.com/googleapis/googleapis/blob/master/google/api/annotations.proto On Thu, Apr 13, 2017 at 8:26 PM, 徐学良 wrote: > Dear: > my project need to use grpc-gateway, I secrch for the related > document, It prove that I need to use

Re: [grpc-io] v1.7.0 Not Found when installing via Composer for PHP

2017-11-15 Thread 'Stanley Cheung' via grpc.io
There is effectively no change to the composer package for 1.7.0. You can continue to use version 1.6.0 On Wed, Nov 15, 2017 at 8:14 AM, wrote: > Is it possible to update the php composer version so that v1.7.0 can be > installed via composer? The latest version is

Re: [grpc-io] v1.7.0 Not Found when installing via Composer for PHP

2017-11-15 Thread 'Stanley Cheung' via grpc.io
So composer package is based on tags on the Github repo. I have added the v1.7.0 tag to the repo but composer does not seem to want to pick this up as a separate release because a previous release (1.6.0) shares the same commit. On Wed, Nov 15, 2017 at 11:15 AM, wrote: >

Re: [grpc-io] Python Server and PHP Client Issue

2018-08-05 Thread 'Stanley Cheung' via grpc.io
1. What is the error to "sudo pecl install grpc" that you receive? What platform are you using? Please perhaps consider logging a Github issue if you have the error output, and any other relevant details. 2. Each language based on the C implementation (e.g. Python, Ruby, C#, Node, PHP) tend to

[grpc-io] gRPC-Core Release 1.16.0

2018-10-31 Thread 'Stanley Cheung' via grpc.io
This is 1.16.0 (gao) release announcement for gRPC-Core and the wrapped languages C++, C#, Objective-C, Python, PHP and Ruby. Latest release notes are here . Core - Keepalive watchdog firing should return status UNAVAILABLE. (#16764

Re: [grpc-io] Handling CORS policy

2018-11-05 Thread 'Stanley Cheung' via grpc.io
It might be easier if you log an issue to to our Github repo github.com/grpc/grpc. Which proxy are you using? On Mon, Nov 5, 2018 at 3:02 AM wrote: > > I'm getting cors issue when try to connect web-grpc to golang grpc server > saying.. > > Access to XMLHttpRequest at

Re: [grpc-io] [grpc-web] unable to build protoc-gen-grpc-web on macOS

2018-11-11 Thread 'Stanley Cheung' via grpc.io
Tracked in https://github.com/grpc/grpc-web/issues/363 On Fri, Nov 9, 2018 at 10:01 AM wrote: > I have been following the grpc-web helloworld example but am stuck when > trying to build the protoc-gen-grpc-web plugin on my Mac. Here's what > happens: > > nmurthy:grpc-web% sudo make

Re: [grpc-io] grpc-web

2018-10-03 Thread 'Stanley Cheung' via grpc.io
This is from https://github.com/improbable-eng/grpc-web right? Please contact the maintainers of that project. Thanks! On Sat, Sep 29, 2018 at 2:45 AM Naveed rajput wrote: > Hi, i am facing problem in ts-protoc-gen > > //error > protoc >

Re: [grpc-io] [PHP] gRPC channel connection with php-fpm

2019-01-15 Thread 'Stanley Cheung' via grpc.io
On Tue, Jan 15, 2019 at 11:35 AM jisooh via grpc.io < grpc-io@googlegroups.com> wrote: > Hello, > > We want to start using PHP gRPC clients but have a question regarding > php-fpm and the grpc channel connections. > > When we send a request with PHP, php-fpm maintains a pool of workers to > deal

Re: [grpc-io] Error when building gRPC PHP Plugin on CentOS 7

2018-11-28 Thread 'Stanley Cheung' via grpc.io
You would need to cd into grpc/third_party/protobuf, then do a "git clean -f -d -x". Go back to the grpc/ directory and to make again. On Mon, Nov 26, 2018 at 3:01 PM jisooh via grpc.io wrote: > Hi, > > I am trying to follow the steps outlined > https://grpc.io/docs/quickstart/php.html to

Re: [grpc-io] PHP grpc and protobuf YUM packages

2019-03-30 Thread 'Stanley Cheung' via grpc.io
Sorry, those packages are not maintained by us. On Fri, Mar 29, 2019 at 4:32 PM jisooh via grpc.io wrote: > Hello, > > We are currently installing grpc and protobuf via YUM with the packages > *php56-php-pecl-grpc > *and *php56-php-pecl-protobuf *on CentOS 7. However, when a new release >

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

2019-03-22 Thread 'Stanley Cheung' via grpc.io
Hm, what you did was exactly right. In our example, here's how we passed "custom-header-1" (deliberately as an example on how to pass custom metadata) envoy.yaml: https://github.com/grpc/grpc-web/blob/master/net/grpc/gateway/examples/echo/envoy.yaml client:

Re: [grpc-io] PHP and Python client fails SSL connection

2019-02-05 Thread 'Stanley Cheung' via grpc.io
Did you try supplying the "grpc.ssl_target_name_override" key to the options? On Tue, Feb 5, 2019 at 4:01 PM jisooh via grpc.io wrote: > Hello, > > > We are currently facing an issue with trying to connect our PHP gRPC > client with SSL to our Java gRPC server. The gRPC service we are trying to

[grpc-io] Re: grpc-web nodejs stream service limit?

2019-07-08 Thread 'Stanley Cheung' via grpc.io
This is unexpected. Can you please log an issue to the grpc/grpc-web repo? On Monday, July 1, 2019 at 10:40:36 AM UTC-7, Danz wrote: > > I began with the tutorial https://grpc.io/docs/tutorials/basic/web/ and > have been progressing nicely until a hard stop. > For some reason, my client/server

Re: [grpc-io] Gearman server dropping workers after installing gRPC package

2019-04-10 Thread 'Stanley Cheung' via grpc.io
1. Are you able to get some logs to see whether there are any errors around when the connections are dropped? Two suspicions: 1a. There were some errors / crashes - having logs will help 1b. I am not familiar with Gearman - but perhaps there are some config that timeouts / resets a connection

Re: [grpc-io] Re: server side streaming

2019-04-10 Thread 'Stanley Cheung' via grpc.io
On Mon, Apr 8, 2019 at 7:03 AM chirag shah wrote: > Perfect !!! Thanks Srini for clarifying. > > Said that, I would like to clarify a couple of points for particular > client i.e., * gRPC-web* > As we know, gRPC-web has gone through GA release. So we can now count > on it. > > As we know,

[grpc-io] Re: Message: --grpc_out: protoc-gen-grpc: The system cannot find the path specified.

2019-07-02 Thread 'Stanley Cheung' via grpc.io
Sorry for the late reply. I couldn't really reproduce this. Just on an off chance, after you clone the github repo of grpc/grpc, did you run `git submodule update --init`? On Thursday, June 13, 2019 at 7:00:47 PM UTC-7, bharath...@gmail.com wrote: > > Hi everyone, > > I'm new to Grpc and

Re: [grpc-io] gRPC not installed in php extensions dir

2019-08-19 Thread 'Stanley Cheung' via grpc.io
Are you running the system-installed PHP binary, but tried to load homebrew-installed extensions? They have to go in pairs. If you install the extension via homebrew, you may need to find the extension grpc.so file within your homebrew installation directory. In any case, are you able to install

Re: [grpc-io] gRPC not installed in php extensions dir

2019-08-18 Thread 'Stanley Cheung' via grpc.io
On later versions of MacOS, we have seen issues involving "System Integrity Protection" not allowing user to install extensions without escalated permissions. Some blog post that talks about this: http://www.devinbaldwin.com/2018/09/27/how-to-install-xdebug-on-a-new-mac-including-mojave/ If you

Re: [grpc-io] gRPC not installed in php extensions dir

2019-08-20 Thread 'Stanley Cheung' via grpc.io
Looks like first you have to sort out your PHP installation first. PECL cannot find the standard PHP headers. On Tue, Aug 20, 2019 at 9:02 AM Fre Feys wrote: > This is the error I get when installing gRPC through PECL (with sudo): > >

Re: [grpc-io] gRPC not installed in php extensions dir

2019-08-27 Thread 'Stanley Cheung' via grpc.io
I found a couple of blog posts that might be relevant to your environment issues: https://medium.com/@jjdanek/installing-php-extensions-on-mac-after-homebrew-acfddd6be602 https://grrr.tech/posts/installing-homebrew-php-extensions-with-pecl/ On Wed, Aug 21, 2019 at 1:18 AM Fre Feys wrote: >

Re: [grpc-io] php: get server streaming status

2019-07-30 Thread 'Stanley Cheung' via grpc.io
Hm, unfortunately that's not how the API is designed. But on the other hand, you can augment your proto data structure to add additional status-related data into your stream response object definition. On Tue, Jul 30, 2019 at 8:25 AM wrote: > Hi, > > when can you call the status. > I stream 500

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

2019-09-25 Thread 'Stanley Cheung' via grpc.io
Is there an error in the developer console (or equivalent)? 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

[grpc-io] Re: Crash on RpcMethod constructor

2020-02-12 Thread 'Stanley Cheung' via grpc.io
Unfortunately grpc version 1.2.6 is probably too old for us to support (it was released almost 3 years ago). Please use a newer version of grpc. On Sunday, February 2, 2020 at 7:44:51 PM UTC-8, armstr...@gmail.com wrote: > > Im running OS X 10.15.3 with grpc installed via homebrew which gives

Re: [grpc-io] grpc-web: Separate libraries per proto file (even though one imports the other)?

2020-04-06 Thread 'Stanley Cheung' via grpc.io
This is probably a scenario that's not supported by grpc-web at the moment. You are expected to have to compile B.proto in when you are trying to compile A.proto. There currently is no option to make compiling A.proto aware that there's a separate package for B already. This could be a future

Re: [grpc-io] grpc on angular error

2020-05-29 Thread 'Stanley Cheung' via grpc.io
On your first code snippet, what is "grpc.unary"? On your second approach, are you using grpc-web ? If so, you need to set up Envoy to handle the CORS request (and handle the grpc-web requests in general) like this

Re: [grpc-io] GRPC with PHP Dns Issue - (DNS resolution failed)

2020-05-29 Thread 'Stanley Cheung' via grpc.io
You mention PHP as a client, but the errors are from Node. Was your client written in Node? Where does PHP come in? On Fri, May 29, 2020 at 1:44 PM Arjun Me wrote: > Hi, > > I am using windows 10 and I have installed Ubuntu in the Hyper-v. I have > setup the GRPC with php and it was working

Re: [grpc-io] Re: GRPC with PHP Dns Issue - (DNS resolution failed)

2020-05-30 Thread 'Stanley Cheung' via grpc.io
What is this service-grpc.com? On Sat, May 30, 2020 at 11:12 AM Arjun Me wrote: > Now I am using the GRPcc tool and its also giving the same error (GRPC > SERVER: https://service-grpc.com:8090) > > grpcc --proto our-api.proto --address https://service-grpc.com:8090 > > > Error: { Error: 14

Re: [grpc-io] Re: Sending Struct from browser (grpc-web) server (python grpc) results in empty Struct

2020-07-06 Thread 'Stanley Cheung' via grpc.io
Looks like this is a protobuf question rather than a grpc-web question. Looks like proto.google.protobuf.Struct.fromJavaScript is a proto3 API? You might need to ask the question to https://github.com/protocolbuffers/protobuf. On Sat, Jul 4, 2020 at 3:47 AM wrote: > Oh, btw, one advantage is

Re: [grpc-io] Question about newly added interceptor support to grpc-web

2020-06-30 Thread 'Stanley Cheung' via grpc.io
It's tracked in this issue: https://github.com/grpc/grpc-web/issues/848 Note that TypeScript support for grpc-web is still experimental. We don't have a lot of resources dedicated to keeping features on-par in the mean time. So any contributions is welcome! -Stanley On Mon, Jun 29, 2020 at

Re: [grpc-io] gRPC-Web client in JavaScript, gRPC server in Python: is it possible?

2020-12-01 Thread 'Stanley Cheung' via grpc.io
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 <

Re: [grpc-io] Writing a php client using the gRPC HealthCheck proto

2020-10-30 Thread 'Stanley Cheung' via grpc.io
You can check this section https://grpc.io/docs/languages/php/quickstart/#php-protoc-plugin in the grpc.io website to see how you can use the PHP grpc plugin to generate a stub client from your proto. On Thu, Oct 29, 2020 at 5:54 PM 'deepakk...@wepay.com' via grpc.io < grpc-io@googlegroups.com>

[grpc-io] gRPC-Core Release 1.35.0

2021-01-21 Thread 'Stanley Cheung' via grpc.io
This is the 1.35.0 (gecko ) release announcement for gRPC-Core and the wrapped languages C++, C#, Objective-C, Python, PHP and Ruby. Latest release notes are here . Core - Backport

Re: [grpc-io] grpc-web on istio

2021-08-09 Thread 'Stanley Cheung' via grpc.io
There were a couple of grpc-web examples with Istio here: - https://github.com/cmwylie19/blog-grpc-web-istio - https://github.com/venilnoronha/grpc-web-istio-demo On Mon, Aug 9, 2021 at 7:35 AM 'Bilal Ahmad' via grpc.io < grpc-io@googlegroups.com> wrote: > Hello, > Anyone using grpc-web

Re: [grpc-io] Need grpc dll file for php

2021-10-17 Thread 'Stanley Cheung' via grpc.io
They're still there: https://pecl.php.net/package/gRPC/1.41.0/windows On Wed, Oct 13, 2021 at 12:35 AM Sandeep Digicraft Solution < sandeepdigicr...@gmail.com> wrote: > I need grpc dll file for php, they say not available although it was there > but recently I don't know what happened and it is

Re: [grpc-io] [proposal] PHP - drop php 7.0+7.1 support for protobuf

2022-01-24 Thread 'Stanley Cheung' via grpc.io
Hi I am the contact person for this. Please let me know what I can do to help from the gRPC side. -Stanley On Thu, Jan 13, 2022 at 2:32 AM Brett McBride wrote: > Hello maintainers, > I've got a PR in progress [1] for google/protobuf which removes > deprecation warnings that appear in PHP 8.1.

Re: [grpc-io] gRPC PECL update for Windows

2023-10-24 Thread 'Stanley Cheung' via grpc.io
Unfortunately PECL has stopped pre-compiling DLLs for extensions. On Mon, Oct 23, 2023 at 8:34 AM Александр Чернуха wrote: > There is a long time no new DLL https://pecl.php.net/package/gRPC > Any news, how can I find new version? > > -- > You received this message because you are subscribed to