Skip to content

Error in pub get: error: SocketException: OS Error: Connection refused, #15292

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 Nov 25, 2013 · 3 comments
Closed
Labels
closed-cannot-reproduce Closed as we were unable to reproduce the reported issue

Comments

@DartBot
Copy link

DartBot commented Nov 25, 2013

This issue was originally filed by [email protected]


What steps will reproduce the problem?

  1. Open Dart Editor.
  2. Load any example project. For instance, sunflower.
  3. The error will appear in the Output window.

What version of the product are you using? On what operating system?

Dart Editor version 1.0.0_r30188 (STABLE)
Dart SDK version 1.0.0.3_r30188

On Fedora 19.

Please provide any additional information below:

--- Nov 25, 2013 8:45:28 PM Running pub get ... ---
Pub get failed, [69] Resolving dependencies...........
Downloading browser 0.9.0 from hosted...
Error in PubHttpClient.send (issue #12581) error: SocketException: OS Error: Connection refused, errno = 111, address = commondatastorage.googleapis.com, port = 48436
    stacktrace: #­0 PubHttpClient.send (file:///mnt/data/b/build/slave/dart-editor-linux-stable/build/dart/sdk/lib/_internal/pub/lib/src/http.dart:60)

­1 HostedSource.get.<anonymous closure> (file:///mnt/data/b/build/slave/dart-editor-linux-stable/build/dart/sdk/lib/_internal/pub/lib/src/source/hosted.dart:93)

­2 Future.Future.sync (dart:async/future.dart:153)

­3 HostedSource.get (file:///mnt/data/b/build/slave/dart-editor-linux-stable/build/dart/sdk/lib/_internal/pub/lib/src/source/hosted.dart:84)

­4 Source.downloadToSystemCache.<anonymous closure> (file:///mnt/data/b/build/slave/dart-editor-linux-stable/build/dart/sdk/lib/_internal/pub/lib/src/source.dart:163)

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

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

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

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

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

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

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

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

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

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

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

** Warning: Application may fail to run since packages did not get installed.Try running pub get again. **

With traces activated:

[daniel@localhost sunflower]$ ~/Downloads/dart/dart-sdk/bin/pub --trace get
Resolving dependencies............
Downloading browser 0.9.0 from hosted...
Error in PubHttpClient.send (issue #12581) error: SocketException: OS Error: Connection refused, errno = 111, address = commondatastorage.googleapis.com, port = 43114
    stacktrace: #­0 PubHttpClient.send (file:///mnt/data/b/build/slave/dart-editor-linux-stable/build/dart/sdk/lib/_internal/pub/lib/src/http.dart:60)

­1 HostedSource.get.<anonymous closure> (file:///mnt/data/b/build/slave/dart-editor-linux-stable/build/dart/sdk/lib/_internal/pub/lib/src/source/hosted.dart:93)

­2 Future.Future.sync (dart:async/future.dart:153)

­3 HostedSource.get (file:///mnt/data/b/build/slave/dart-editor-linux-stable/build/dart/sdk/lib/_internal/pub/lib/src/source/hosted.dart:84)

­4 Source.downloadToSystemCache.<anonymous closure> (file:///mnt/data/b/build/slave/dart-editor-linux-stable/build/dart/sdk/lib/_internal/pub/lib/src/source.dart:163)

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

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

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

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

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

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

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

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

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

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

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

---- Log transcript ----
FINE: Pub 1.0.0+3.r30188
SLVR: Solving dependencies:
    | - browser >=0.9.0 <0.10.0 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
FINE: HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/browser
    | took 0:00:03.910104
    | content-type: application/json
    | vary: Accept-Encoding
    | date: Mon, 25 Nov 2013 11:47:14 GMT
    | server: Google Frontend
    | cache-control: private
    | transfer-encoding: chunked
SLVR: * select browser 0.9.0 from hosted (1 versions)
IO : Describe package at https://pub.dartlang.org/api/packages/browser/versions/0.9.0.
FINE: HTTP GET https://pub.dartlang.org/api/packages/browser/versions/0.9.0
    | Accept: application/vnd.pub.v2+json
FINE: HTTP response 200 OK for GET https://pub.dartlang.org/api/packages/browser/versions/0.9.0
    | took 0:00:00.222842
    | content-type: application/json
    | vary: Accept-Encoding
    | date: Mon, 25 Nov 2013 11:47:15 GMT
    | server: Google Frontend
    | cache-control: private
    | transfer-encoding: chunked
SLVR: BacktrackingSolver took 0:00:04.961947 seconds.
    | - Requested 1 version lists
    | - Looked up 1 cached version lists
    | - Requested 1 pubspecs
    | - Looked up 1 cached pubspecs
    |
MSG : Resolving dependencies............
IO : Deleting directory /home/daniel/dart/sunflower/packages.
FINE: Ensuring directory /home/daniel/dart/sunflower/packages exists.
FINE: Ensuring directory /home/daniel/.pub-cache/hosted/pub.dartlang.org exists.
IO : Get package from https://pub.dartlang.org/packages/browser/versions/0.9.0.tar.gz.
MSG : Downloading browser 0.9.0 from hosted...
FINE: Ensuring directory /home/daniel/.pub-cache/_temp exists.
FINE: Ensuring directory /home/daniel/.pub-cache exists.
IO : Created temp directory /home/daniel/.pub-cache/_temp/dirZ3IRc8
FINE: HTTP GET https://pub.dartlang.org/packages/browser/versions/0.9.0.tar.gz
FINE: Clean up system cache temp directory /home/daniel/.pub-cache/_temp.
IO : Deleting directory /home/daniel/.pub-cache/_temp.
ERR :

---- End log transcript ----
[daniel@localhost sunflower]$

@iposva-google
Copy link
Contributor

Added Area-Pub, Triaged labels.

@munificent
Copy link
Member

This sounds like an intermittent error in cloud store. I'm going to close this, but please let us know if it keeps happening.


Added CannotReproduce label.

@DartBot DartBot added Type-Defect closed-cannot-reproduce Closed as we were unable to reproduce the reported issue labels Nov 25, 2013
@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

This issue has been moved to dart-lang/pub#745.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-cannot-reproduce Closed as we were unable to reproduce the reported issue
Projects
None yet
Development

No branches or pull requests

4 participants