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 — gax-java does not convert native gRPC exceptions in the server streaming case · Issue #2671 · googleapis/google-cloud-java

gax-java does not convert native gRPC exceptions in the server streaming case #2671

New issue
Copy link
New issue
Copy link
Closed
Closed
gax-java does not convert native gRPC exceptions in the server streaming case#2671
Copy link
Assignees
igorbernstein2
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@kmjung
kmjung
opened on Dec 1, 2017
Issue body actions

I have a gRPC-based service consisting of a unary API and a server streaming API:

service myService {
  rpc UnaryMethod(UnaryRequest) returns (UnaryResponse) {
  };

  rpc ServerStreamingMethod(ServerStreamingRequest) returns (stream ServerStreamingResponse) {
  };
}

When the server returns a google.rpc.Status error, the gRPC runtime raises an io.grpc.StatusException in both cases. In the unary case, the exception is translated to a com.google.api.gax.rpc.ApiException inside com.google.api.gax.grpc.GrpcExceptionCallable$ExceptionTransformingFuture, but in the server streaming case, the io.grpc.StatusException is surfaced directly. I believe the behavior should be consistent between these two cases (and presumably in the client and bidirectional streaming cases as well).

Activity

  1. garrettjonesgoogle
    assigned
    igorbernstein2
    on Dec 1, 2017
  2. garrettjonesgoogle commented on Dec 1, 2017

    @garrettjonesgoogle
    garrettjonesgoogle
    on Dec 1, 2017
    Contributor
    More actions

    I believe ongoing work by @igorbernstein2 will fix this.

  3. igorbernstein2 commented on Dec 1, 2017

    @igorbernstein2
    igorbernstein2
    on Dec 1, 2017
    Contributor
    More actions

    Yep, I'll update this ticket as soon as the relevant parts of googleapis/gax-java#433 get merged

  4. vchudnov-g
    added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    on Dec 13, 2017
  5. igorbernstein2 commented on Jan 10, 2018

    @igorbernstein2
    igorbernstein2
    on Jan 10, 2018
    Contributor
    More actions

    FYI, the changes have been merged and will be available in the next gax release

  6. pongad commented on Feb 1, 2018

    @pongad
    pongad
    on Feb 1, 2018
    Contributor
    More actions

    Fixed by #2825

  7. pongad
    closed this as completedon Feb 1, 2018
  8. chingor13
    added 5 commits that reference this issue on Mar 24, 2026

    feat: Update Gapic generator and Gax to emit api-versioning via header (

    cb5ada0

    chore(main): release 2.40.0 (#2679)

    32ebbe1

    test: add showcase test for api-version (#2737)

    b8e5889

    fix: add per-service api_version to gapic_metadata (#3984)

    ba93524

    chore: Update generation configuration at Thu Aug 15 02:12:34 UTC 2024 (

    eae3371
  9. meltsufin
    added 2 commits that reference this issue on Apr 29, 2026

    chore: Update generation configuration at Thu Feb 26 20:11:10 UTC 2026 (

    c85f4ea

    chore: Update generation configuration at Thu Feb 26 20:11:10 UTC 2026 (

    e1bfe8c
  10. rahul2393
    added a commit that references this issue on May 21, 2026

    misc: Support Proto/Enum types in testproxy (googleapis#2671)

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

Metadata

Metadata

Assignees

  • @igorbernstein2
    igorbernstein2

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

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.