Skip to content

Pub upgrade failing often -- 1.9.3 #23214

Closed
@DartBot

Description

@DartBot

This issue was originally filed by scpectra.d...@gmail.com


What steps will reproduce the problem?

  1. Any pub upgrade on an existing project

Pub upgrade failed, [69] Resolving dependencies...
Got socket error trying to find package XXXXX at https://pub.dartlang.org.

The actual package in the error varies. The pub upgrade fails almost all the time, but not always. Having local path dependencies seems to make the chances of failure higher, and commenting them out temporarily can sometimes buy a successful upgrade (but only sometimes).

My projects have all "any" (plus some local) dependencies and were resolving before upgrading to 1.9.3 without any problems.

What version of the product are you using?
1.9.3 Dart Editor

On what operating system?
Win x64

Activity

floitschG

floitschG commented on Apr 30, 2015

@floitschG
Contributor

Added Area-Pub, Triaged labels.

nex3

nex3 commented on May 4, 2015

@nex3
Member

Can you include the output of running with "--verbose"?

This looks like a network error of some sort. If you're still seeing it, that suggests it's something to do with your local network rather than pub.dartlang.org itself. Do you have any unusual network configuration like proxies or firewalls?


Added NeedsInfo label.

DartBot

DartBot commented on May 5, 2015

@DartBot
Author

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


It cleared up after a couple of days, gradually. It'd be good if pub could give some kind of feedback in these situations to help understand what the issue is. Nothing unusual about the network configuration that I'm aware of.

nex3

nex3 commented on May 5, 2015

@nex3
Member

Unfortunately there's not much more pub can tell you about the failure than it already is. All it sees is the socket error... it has no insight into what the underlying cause is, so presenting the raw information is the best it can do.


Added CannotReproduce label.

DartBot

DartBot commented on Jun 4, 2015

@DartBot
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    closed-cannot-reproduceClosed as we were unable to reproduce the reported issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @nex3@kevmoo@floitschG@DartBot

        Issue actions

          Pub upgrade failing often -- 1.9.3 · Issue #23214 · dart-lang/sdk