Is Proxmox Offline Mirror tool supporting proxy?

itmike

New Member
Dec 1, 2022
4
0
1
Hi,

Does proxmox-offline-mirror support proxy settings?

I tried setting http_proxy="http://proxy:8080", both inline on commandline and in the environment, but get this when trying:

Bash:
proxmox-offline-mirror mirror snapshot create --config '/etc/proxmox-offline-mirror.cfg' 'debian_bullseye_main'
Fetching Release/Release.gpg files
-> GET 'http://deb.debian.org/debian/dists/bullseye/Release.gpg'..
Fetching InRelease file
-> GET 'http://deb.debian.org/debian/dists/bullseye/InRelease'..
Release.gpg fetch failure: http://deb.debian.org/debian/dists/bullseye/Release.gpg: Network Error: Network Error: Error encountered in the status line: Connection reset by peer (os error 104)
InRelease fetch failure: http://deb.debian.org/debian/dists/bullseye/InRelease: Network Error: Network Error: Error encountered in the status line: Connection reset by peer (os error 104)
Error: Neither Release(.gpg) nor InRelease available!

Didn't find anything here about it:

Bash:
proxmox-offline-mirror --help
Error: no such command '--help'

Usage:

proxmox-offline-mirror config media add --id <string> --mirrors <string> --mountpoint <string> --sync <boolean> --verify <boolean> [OPTIONS]
proxmox-offline-mirror config media list [OPTIONS]
proxmox-offline-mirror config media remove --id <string> --remove-data <boolean> [OPTIONS]
proxmox-offline-mirror config media show --id <string> [OPTIONS]
proxmox-offline-mirror config media update --id <string> [OPTIONS]
proxmox-offline-mirror config mirror add --architectures <string> --base-dir <string> --id <string> --key-path <string> --repository <string> --sync <boolean> --verify <boolean> [OPTIONS]
proxmox-offline-mirror config mirror list [OPTIONS]
proxmox-offline-mirror config mirror remove --id <string> --remove-data <boolean> [OPTIONS]
proxmox-offline-mirror config mirror show --id <string> [OPTIONS]
proxmox-offline-mirror config mirror update --id <string> [OPTIONS]
proxmox-offline-mirror help [{<command>}] [OPTIONS]
proxmox-offline-mirror key add <key> <server-id> [OPTIONS]
proxmox-offline-mirror key add-mirror-key <key> [OPTIONS]
proxmox-offline-mirror key list [OPTIONS]
proxmox-offline-mirror key refresh [OPTIONS]
proxmox-offline-mirror key remove <key> [OPTIONS]
proxmox-offline-mirror key show <key> [OPTIONS]
proxmox-offline-mirror key update <key> [OPTIONS]
proxmox-offline-mirror medium diff <id> [OPTIONS]
proxmox-offline-mirror medium gc <id> [OPTIONS]
proxmox-offline-mirror medium status <id> [OPTIONS]
proxmox-offline-mirror medium sync <id> [OPTIONS]
proxmox-offline-mirror mirror gc <id> [OPTIONS]
proxmox-offline-mirror mirror snapshot create <id> [OPTIONS]
proxmox-offline-mirror mirror snapshot create-all [OPTIONS]
proxmox-offline-mirror mirror snapshot diff <id> <snapshot> <other_snapshot> [OPTIONS]
proxmox-offline-mirror mirror snapshot list [<id>] [OPTIONS]
proxmox-offline-mirror mirror snapshot remove <id> <snapshot> [OPTIONS]
proxmox-offline-mirror setup [OPTIONS]
 
Do someone know, if there is some, hidden, solution to this? Except running it on a system without required proxy settings.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!