Page MenuHomeVyOS Platform

Commit-Archive Save doesn't use https_proxy
Open, NormalPublicBUG



we tried to use the git+https commit-archive backend, but were unable to use it as we need to use a proxy for outside communication.
The reason for this is that the git subprocess is being called without the https_proxy environment variable that we set in the vyos config.

I found the lines where the environment for git were defined and when I added the correct environment var the commits were able to be saved in git.


Best regards,


Difficulty level
Easy (less than an hour)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav changed the task status from Open to Needs reporter action.Apr 23 2024, 5:09 PM
Viacheslav subscribed.

@modzilla99 Could you provide an example of set commands to reproduce?


sorry for the late reply.You don't need any special commands. The only thing you have to set is the proxy and the commit archive.

set system config-management commit-archive location 'git+https://vyos:[email protected]/infrastructure/vyos-configuration'
set system proxy port '8888'
set system proxy url ''

Best regards,
Justin Lamp

Viacheslav changed the task status from Needs reporter action to Open.May 16 2024, 7:55 AM