Skip to content

Js.dart dependency #775

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

Closed
DartBot opened this issue Jun 5, 2015 · 8 comments
Closed

Js.dart dependency #775

DartBot opened this issue Jun 5, 2015 · 8 comments
Labels
type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@DartBot
Copy link

DartBot commented Jun 5, 2015

Originally opened as dart-lang/sdk#15611

This issue was originally filed by [email protected]


--- 12-12-2013 11:38:57 AM Running pub get ... ---
Pub get failed, [1] Resolving dependencies......Error in PubHttpClient.send (issue dart-lang/sdk#12581) error: HandshakeException: Handshake error in client (OS Error: Peer's Certificate issuer is not recognized., errno = -8179)
    stacktrace: #­0 PubHttpClient.send (file:///e:/b/build/slave/dart-editor-win-stable/build/dart/sdk/lib/_internal/pub/lib/src/http.dart:60)

­1 BaseClient._sendUnstreamed.<anonymous closure> (package:http/src/base_client.dart:118)

­2 _Future._propagateToListeners.<anonymous closure> (dart:async/future_impl.dart:453)

­3 _rootRun (dart:async/zone.dart:683)

­4 _RootZone.run (dart:async/zone.dart:823)

­5 _Future._propagateToListeners (dart:async/future_impl.dart:445)

­6 _Future._complete (dart:async/future_impl.dart:303)

­7 _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:354)

­8 _asyncRunCallback (dart:async/schedule_microtask.dart:18)

­9 _createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:11)

­10 _Timer._createTimerHandler._handleTimeout (timer_impl.dart:151)

­11 _Timer._createTimerHandler.<anonymous closure> (timer_impl.dart:166)

­12 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:93)

.Error in PubHttpClient.send (issue dart-lang/sdk#12581) error: HandshakeException: Handshake error in client (OS Error: Peer's Certificate issuer is not recognized., errno = -8179)
    stacktrace: #­0 PubHttpClient.send (file:///e:/b/build/slave/dart-editor-win-stable/build/dart/sdk/lib/_internal/pub/lib/src/http.dart:60)

­1 BaseClient._sendUnstreamed.<anonymous closure> (package:http/src/base_client.dart:118)

­2 _Future._propagateToListeners.<anonymous closure> (dart:async/future_impl.dart:453)

­3 _rootRun (dart:async/zone.dart:683)

­4 _RootZone.run (dart:async/zone.dart:823)

­5 _Future._propagateToListeners (dart:async/future_impl.dart:445)

­6 _Future._complete (dart:async/future_impl.dart:303)

­7 _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:354)

­8 _asyncRunCallback (dart:async/schedule_microtask.dart:18)

­9 _createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:11)

­10 _Timer._createTimerHandler._handleTimeout (timer_impl.dart:151)

­11 _Timer._createTimerHandler.<anonymous closure> (timer_impl.dart:166)

­12 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:93)

...Error in PubHttpClient.send (issue dart-lang/sdk#12581) error: HandshakeException: Handshake error in client (OS Error: Peer's Certificate issuer is not recognized., errno = -8179)
    stacktrace: #­0 PubHttpClient.send (file:///e:/b/build/slave/dart-editor-win-stable/build/dart/sdk/lib/_internal/pub/lib/src/http.dart:60)

­1 BaseClient._sendUnstreamed.<anonymous closure> (package:http/src/base_client.dart:118)

­2 _Future._propagateToListeners.<anonymous closure> (dart:async/future_impl.dart:453)

­3 _rootRun (dart:async/zone.dart:683)

­4 _RootZone.run (dart:async/zone.dart:823)

­5 _Future._propagateToListeners (dart:async/future_impl.dart:445)

­6 _Future._complete (dart:async/future_impl.dart:303)

­7 _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:354)

­8 _asyncRunCallback (dart:async/schedule_microtask.dart:18)

­9 _createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:11)

­10 _Timer._createTimerHandler._handleTimeout (timer_impl.dart:151)

­11 _Timer._createTimerHandler.<anonymous closure> (timer_impl.dart:166)

­12 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:93)

Handshake error in client
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. **

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/8631949?v=3" align="left" width="48" height="48"hspace="10"> Comment by floitschG


Added Area-Pub, Triaged labels.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent


Hey Søren and Bill, any idea what's up with this?


cc @sgjesse.
cc @whesse.

@DartBot DartBot added type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) Fixed labels Jun 5, 2015
@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/1343914?v=3" align="left" width="48" height="48"hspace="10"> Comment by sgjesse


