Skip to content

[Bug]: Kernel download honors HTTP_PROXY but not other standard environment variables. #466

@SuzukiHonoka

Description

@SuzukiHonoka

I have done the following

  • I have searched the existing issues
  • If possible, I've reproduced the issue using the 'main' branch of this project

Steps to reproduce

Set proxy envirment by use following vars:

  • http_proxy
  • https_proxy

Start the container system.

Current behavior

It does not use the proxy settings in the environment.

Expected behavior

Use proxy settings in environment.

Environment

- OS: 15.6
- Xcode: 16.4
- Container: container CLI version 0.3.0 (build: release, commit: 3fcf647)

Relevant log output

#printenv|grep proxy
http_proxy=http://127.0.0.1:10828
https_proxy=http://127.0.0.1:10828

#container s start
Verifying apiserver is running...
No default kernel configured.
Install the recommended default kernel from [https://github.com/kata-containers/kata-containers/releases/download/3.17.0/kata-static-3.17.0-arm64.tar.xz]? [Y/n]: y
Installing kernel...
Error: unknown: "StreamClosed(streamID: HTTP2StreamID(1), errorCode: HTTP2ErrorCode<0x1 ProtocolError>, location: "NIOHTTP2/HTTP2StreamChannel.swift:892")"

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

networkIssues and features associated with networking and DNS.nextMust-have items for current and next milestone

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions