Skip to content

Dts Plugin - IPV6 machines cannot download zip file #3382

@RussellCanfield

Description

@RussellCanfield

Describe the bug

On my mac which is setup to prefer ipv6, federated types will not download due to the axios agent's "family: 4" configuration. The loopback ip address 127.0.0.1 does not resolve to localhost. Is there a better way than just assuming ipv4 is the answer and perhaps work like the dev server -> host option for ipv6 and fallback to ipv4 ?

This was tricky to track down, and I think in general the DTS Plugin could use a lot more information logs events where it has many early returns. Especially in situations where the HTTP Call to get the type data fails.

Reproduction

https://github.com/RussellCanfield/zephyr-demo

Used Package Manager

pnpm

System Info

System:
    OS: macOS 15.1.1
    CPU: (16) arm64 Apple M4 Max
    Memory: 3.58 GB / 64.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.10.0 - ~/.nvm/versions/node/v22.10.0/bin/node
    npm: 10.9.0 - ~/.nvm/versions/node/v22.10.0/bin/npm
    pnpm: 9.15.0 - ~/Library/pnpm/pnpm
  Browsers:
    Chrome: 131.0.6778.205
    Safari: 18.1.1

Validations

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions