Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the editor to use a proxy for updates #5455

Closed
sethladd opened this issue Sep 25, 2012 · 19 comments
Closed

Allow the editor to use a proxy for updates #5455

sethladd opened this issue Sep 25, 2012 · 19 comments
Assignees
Labels
P1 A high priority bug; for example, a single project is unusable or has many test failures type-enhancement A request for a change that isn't a bug
Milestone

Comments

@sethladd
Copy link
Contributor

The editor cannot download updates when a proxy is installed onto the user's network. A proxy is common for corporate environments.

@pq
Copy link
Member

pq commented Sep 25, 2012

Set owner to @pq.
Added this to the M2 milestone.
Removed Area-Pub label.
Added Area-Editor, Accepted labels.

@pq
Copy link
Member

pq commented Dec 6, 2012

Removed this from the M2 milestone.
Added this to the M3 milestone.

@DartBot
Copy link

DartBot commented Dec 7, 2012

This comment was originally written by ecopat...@gmail.com


Here's a solution I found, in the Windowsm you can acess the "Environment variables" and add the variable named HTTP_PROXY with the value https://USER:PASSWORD@my.proxy.adress:PORT

@pq
Copy link
Member

pq commented Dec 7, 2012

Thanks for the follow-up.

Ideally we'll make this a bit easier for the user by surfacing a "network" configuration option (in our configuration file or in preferences).

Stay tuned :)

@DartBot
Copy link

DartBot commented Dec 11, 2012

This comment was originally written by jmayomart...@gmail.com


The environment variable HTTP_PROXY not works for me; DART Editor returns me: "Unable to get latest revision"

@DartBot
Copy link

DartBot commented Dec 11, 2012

This comment was originally written by ec...@gmail.com


@jmayomartin@gmail.com: I can't update it through Editor either, but the HTTP_PROXY let me runs pub install and pub update. When I need to update the editor, I re-download it :/

@DartBot
Copy link

DartBot commented Dec 14, 2012

This comment was originally written by jaworowski....@gmail.com


Unfortunatelly the HTTP_PROXY does not work for me when running pub install and pub update.
I get following :

Running pub install ...
Pub install failed, [1] Resolving dependencies...
Could not resolve URL "http://pub.dartlang.org".
Other applications which actually use HTTP_PROXY are working fine, so I assume my HTTP_PROXY setting is correct.

@pq
Copy link
Member

pq commented Feb 1, 2013

Removed this from the M3 milestone.
Added this to the M4 milestone.

@danrubel
Copy link

Removed this from the M4 milestone.
Added this to the M5 milestone.

@clayberg
Copy link

Issue #8956 has been merged into this issue.

@DartBot
Copy link

DartBot commented Apr 8, 2013

This comment was originally written by sunil.k...@gmail.com


This is a big issue for working inside of corportate networks. I would prefer it to utilize chrome or system settings.

@DartBot
Copy link

DartBot commented Apr 11, 2013

This comment was originally written by xhaman...@gmail.com


when will be fixed this?

@DartBot
Copy link

DartBot commented Apr 17, 2013

This comment was originally written by polido...@gmail.com


I have HTTP_PROXY and it doesn't work for me.

@DartBot
Copy link

DartBot commented Apr 30, 2013

This comment was originally written by sudh...@gmail.com


http_proxy doesn't work. I tried from Windows (environment variables) as well as command line from cygwin terminal by setting http_prpxy manually and running "pub install".


$ /cygdrive/c/software/dart/dart-sdk/bin/pub.bat install
Resolving dependencies...
Got socket error trying to find package "browser" at https://pub.dartlang.org.
OS Error: No connection could be made because the target machine actively refused it.
, errno = 10061


In my pubspec.yaml file, I do not have https though.


name: vector_victor
description: A sample web application
dependencies:
  browser: any
dev_dependencies:
  vector_math:
    path: http://pub.dartlang.org


@DartBot
Copy link

DartBot commented May 23, 2013

This comment was originally written by ri...@gmail.com


I added Java proxy configuration to the editor's INI (DartEditor.ini) file and it works:
-Dhttp.proxyHost=
-Dhttp.proxyPort=

@DartBot
Copy link

DartBot commented May 23, 2013

This comment was originally written by fcorvais...@gmail.com


I am not able to run the samples included in the dart editor package and I am behind a proxy (with no user/password to set)
just tried to change the config.ini with -Dproxy..., it still does not work.
any other idea ?

@DartBot
Copy link

DartBot commented May 23, 2013

This comment was originally written by vin.sandeep...@gmail.com


Same with me. Even setting https_proxy or http_proxy environment variables in my windows machine didn't solve the problem when my n/w is behind a proxy.

Any help appreciated.

@pq
Copy link
Member

pq commented May 28, 2013

Removed this from the M5 milestone.
Added this to the M6 milestone.

@keertip
Copy link
Contributor

keertip commented Jun 21, 2013

@bob,

Any thoughts on this?


cc @munificent.

@sethladd sethladd added Type-Enhancement P1 A high priority bug; for example, a single project is unusable or has many test failures labels Jun 21, 2013
@sethladd sethladd added this to the M8 milestone Jun 21, 2013
@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed type-enhancement labels Mar 1, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 A high priority bug; for example, a single project is unusable or has many test failures type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

7 participants