According to the NSS error code this means that the client (pub) does not have the required root certificate for connecting to the server (pub.dartlang.org? - there is not hostname visible in the stacktrace).

gonza.gutierrez: Did you try to run

 pub --trace 'get'

?

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3


Will this be fixed by the same CL as issue #751?

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent


Removed Priority-Unassigned label.
Added Priority-Medium label.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

This comment was originally written by [email protected]


I also have the same issue and have been struggling more than 2 weeks.
I want to know when will this issue be fixed?

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/4905639?v=3" align="left" width="48" height="48"hspace="10"> Comment by whesse


This was fixed with an update to pub, that is now in the dev channel, but not yet in the stable release. The problem was that the SSL certificate database could not be opened if it was on a path with non-ASCII characters. The problem was solved by removing the custom pub certificate database - it was no longer needed.

Please see if the problem persists if you download the editor from the dev channel links at https://www.dartlang.org/tools/editor/ (The text link, not the button, which is the stable channel.). Marking the problem as fixed, since this should resolve it. The fix will be in the next release of stable Dart, and is already in the dev channel.


Added Fixed label.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

This comment was originally written by [email protected]


Updated to Dart Editor version 1.3.0.dev_07_10 (DEV) Dart SDK version 1.3.0-dev.7.10 This is still an issue.

