Re: [grpc-io] Handling CORS policy

35 views
Skip to first unread message

Stanley Cheung

unread,
Nov 5, 2018, 5:20:17 PM11/5/18
to guru...@gmail.com, grp...@googlegroups.com
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 <guru...@gmail.com> wrote:

I'm getting cors issue when try to connect web-grpc to golang grpc server saying..

Access to XMLHttpRequest at 'http://domain.com/data_grpc.DataHandler/Get' from origin 'http://domain.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

How can i handle this issue?

--
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+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/a7f4a9c8-aaa7-4753-acc2-b9f5e77ba927%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

guru...@gmail.com

unread,
Nov 5, 2018, 6:00:05 PM11/5/18
to grpc.io
Solved using envoy as reflection to Golang grpc server
Reply all
Reply to author
Forward
0 new messages