Skip to content

Bug: sdk offline reaches out to api.sdkman.io. #1484

@DamnedElric

Description

@DamnedElric

Bug report

Running the command sdk offline or sdk offline enable results in unexpected network traffic. Specifically, a DNS lookup of api.sdkman.io and a bunch of HTTPS traffic to api.sdkman.io.

I'm not sure why offline is calling the sdkman API. This is particularly annoying when I'm partially online but have insanely slow DNS resolution. This means my shell sits waiting for sdkman's phone-home ritual even though I explicitly told it not to.

To reproduce

  1. Start tcpdump
  2. Run sdk offline
  3. Observe traffic to api.sdkman.io

System info
sdkman 5.20 on Fedora:

SDKMAN!
script: 5.20.0
native: 0.1.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions