-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Compilation of helloworld gives error #11103
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
Comments
Assigning to Area-Editor even though the issue may certainly be somewhere else. Added Area-Editor, Triaged labels. |
Removed Priority-Unassigned label. |
@bob, looks like an error on pub install Set owner to @munificent. |
As the error indicate then error 11003 is unrecoverable. It seems to be caused by the DNS lookup of pub.dartlang.org when trying to establish the HTTPS connection for https://pub.dartlang.org. If this is the case terminating pub is the only option. robert.weiss could you try the following:
What result do you get? I get the following: Non-authoritative answer: If this returns a personable response could you try to add it to the hosts file (%WINDIR%\System32\drivers\etc\hosts)? Adding a line like this: 72.14.249.27 pub.dartlang.org Added NeedsInfo label. |
When connecting to a secure site using a proxy server there was two DNS lookups. One from Dart code and one from NSS C++ code. This is fixed in https://code.google.com/p/dart/source/detail?r=24174 where a HTTPS connection through a HTTP proxy only requires DNS lookup of the proxy server host. Added Fixed label. |
This comment was originally written by [email protected] I downloaded and unpacked a fresh version of the Dart editor/compiler/whatever from dartlang.org. nslookup pub.dartlang.org (under Windows 7 and cygwin) gives: Name: ghs-svc-https-c1043.ghs-ssl.googlehosted.com When I try to compile helloworld the same error occurs: Plus, my browser can find pub.dartlang.org I didn't add the line to hosts because I don't have privilege, the admin doesn't like Dart, and it didn't seem necessary. |
The fix is not yet in the downloadable Dart package from dartlang.org. |
Issue #11353 has been merged into this issue. |
Removed Area-IO label. |
This issue was originally filed by [email protected]
What steps will reproduce the problem?
void main() {
print("Hello, World!");
}
What is the expected output? What do you see instead?
Didn't know exactly what to expect. Saw a cryptic error message.
What version of the product are you using? On what operating system?
Dart Editor version 0.5.11_r23200
Dart SDK version 0.5.11.1_r23200
Windows 7 & cygwin
Please provide any additional information below.
At some point in digging I was lead to https://pub.dartlang.org/packages/browser, which recommended editing a pubspec.yaml file (didn't say where) and running pub install. I created a pubspec.yaml based on those in subdirectories of dart, then ran pub install from the editor. It told me an error occurred and I should run from the command line with the --trace option, which I did. The output is attached.
Attachment:
pub.out (5.75 KB)
The text was updated successfully, but these errors were encountered: