-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Running Pub get or upgrade in Dart Editor on Win 2008 32 bit give Handshake error in client #17664
Comments
Bill, Could you run pub --trace 'get' from the terminal and paste the trace. Set owner to @munificent. |
Hi Bill, Can you supply some more information:
Thanks!,
|
This comment was originally written by BillFender...@gmail.com See attachment for response to
Attachment: |
Oh, can I get you to navigate to the package you are trying to fetch packages for? ia32_devchannel\dart\dart-sdk\bin It should be the same folder as where the pubspec.yaml is located Thanks! |
This comment was originally written by BillFender...@gmail.com ajohnsen |
I'm sorry, I was not very precise. To run 'pub upgrade' successfully, you need to be located in the directory where the pubspec.yaml file is located. Try:
That should be sufficient for us to better understand what's going on. Thanks! |
This comment was originally written by rscottfree...@gmail.com It doesn't look like Bill ever responded--but I'm having the same issue here--trying to go through the tutorial. I ran "pub --trace --verbosity all upgrade" and attached the output. I don't have any issue accessing https://pub.dartlang.org/api/packages/args or https://pub.dartlang.org/api/packages/browser (referenced in the output) in my browser--no cert errors, invalid certs, etc. The pubspec.yaml is just this: Attachment: |
This comment was originally written by rscot...@gmail.com This might be an issue with the network at my company somehow blocking this request. I tried it on my linux and windows machine and got the same error on both, but at home I am able to run it without issue. Would a firewall or proxy be causing the Dart Editor to fail to fetch these pub packages? Even though I can access these URLs in the browser/curl without issue? |
Firewall rules can be per program, meaning e.g DartEditor/pub can be black-listed while your browser is white-listed. I'm not 100% sure that is the case here, but it's possible. I'll see if I can come up with a test you can run, to check if your access indeed is blocked. |
Removed Area-IO label. |
This comment was originally written by justin.mcfar...@gmail.com Im having this issue as well. I've fought through my company's blocking of my access to updates by adding the environment variables and darteditor.ini additions as seen in other threads. Not to side-track too much but is there a way to download all of the standard packages that I'll need and stick them on my local machine and then have pub point to that directory? I'd hate to not get fresh libraries/packages but I'd also like to be able to compile Dart apps on my company's network. Thanks, google! |
Could you please try to run the following program: import 'dart:io'; printCertificate(cert) { main() { If you are behind a proxy remember to set the http_proxy environment variable as well, e.g (replacing localhost:8080 with your proxy). On Windows
On Mac OS / Linux $ http_proxy=localhost:8080 dart test.dart Also see issue #18929. |
This comment was originally written by justin.mcfa...@gmail.com Thanks for the quick response. Here is the output with the name X'ed out. Bad certificate connecting to pub.dartlang.org:443: |
This comment was originally written by justin.mcfa...@gmail.com Looking at issue #18929:
Are these options available currently or do they need to be created? Thanks! |
This issue was originally filed by BillFenderstru...@gmail.com
What steps will reproduce the problem?
1.Open Dart Editor and create a polymer wbe project
2. Select pubspec.yaml
3. Right click to select the pub get or pub upgrade in context menu
What is the expected output? What do you see instead?
Expect to see pub get importing dart package / libraries. But instead I get
--- 3:48:43 PM Running pub get ... ---
Pub get failed, [1] Resolving dependencies...
Handshake error in client (OS Error: Peer's certificate issuer has been marked as not trusted by the user., errno = -8172)
This is an unexpected error. Please run
pub --trace 'get'
and include the results in a bug report on http://dartbug.com/new.
** Warning: Application may fail to run since packages did not get installed.Try running pub get again. **
What version of the product are you using? On what operating system?
Dart Editor ver 1.3.0.dev_04.4.1
OS: Windows 2008 Server 32 bit
Please provide any additional information below.
The text was updated successfully, but these errors were encountered: