Skip to content

[Python SDK] Unexpected internal endpoints probe on start #624

Description

@pocesar

Describe the bug

When creating an Agent instance on Kubernetes, it will fill the logs with deny requests from the NetworkPolicy since it's trying to issue requests to protected and highly sensitive IPs.
It will also try to reach api.ipify.org for no apparent reason.

There should be a way to opt-out from this behavior on _detect_container_ip

Steps to reproduce

  1. Go to '...'
  2. Run '...'
  3. See error

Expected behavior

Screenshots / Logs

Environment

  • Control plane version:
  • SDK version (if applicable):
  • Deployment environment (local, docker, kubernetes, etc.):

Additional context

Activity

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

    area:sdkCross-SDK (Python + Go + TS) parity workbugSomething isn't workingsdk:pythonPython SDK related

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions