GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Google Cloud Speech + App engine using java white listed gRPC channel builder · Issue #356 · GoogleCloudPlatform/java-docs-samples

Google Cloud Speech + App engine using java white listed gRPC channel builder #356

New issue
Copy link
New issue
Copy link
Closed
Closed
Google Cloud Speech + App engine using java white listed gRPC channel builder#356
Copy link
Labels
🚨This issue needs some love.triage meI really want to be triaged.

Description

@manjunaras
manjunaras
opened on Oct 10, 2016
Issue body actions

I am building java based google cloud speech streaming recognize service app in app engine so different applications consuming this service will send browser recording microphone streaming audio as PCM chunks to get response transcript and it works fine in standalone using socket.io (StreamingRecognize.java) when we create` servlet, Google channel API with the mashup code from StreamingRecognize.java and we deploy in app engine it throws white listed error while getting gRPC connection build in ManagedChannel.

Is GAE have accessibility to run gRPC client with HTTP2 support?

@OverRide
public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
GoogleCredentials creds = GoogleCredentials.getApplicationDefault();
creds = creds.createScoped(OAUTH2_SCOPES);
ManagedChannel channel = ManagedChannelBuilder
.forAddress("speech.googleapis.com", 443)
.intercept(new ClientAuthInterceptor(creds, Executors.newSingleThreadExecutor()))
.build();
.....

image

Activity

  1. lesv commented on Oct 10, 2016

    @lesv
    lesv
    on Oct 10, 2016
    Contributor
    More actions

    GAE Standard doesn't yet support gRPC - it's close.

    Reacted by manjunaras
  2. manjunaras commented on Oct 11, 2016

    @manjunaras
    manjunaras
    on Oct 11, 2016
    Author
    More actions

    @lesv : Thanks a lot. If GAE doesn't support, any other web server or VM servers supports gRPC with HTTP2? i tried with tomcat 8 and 9 but no ALPN configured yet.
    Any solution to deploy is acceptable.

  3. lesv commented on Oct 11, 2016

    @lesv
    lesv
    on Oct 11, 2016
    Contributor
    More actions

    gRPC no longer requires ALPN, if your looking at code that still uses it, we should fix it. I can easily make this stuff work w/ Jetty. (GAE Flex) You should be using netty-borringssl-static.

    I didn't need any special configuration to make that work for Jetty, so I don't think you'll need it for Tomcat. If you can't make it work w/ that, ping, and I'll spend some time getting stuff to work w/ tomcat 9.

  4. lesv commented on Oct 14, 2016

    @lesv
    lesv
    on Oct 14, 2016
    Contributor
    More actions

    manjunaras and I have exchanged emails, he's going to move to GAE Flex using our Jetty images as a base image. I'm going to close this.

  5. lesv
    closed this as completedon Oct 14, 2016
  6. yoshi-automation
    added
    triage meI really want to be triaged.
    🚨This issue needs some love.
    on Apr 6, 2020
  7. averikitsch
    added 2 commits that reference this issue on Oct 27, 2022

    test(deps): update dependency junit:junit to v4.13.2 (#356)

    c1eafa0

    test(deps): update dependency junit:junit to v4.13.2 (#356)

    faafe33
  8. olivi-eh
    added a commit that references this issue on Nov 11, 2022

    chore(deps): update dependency com.google.cloud:libraries-bom to v13.…

    8792acc
  9. Shabirmean
    added 4 commits that reference this issue on Nov 11, 2022

    deps: update dependency com.google.cloud:google-cloud-bigquery to v2.…

    b11c5de

    deps: update dependency com.google.cloud:google-cloud-bigquery to v2.…

    a41d5df

    chore(deps): update dependency com.google.cloud:libraries-bom to v15 (#…

    cc36325

    chore(deps): update dependency com.google.cloud:libraries-bom to v15 (#…

    be3a179
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🚨This issue needs some love.triage meI really want to be triaged.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.