Resolving dependencies... (1.7s)
Downloading browser 0.10.0+2...
Handshake error in client (OS Error: Peer's Certificate issuer is not recognized., errno = -8179)
package:http/src/io_client.dart 40 IOClient.send.<fn>
dart:isolate _RawReceivePortImpl._handleMessage
===== asynchronous gap ===========================
dart:async _Future.then
package:http/src/io_client.dart 29 IOClient.send
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\http.dart 58 PubHttpClient.send
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\source\hosted.dart 90 HostedSource.get.<fn>
dart:async Future.Future.sync
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\utils.dart 89 syncFuture
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\source\hosted.dart 81 HostedSource.get
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\source.dart 176 Source.downloadToSystemCache.<fn>
dart:isolate _RawReceivePortImpl._handleMessage
===== asynchronous gap ===========================
dart:async _Future.then
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\source.dart 165 Source.downloadToSystemCache
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\system_cache.dart 95 SystemCache.download
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\entrypoint.dart 96 Entrypoint.get.<fn>
dart:async Future.Future.sync
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\utils.dart 89 syncFuture
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\entrypoint.dart 83 Entrypoint.get
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\entrypoint.dart 144 Entrypoint.acquireDependencies.<fn>.<fn>
dart:_internal ListIterable.toList
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\entrypoint.dart 145 Entrypoint.acquireDependencies.<fn>
dart:isolate _RawReceivePortImpl._handleMessage
===== asynchronous gap ===========================
dart:async _Future.then
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\entrypoint.dart 132 Entrypoint.acquireDependencies
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\command\get.dart 25 onRun
dart:async Future.Future.sync
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\utils.dart 89 syncFuture
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\command.dart 171 PubCommand.run
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\bin\pub.dart 198 invokeCommand.<fn>
dart:async Future.Future.sync
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\utils.dart 89 syncFuture
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\bin\pub.dart 197 invokeCommand
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\bin\pub.dart 87 runPub.<fn>
dart:async Future.Future.sync
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\utils.dart 101 captureErrors.<fn>
package:stack_trace/src/chain.dart 93 Chain.capture
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\utils.dart 115 captureErrors
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\bin\pub.dart 87 runPub
e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\bin\pub.dart 74 main.<fn>
dart:isolate _RawReceivePortImpl._handleMessage

---- Log transcript ----
FINE: Pub 1.3.0-dev.7.10
IO : Spawning "cmd /c ver" in C:\Users\robertl\Desktop\one-hour-codelab-master.
IO : Finished ver. Exit code 0.
    | stdout:
    | |
    | | Microsoft Windows [Version 6.1.7601]
    | Nothing output on stderr.
SLVR: Solving dependencies:
    | - browser any from hosted (browser)
IO : Get versions from https://pub.dartlang.org/api/packages/browser.
FINE: HTTP GET https://pub.dartlang.org/api/packages/browser
    | Accept: application/vnd.pub.v2+json
    | user-agent: Dart pub 1.3.0-dev.7.10
FINE: HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/browser
    | took 0:00:01.509000
    | content-type: application/json
    | cache-control: private
    | transfer-encoding: chunked
    | date: Thu, 03 Apr 2014 16:37:59 GMT
    | vary: Accept-Encoding
    | server: Google Frontend
SLVR: * select browser 0.10.0+2 from hosted
IO : Describe package at https://pub.dartlang.org/api/packages/browser/versions/0.10.0%2B2.
FINE: HTTP GET https://pub.dartlang.org/api/packages/browser/versions/0.10.0%2B2
    | Accept: application/vnd.pub.v2+json
    | user-agent: Dart pub 1.3.0-dev.7.10
FINE: HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/browser/versions/0.10.0%2B2
    | took 0:00:00.109000
    | content-type: application/json
    | cache-control: private
    | transfer-encoding: chunked
    | date: Thu, 03 Apr 2014 16:37:59 GMT
    | vary: Accept-Encoding
    | server: Google Frontend
SLVR: BacktrackingSolver took 0:00:01.772000 seconds.
    | - Requested 1 version lists
    | - Looked up 1 cached version lists
    | - Requested 1 pubspecs
    | - Looked up 1 cached pubspecs
MSG : Resolving dependencies... (1.7s)
IO : Deleting directory C:\Users\robertl\Desktop\one-hour-codelab-master\packages.
IO : Get package from https://pub.dartlang.org/packages/browser/versions/0.10.0%2B2.tar.gz.
MSG : Downloading browser 0.10.0+2...
IO : Created temp directory C:\Users\robertl\AppData\Roaming\Pub\Cache_temp\dir4e654c2b-bb4e-11e3-bf1a-ac162d0afe2d
FINE: HTTP GET https://pub.dartlang.org/packages/browser/versions/0.10.0%2B2.tar.gz
    | user-agent: Dart pub 1.3.0-dev.7.10
FINE: Clean up system cache temp directory C:\Users\robertl\AppData\Roaming\Pub\Cache_temp.
IO : Deleting directory C:\Users\robertl\AppData\Roaming\Pub\Cache_temp.
ERR : Handshake error in client (OS Error: Peer's Certificate issuer is not recognized., errno = -8179)
FINE: Exception type: HandshakeException
ERR : package:http/src/io_client.dart 40 IOClient.send.<fn>
    | dart:isolate _RawReceivePortImpl._handleMessage
    | ===== asynchronous gap ===========================
    | dart:async _Future.then
    | package:http/src/io_client.dart 29 IOClient.send
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\http.dart 58 PubHttpClient.send
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\source\hosted.dart 90 HostedSource.get.<fn>
    | dart:async Future.Future.sync
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\utils.dart 89 syncFuture
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\source\hosted.dart 81 HostedSource.get
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\source.dart 176 Source.downloadToSystemCache.<fn>
    | dart:isolate _RawReceivePortImpl._handleMessage
    | ===== asynchronous gap ===========================
    | dart:async _Future.then
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\source.dart 165 Source.downloadToSystemCache
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\system_cache.dart 95 SystemCache.download
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\entrypoint.dart 96 Entrypoint.get.<fn>
    | dart:async Future.Future.sync
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\utils.dart 89 syncFuture
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\entrypoint.dart 83 Entrypoint.get
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\entrypoint.dart 144 Entrypoint.acquireDependencies.<fn>.<fn

    | dart:_internal ListIterable.toList
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\entrypoint.dart 145 Entrypoint.acquireDependencies.<fn>
    | dart:isolate _RawReceivePortImpl._handleMessage
    | ===== asynchronous gap ===========================
    | dart:async _Future.then
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\entrypoint.dart 132 Entrypoint.acquireDependencies
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\command\get.dart 25 onRun
    | dart:async Future.Future.sync
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\utils.dart 89 syncFuture
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\command.dart 171 PubCommand.run
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\bin\pub.dart 198 invokeCommand.<fn>
    | dart:async Future.Future.sync
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\utils.dart 89 syncFuture
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\bin\pub.dart 197 invokeCommand
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\bin\pub.dart 87 runPub.<fn>
    | dart:async Future.Future.sync
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\utils.dart 101 captureErrors.<fn>
    | package:stack_trace/src/chain.dart 93 Chain.capture
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\lib\src\utils.dart 115 captureErrors
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\bin\pub.dart 87 runPub
    | e:\b\build\slave\dart-editor-win-dev\build\dart\sdk\lib_internal\pub\bin\pub.dart 74 main.<fn>
    | dart:isolate _RawReceivePortImpl._handleMessage

---- End log transcript ----

Resolving dependencies... (2.6s)
Downloading browser 0.10.0+2...
Handshake error in client (OS Error: Peer's Certificate issuer is not recognized., errno = -8179)
This is an unexpected error. Please run

    pub --trace 'get'

and include the results in a bug report on http://dartbug.com/new.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

1 participant