Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Registry library needs to support accessing devfiles over a proxy #897

Copy link
Copy link

Description

@johnmcollier
Issue body actions

On airgapped clusters (where access to https://registry.devfile.io might only be available through a proxy), requests via the registry-library fail with:

E0722 21:04:27.064568 1 devfile-handler.go:40] Failed to read from registry https://registry.devfile.io/: Get "https://registry.devfile.io/index/sample": dial tcp 34.198.81.130:443: i/o timeout (Client.Timeout exceeded while awaiting headers)
E0722 21:04:47.088332 1 devfile-handler.go:40] Failed to read from registry https://registry.devfile.io/: Get "https://registry.devfile.io/index/sample": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
E0722 21:05:10.543965 1 devfile-handler.go:40] Failed to read from registry https://registry.devfile.io/: Get "https://registry.devfile.io/index/sample": dial tcp 34.198.81.130:443: i/o timeout (Client.Timeout exceeded while awaiting headers)
E0722 21:05:30.558814 1 devfile-handler.go:40] Failed to read from registry https://registry.devfile.io/: Get "https://registry.devfile.io/index/sample": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
E0722 21:06:07.005139 1 devfile-handler.go:40] Failed to read from registry https://registry.devfile.io/: Get "https://registry.devfile.io/index/sample": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
E0722 21:06:27.017406 1 devfile-handler.go:40] Failed to read from registry https://registry.devfile.io/: Get "https://registry.devfile.io/index/sample": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
E0722 21:09:40.999418 1 devfile-handler.go:40] Failed to read from registry https://registry.devfile.io/: Get "https://registry.devfile.io/index/sample": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
E0722 21:09:57.396735 1 devfile-handler.go:40] Failed to read from registry https://registry.devfile.io/: Get "https://registry.devfile.io/index/sample": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
E0722 21:10:01.024051 1 devfile-handler.go:40] Failed to read from registry https://registry.devfile.io/: Get "https://registry.devfile.io/index/sample": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

The registry library needs to honour any existing proxy configurations that are passed in through the container's environment variable (HTTP_PROXY, HTTPS_PROXY)

/area registry
/kind bug

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

area/registryDevfile registry for stacks and infrastructureDevfile registry for stacks and infrastructurekind/bugSomething isn't workingSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.