Skip to content

Cloud Service Authentication Failure in Claude Code CLI - google cloud auth coming from claude code PLEASE fix this! Urgent #5808

Closed as duplicate

Description

@packetman007

Bug Description

This happens alot and it recurs and cannot be stopped easily. i already reported it as a bug, but apparently ignored. i do not use google cloud.

The error you're experiencing appears to be coming from Claude Code itself (the /$bunfs/root/claude path suggests it's internal to the Claude Code CLI
tool), not from your Python application. The error mentions AWS security credentials and Google Cloud authentication, which suggests Claude Code is
trying to access cloud services automatically.

Let me check what packages are installed in your virtual environment that might be triggering this:

Bash(source venv/bin/activate && pip list | grep -i "google|cloud|aws|auth")
⎿ Error: Error

Bash(source venv/bin/activate && pip list)
⎿ Package Version
------------------ --------
aiohttp 3.9.1
… +48 lines (ctrl+r to expand)

● Based on my investigation, this error is coming from Claude Code itself, not your Python application. The error traceback shows paths like
/$bunfs/root/claude which indicates it's an internal Claude Code process trying to authenticate with cloud services.

Let me check if there are any environment variables that might be triggering this:

● Bash(env | grep -i "google|cloud|aws|auth|credential" | head -10)
⎿ Running…

╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Bash command │
│ │
│ env | grep -i "google|cloud|aws|auth|credential" | head -10 │
│ Check for cloud/auth related environment variables

Environment Info

  • Platform: linux
  • Terminal: cursor
  • Version: 1.0.81
  • Feedback ID: 9881b6dd-12e7-4f2a-882a-21f338873162

Errors

[]

Activity

  1. github-actions commented on Aug 15, 2025

    @github-actions

    Found 3 possible duplicate issues:

    1. [BUG] Vertex AI Environment Variables Ignored #2804
    2. [BUG] Claude Code doesn't inherit refreshed AWS credentials from SAML-to in GitHub Codespaces, causing 403 "security token expired" errors every 30 minutes #5737
    3. Authentication Failure: Persistent Offline State After Login #4336

    This issue will be automatically closed as a duplicate in 3 days.

    • If your issue is a duplicate, please close it and 👍 the existing issue instead
    • To prevent auto-closure, add a comment or 👎 this comment

    🤖 Generated with Claude Code

  2. added
    duplicateThis issue or pull request already exists
    and removed
    bugSomething isn't working
    has reproHas detailed reproduction steps
    platform:linuxIssue specifically occurs on Linux
    on Aug 18, 2025
  3. github-actions commented on Aug 18, 2025

    @github-actions

    This issue has been automatically closed as a duplicate of #2804.

    If this is incorrect, please re-open this issue or create a new one.

    🤖 Generated with Claude Code

  4. github-actions commented on Aug 26, 2025

    @github-actions

    This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

  5. locked as resolved and limited conversation to collaborators on Aug 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions