Comments (13)
Yea it would make sense to have an easy to configure (from GUI and CLI) context option for the proxies
Will discuss internally for the feature, or PR are welcome if someone wants to chime in 😄
from devpod.
I have the same problem and and I succeeded setting environment variables in powershell and launching DevPod from there.
It obviously respects the http_proxy and https_proxy environment variables but it shouldn't be necessary. A proxy should be configurable from desktop app and CLI setting it manually or better, detecting the system proxy setting on a Windows system like what you can find in Firefox proxy configuration. It's clearly a requirement in a corporate environement.
from devpod.
I have the same problem and and I succeeded setting environment variables in powershell and launching DevPod from there.
interesting, were you able to have the GUI to connect via the proxy as well or does this only apply to the cli ?
from devpod.
I have the same problem and and I succeeded setting environment variables in powershell and launching DevPod from there.
interesting, were you able to have the GUI to connect via the proxy as well or does this only apply to the cli ?
if those are env variables they can be passed by the UI using the new Additional Flags
experimental feature:
from devpod.
I have the same problem and and I succeeded setting environment variables in powershell and launching DevPod from there.
interesting, were you able to have the GUI to connect via the proxy as well or does this only apply to the cli ?
if those are env variables they can be passed by the UI using the new
Additional Flags
experimental feature:
Running the latest version for Windows and can't see the section CLI Additional Flags
in the experimental features, am I missing something ?
from devpod.
@u72z this will be available with v0.5.5
tomorrow
from devpod.
The cli additional flags is indeed available with the v0.5.5 version, but the proxy variables set with --workspace-env HTTP_PROXY=xxx isn't taken into account (upper and lower case)
from devpod.
@u72z There is no HTTP_PROXY
env var in your container even after restarting?
from devpod.
yes after restarting. I don't think it goes far enough to even start talking about containers.
Adding a provider or a workspace fails (timeout)
Debug mode is enabled but I don't see any trace of this variable.
The first line while starting a workspace is already pretty explicit:
`[12:16:34] debug error sending telemetry request: Post "https://admin.loft.sh/analytics/v1/devpod/v1/events": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
[12:16:51] debug Acquire workspace lock...
[12:16:51] debug Acquired workspace lock...
[12:16:51] info Creating devcontainer...
[12:16:51] debug Inject and run command: 'C:\Program Files\DevPod\devpod-cli.exe' helper ssh-server --stdio --debug
[...]
info error downloading workspace vscode-remote-try-node-docker binaries: downloading binary KUBERNETES_PROVIDER: download binary: download file: Head "https://github.com/loft-sh/devpod-provider-kubernetes/releases/download/v0.1.5/devpod-provider-kubernetes-windows-amd64.exe": dial tcp 140.82.121.4:443: connectex
`
from devpod.
Ah I see, you'd need to set the proxy on the hostmachine as well... Do you use the GUI?
from devpod.
yes mainly the UI, can those variables be set for the host machine with cli flags too on devpod level, instead of messing around with the (proxy's) system config ?
from devpod.
With #1016 you'll be able to set additional environment variables for all commands on your current machine as well 👍
We'll probably release that in a week, in the meantime I can cut an alpha release
from devpod.
It's available now with the v0.5.6 release
from devpod.
Related Issues (20)
- Run Python Application in PyCharm Client via JetBrains Gateway HOT 2
- Vendoring the rust dependencies for offline-building a package for openSUSE HOT 1
- Support native Wayland HOT 1
- The order of versions in "Or download a specific version" does not follow semver HOT 1
- Agent Url Override HOT 5
- Default workspace directory is not mounted in AWS provider HOT 1
- Temporary permissions issues on launch (detected dubious ownership in repository)
- Cannot create ssh provider HOT 9
- Cannot forward gpg-agent in DigitalOcean machine HOT 4
- Cannot forward gpg-agent when "docker-in-docker" is enabled in devcontainer
- git-remote-https: Undefined symbol: EVP_md2, version OPENSSL_3.0.0 HOT 3
- Docker Credentials Helper Fails after a few hours HOT 3
- Desktop DevPod fails to locate CLI due to incorrect path HOT 4
- Add support for cursor.com IDE (vscode compatible fork)
- Spot/Preemptible cloud instance provisioning HOT 1
- devpod can not connect to docker deamon (colima) when use a dockerfile
- Support local projects inside WSL with Docker provider HOT 1
- Error upon cloning repository due to CA Cert
- Offer a way to supply GIT credentials HOT 2
- Unable to assign a label for pods HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devpod.