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 — Provide a way to configure connection and readTimeout · Issue #232 · googleapis/google-cloud-java

Provide a way to configure connection and readTimeout #232

New issue
Copy link
New issue
Copy link
Closed
Closed
Provide a way to configure connection and readTimeout#232
Copy link
Assignees
aozarov
Labels
🚨 criticalP0 critical issue. Requires immediate fixapi: coretriage meI really want to be triaged.

Description

@aozarov
aozarov
opened on Oct 8, 2015
Issue body actions

This should be a setting in ServiceOptions.

Once we get it from the user we can set it by the HttpRequestInitializer.

Activity

Next
  1. aozarov
    added
    api: core
    on Oct 8, 2015
  2. aozarov commented on Oct 8, 2015

    @aozarov
    aozarov
    on Oct 8, 2015
    ContributorAuthor
    More actions

    Note that currently the default values are:

    connectTimeout - 20 seconds.
    readTimeout - 20 seconds.

    This was taken from here.

  3. mziccard commented on Oct 9, 2015

    @mziccard
    mziccard
    on Oct 9, 2015
    Contributor
    More actions

    After merging #236, oraclejdk8 build failed with:

    Tests run: 21, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 55.846 sec <<< FAILURE! - in com.google.gcloud.storage.ITStorageTest
    testPostSignedUrl(com.google.gcloud.storage.ITStorageTest)  Time elapsed: 20.011 sec  <<< ERROR!
    com.google.gcloud.storage.StorageException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:150)
        at java.net.SocketInputStream.read(SocketInputStream.java:121)
        at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
        at sun.security.ssl.InputRecord.read(InputRecord.java:503)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:961)
        at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:918)
        at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
        at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:703)
        at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1535)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
        at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
        at com.google.api.client.http.javanet.NetHttpResponse.<init>(NetHttpResponse.java:37)
        at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:94)
        at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:972)
        at com.google.api.client.googleapis.media.MediaHttpUploader.executeCurrentRequestWithoutGZip(MediaHttpUploader.java:545)
        at com.google.api.client.googleapis.media.MediaHttpUploader.executeCurrentRequest(MediaHttpUploader.java:562)
        at com.google.api.client.googleapis.media.MediaHttpUploader.directUpload(MediaHttpUploader.java:360)
        at com.google.api.client.googleapis.media.MediaHttpUploader.upload(MediaHttpUploader.java:334)
        at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:427)
        at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:352)
        at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:469)
        at com.google.gcloud.spi.DefaultStorageRpc.create(DefaultStorageRpc.java:137)
        at com.google.gcloud.storage.StorageImpl$3.call(StorageImpl.java:142)
        at com.google.gcloud.storage.StorageImpl$3.call(StorageImpl.java:139)
        at com.google.gcloud.RetryHelper.doRetry(RetryHelper.java:181)
        at com.google.gcloud.RetryHelper.runWithRetries(RetryHelper.java:247)
        at com.google.gcloud.RetryHelper.runWithRetries(RetryHelper.java:237)
        at com.google.gcloud.storage.StorageImpl.create(StorageImpl.java:139)
        at com.google.gcloud.storage.StorageImpl.create(StorageImpl.java:124)
        at com.google.gcloud.storage.ITStorageTest.testPostSignedUrl(ITStorageTest.java:453)
    
  4. aozarov commented on Oct 9, 2015

    @aozarov
    aozarov
    on Oct 9, 2015
    ContributorAuthor
    More actions

    Yes, re-opened #220, hoping #234 would fix it.

  5. aozarov commented on Oct 9, 2015

    @aozarov
    aozarov
    on Oct 9, 2015
    ContributorAuthor
    More actions

    Fixed by #234

  6. aozarov
    closed this as completedon Oct 9, 2015
  7. yoshi-automation
    added
    triage meI really want to be triaged.
    🚨 criticalP0 critical issue. Requires immediate fix
    on Apr 6, 2020
  8. JustinBeckwith
    assigned
    aozarov
    on Feb 1, 2021
  9. github-actions
    added 6 commits that reference this issue on Jun 21, 2022

    chore: Integrate new gapic-generator-java and rules_gapic (#232)

    e961ca0

    chore: include generated samples dir (#232)

    a55d17d

    deps: update dependency com.google.cloud:google-cloud-shared-dependen…

    cd303d7

    chore(main): release 2.2.1 (#233)

    4562900

    chore(main): release 2.2.2-SNAPSHOT (#232)

    4a08b21

    chore: regenerate README (googleapis#232)

    d635882
  10. 12 remaining items

  11. github-actions
    added 5 commits that reference this issue on Oct 4, 2022

    chore(main): release 1.3.4 (#233)

    baa5f1c

    chore(main): release 0.7.5 (#239)

    5347464

    chore(main): release 1.4.3 (#244)

    1abee22

    chore(main): release 0.4.4 (#248)

    5ebf23b

    chore(main): release 1.2.2 (googleapis#232)

    adc0a25
  12. chingor13
    added a commit that references this issue on Jan 6, 2026

    chore(deps): update dependency com.google.cloud:google-cloud-logging-…

    31b35b1
  13. chingor13
    added a commit that references this issue on Feb 24, 2026

    Update Sign Blob API (#232)

    5db7702
  14. chingor13
    added a commit that references this issue on Mar 12, 2026

    Update Sign Blob API (#232)

    600278d
  15. suztomo
    added a commit that references this issue on Mar 23, 2026

    deps: update dependency junit:junit to v4.13.1 (googleapis#232)

    1b354a5
  16. suztomo
    added a commit that references this issue on Mar 30, 2026

    chore(ci): skip autorelease workflow on non-release PRs (#232)

    e5c0120
  17. lqiu96
    added a commit that references this issue on Apr 1, 2026

    chore(ci): skip autorelease workflow on non-release PRs (#232)

    05a276e
  18. meltsufin
    added 2 commits that reference this issue on Apr 29, 2026

    chore: update common templates (#232)

    6ca2e1e

    chore: update common templates (#232)

    d58483f
  19. blakeli0
    added a commit that references this issue on May 18, 2026

    fix: unbind manual affinity keys after terminal calls (#232)

    0df15d7
  20. benjaminp
    added a commit that references this issue on Jul 13, 2026

    chore: Migrate bigtable synth.py to bazel (googleapis#232)

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

Metadata

Metadata

Assignees

  • @aozarov
    aozarov

Labels

🚨 criticalP0 critical issue. Requires immediate fixapi: coretriage 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.