Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Occasional stackdriver errors when not debugging #405

Closed
ggprod opened this issue Mar 13, 2018 · 8 comments
Closed

Occasional stackdriver errors when not debugging #405

ggprod opened this issue Mar 13, 2018 · 8 comments
Assignees
Labels
api: clouddebugger Issues related to the googleapis/cloud-debug-nodejs API. 🚨 This issue needs some love. triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@ggprod
Copy link

ggprod commented Mar 13, 2018

We are occasionally seeing errors like (even though there is no debugging occurring):

ERROR:@google-cloud/debug-agent: Unable to fetch breakpoints – stopping fetcher Error: ESOCKETTIMEDOUT

ERROR:@google-cloud/debug-agent: Failed to re-register debuggee geoffrey-peddle-test: Error: ESOCKETTIMEDOUT

ERROR:@google-cloud/debug-agent: Unable to fetch breakpoints – stopping fetcher Error: unable to list breakpoints, status code 401

@ggprod ggprod changed the title Occasional errors when not debugging Occasional stackdriver errors when not debugging Mar 13, 2018
@ofrobots
Copy link
Contributor

Hi @ggprod, Can you specify some details:

  • The environment in which you're running your application (AppEngine, GKE, Cloud Functions, Locally, etc.)
  • The versions of @google-cloud/debug-agent and google-auth-library that your application ends up using.

@ggprod
Copy link
Author

ggprod commented Mar 13, 2018

Sure, this is running on app engine flexible and the debug-agent version is 2.2.2, the google-auth-library is 0.12.0

@ofrobots
Copy link
Contributor

I believe the issues are around the time that the auth token expires. This has been addressed in googleapis/google-auth-library-nodejs#242.

If you update to the latest version of this module (2.3.2), I think you should get a version of the google-auth-library that has the fix. The fix landed in v1.1.0 of that library. Please give that a shot and see if you still get these intermittent errors.

These errors themselves are for diagnostics. Once the auth token expires, we report that something bad happened, and then retry with a fresh auth token.

@ggprod
Copy link
Author

ggprod commented Mar 13, 2018

ok, sounds good, I'll try that.. thanks @ofrobots !

@ggprod
Copy link
Author

ggprod commented Mar 14, 2018

Seems like upgrading to latest debug-agent doesn't uprev google-auth-library (yarn.lock suggests 0.12 is still the highest version after new debug-agent).. but perhaps it will still solve our issue

@ofrobots
Copy link
Contributor

@ggprod you're right. It seems that we updated the dependency on @google-cloud/common recently, and this hasn't been released yet. We'll try to publish a new version tomorrow.

@DominicKramer
Copy link
Contributor

There are some test errors on the master branch related to changes in the dependencies. I will need to fix those before making a release, and thus the release probably won't happen today. I will keep you up-to-date on an ETA.

@DominicKramer
Copy link
Contributor

Version 2.4.0 has been released and should resolve this issue. If you are still experiencing problems, please let me know. Thanks.

@DominicKramer DominicKramer added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. and removed status: acknowledged labels Jun 14, 2018
@google-cloud-label-sync google-cloud-label-sync bot added the api: clouddebugger Issues related to the googleapis/cloud-debug-nodejs API. label Jan 31, 2020
@yoshi-automation yoshi-automation added 🚨 This issue needs some love. triage me I really want to be triaged. labels Apr 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api: clouddebugger Issues related to the googleapis/cloud-debug-nodejs API. 🚨 This issue needs some love. triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

4 participants