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 — Getting DEADLINE_EXCEEDED for pubsub simple cases with proxy setting · Issue #2161 · googleapis/google-cloud-java

Getting DEADLINE_EXCEEDED for pubsub simple cases with proxy setting #2161

New issue
Copy link
New issue
Copy link
Closed
Closed
Getting DEADLINE_EXCEEDED for pubsub simple cases with proxy setting#2161
Copy link
Assignees
wpeikai
Labels
type: questionRequest for information or clarification. Not an issue.

Description

@wpeikai
wpeikai
opened on Jun 19, 2017
Issue body actions

We are trying to adopt pubsub, using cloud library for pubsub 0.19.0. there seems some connectivity issue because running in company network. I am getting DEADLINE_EXCEEDED exception after 10 mins for creating topics. I have tried to set the http/https proxy using System.setProperty("http.proxyHost", proxyHost); But it didn't work. Is this correct way to set proxy for pubsub gRPC calls in company network?

Exception in thread "main" com.google.api.gax.grpc.ApiException: io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED
at com.google.api.gax.grpc.ExceptionTransformingCallable$ExceptionTransformingFuture.onFailure(ExceptionTransformingCallable.java:108)
at com.google.api.core.ApiFutures$1.onFailure(ApiFutures.java:53)
at com.google.common.util.concurrent.Futures$6.run(Futures.java:1764)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:456)
at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:817)
at com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:753)
at com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:634)
at io.grpc.stub.ClientCalls$GrpcFuture.setException(ClientCalls.java:463)
at io.grpc.stub.ClientCalls$UnaryStreamToFuture.onClose(ClientCalls.java:439)
at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:428)
at io.grpc.internal.ClientCallImpl.access$100(ClientCallImpl.java:76)
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.close(ClientCallImpl.java:514)
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.access$700(ClientCallImpl.java:431)
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:546)
at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:52)
at io.grpc.internal.SerializingExecutor$TaskRunner.run(SerializingExecutor.java:152)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED
at io.grpc.Status.asRuntimeException(Status.java:540)
... 15 more

Activity

  1. pongad commented on Jun 20, 2017

    @pongad
    pongad
    on Jun 20, 2017
    Contributor
    More actions

    @wpeikai I think the fundamental issue is that the pubsub library uses GRPC, not HTTP. So the HTTP properties take no effect. I believe this is a duplicate of this issue. Please let me know if this works for you.

  2. pongad
    self-assigned this
    on Jun 20, 2017
  3. pongad
    added
    type: questionRequest for information or clarification. Not an issue.
    on Jun 20, 2017
  4. garrettjonesgoogle commented on Jun 20, 2017

    @garrettjonesgoogle
    garrettjonesgoogle
    on Jun 20, 2017
    Contributor
    More actions

    I think we should put proxy instructions in our readmes.

  5. pongad
    added a commit that references this issue on Jun 20, 2017

    document gRPC proxy env var

    bbb9c30
  6. wpeikai commented on Jun 21, 2017

    @wpeikai
    wpeikai
    on Jun 21, 2017
    Author
    More actions

    This is working for me, thanks for the help!

  7. wpeikai
    closed this as completedon Jun 21, 2017
  8. pongad
    added a commit that references this issue on Jun 23, 2017

    document gRPC proxy env var (#2169)

    9f7344b
  9. theacodes
    unassigned
    pongad
    on Sep 28, 2018
  10. JustinBeckwith
    assigned
    wpeikai
    on Feb 1, 2021
  11. chingor13
    added a commit that references this issue on Feb 20, 2026

    chore(main): release 2.39.1-SNAPSHOT (#2161)

    afc8c54
  12. suztomo
    added a commit that references this issue on Mar 23, 2026

    deps: update dependency com.google.cloud:google-cloud-spanner-bom to …

    1e599bf
  13. meltsufin
    added 7 commits that reference this issue on Apr 29, 2026

    deps: update dependency com.google.cloud:google-cloud-core to v2.43.0 (…

    05a37b7

    chore(main): release 1.132.2 (#2168)

    f950708

    chore(main): release 1.133.0 (#2206)

    a3b6539

    deps: update dependency com.google.cloud:google-cloud-core to v2.43.0 (…

    c6cbcb4

    chore(main): release 1.132.2 (#2168)

    c191739

    chore(main): release 1.133.0 (#2206)

    1180af9

    chore(main): release 3.31.8-SNAPSHOT (#2161)

    08498cd
  14. benjaminp
    added a commit that references this issue on Jul 13, 2026

    chore(main): release 2.36.0 (googleapis#2161)

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

Metadata

Metadata

Assignees

  • @wpeikai
    wpeikai

Labels

type: questionRequest for information or clarification. Not an issue.

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.