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 — PubSub: A lot of warnings like "No response from server for 20 seconds since last ping. Closing stream." · Issue #2651 · googleapis/java-pubsub

This repository was archived by the owner on Aug 13, 2026. It is now read-only.
This repository was archived by the owner on Aug 13, 2026. It is now read-only.

PubSub: A lot of warnings like "No response from server for 20 seconds since last ping. Closing stream." #2651

Copy link
Copy link
Closed
#2652
Closed
PubSub: A lot of warnings like "No response from server for 20 seconds since last ping. Closing stream."#2651
#2652
Copy link
Assignees
michaelpri10
Labels
api: pubsubIssues related to the googleapis/java-pubsub API.

Description

@ccudennec-otto
ccudennec-otto
opened on Dec 22, 2025
Issue body actions

Environment details

  1. Specify the API at the beginning of the title. For example, "BigQuery: ...").
    General, Core, and Other are also allowed as types
  2. OS type and version: Base Image: eclipse-temurin:21-jre
  3. Java version: 21
  4. version(s): v26.73.0

Description

My services updated to spring-cloud-gcp 7.4.2 which brings version v26.73.0 of the Google BOM.

Since that update I see a lot of those warnings in the logs:

No response from server for 20 seconds since last ping. Closing stream.

This seems to be related to some recent changes: #2605
Logger is: com.google.cloud.pubsub.v1.StreamingSubscriberConnection

I'm not sure yet if this is a real issue or just too many logs. Can please investigate / fix this?

Thanks,

Christopher

Reacted by Nathan Perrier

Activity

  1. blunderbuss-gcf
    assigned
    michaelpri10
    on Dec 22, 2025
  2. product-auto-label
    added
    api: pubsubIssues related to the googleapis/java-pubsub API.
    on Dec 22, 2025
  3. michaelpri10
    closed this as completedin #2652on Dec 22, 2025
  4. michaelpri10 commented on Dec 22, 2025

    @michaelpri10
    michaelpri10
    on Dec 22, 2025
    Contributor
    More actions

    Hello! The warning logs do not indicate any correctness or performance issues with your subscriber application, but we have just released v1.144.1 to disable the recently added keepalive behavior and avoid these noisy logs.

  5. ccudennec-otto commented on Dec 23, 2025

    @ccudennec-otto
    ccudennec-otto
    on Dec 23, 2025
    Author
    More actions

    Awesome! Thanks for the quick fix @michaelpri10 !

  6. compl-snd commented on Feb 3, 2026

    @compl-snd
    compl-snd
    on Feb 3, 2026
    More actions

    It appears these warning logs are back since the upgrade to 26.75.0 due to this PR.

  7. michaelpri10 commented on Feb 3, 2026

    @michaelpri10
    michaelpri10
    on Feb 3, 2026
    Contributor
    More actions

    @compl-snd These logs were downgraded to INFO level logs before the feature was re-enabled. They may happen occasionally, which could indicate a broken connection and that the keepalives are working as intended. However, if you are seeing this happen very frequently, please let us know.

  8. compl-snd commented on Feb 3, 2026

    @compl-snd
    compl-snd
    on Feb 3, 2026
    More actions

    Thanks for the swift reply! Indeed, the log level has been updated, I missed that. When running locally using the Pub/Sub Emulator, I am consistently getting the logs every ~30secs for each of my 8 subscriber threads, even though the logs indicate "for 20 seconds since last ping". There seems to be a weird timing issue happening here.

    When deployed on Google Cloud Run, the logs seem to be showing up mostly occasionally as you indicate. I do see a few instances where it happened three times in succession (i.e., at time N, N+20, and N+40) and then seems to have recovered (in these cases, the 20 seconds interval does match what the logs indicate).

    Reacted by drakulis and Nathan Perrier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @michaelpri10
    michaelpri10

Labels

api: pubsubIssues related to the googleapis/java-pubsub API.

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.