Re: Issue 21316 in dart: Pub get failed

104 views
Skip to first unread message

da...@googlecode.com

unread,
Oct 13, 2014, 1:48:15 PM10/13/14
to bu...@dartlang.org
Updates:
Summary: Pub get failed
Status: NeedsInfo
Labels: -Pub-HostRequest

Comment #1 on issue 21316 by nw...@google.com: Pub get failed
https://code.google.com/p/dart/issues/detail?id=21316

This is likely because you have a proxy installed that is interfering with
your requests, but without more information it's impossible to know. Please
include your pubspec, the actual command you ran, and (as the error message
suggests) the results of running "pub --trace get".

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

da...@googlecode.com

unread,
Oct 14, 2014, 6:53:24 AM10/14/14
to bu...@dartlang.org

Comment #2 on issue 21316 by MohamadS...@gmail.com: Pub get failed
https://code.google.com/p/dart/issues/detail?id=21316


--- 2:16:50 PM Running pub get on C:\Users\msaffari\dart\sunflower ... ---
Pub get failed, [69] Resolving dependencies...
HTTP error 403: Forbidden
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib\_internal\pub\lib\src\http.dart
107
_PubHttpClient.send.<fn>.<fn>
dart:isolate
_RawReceivePortImpl._handleMessage
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. **

/*****************************pubspec.yaml***********************************/

name: sunflower
description: "drfibonacci's Sunflower Spectacular"
dependencies:
browser: ">=0.9.0 <0.10.0"
environment:
sdk: ">=0.8.10+6 <2.0.0"

da...@googlecode.com

unread,
Oct 14, 2014, 3:17:41 PM10/14/14
to bu...@dartlang.org

Comment #3 on issue 21316 by nw...@google.com: Pub get failed
https://code.google.com/p/dart/issues/detail?id=21316

This still doesn't include the command you're running or the results of
running "pub --trace get".

da...@googlecode.com

unread,
Nov 6, 2014, 6:48:39 AM11/6/14
to bu...@dartlang.org

Comment #4 on issue 21316 by miroslav...@gmail.com: Pub get failed
https://code.google.com/p/dart/issues/detail?id=21316

We've got similar issue since yesterday on Shippable servers,

```
pub --trace get
Resolving dependencies...
HTTP error 403: Forbidden
...
```

Full log is at: https://gist.github.com/miroslavraska/eae85c419a598bccf0d4

The Shippable is not using any proxies so the problem must be elsewhere.

See also the bug report at Shippable:
https://github.com/Shippable/support/issues/743#issuecomment-61967173

da...@googlecode.com

unread,
Nov 6, 2014, 3:57:32 PM11/6/14
to bu...@dartlang.org
Updates:
Status: Triaged

Comment #5 on issue 21316 by nw...@google.com: Pub get failed
https://code.google.com/p/dart/issues/detail?id=21316

If you try to access
https://pub.dartlang.org/api/packages/grinder/versions/0.6.1 manually, does
it work? I don't see any 403s in the pub.dartlang.org logs, so it does seem
like the error is somewhere in your network configuration. Are you sure you
don't have any firewalls or anything?

da...@googlecode.com

unread,
Nov 7, 2014, 5:18:17 AM11/7/14
to bu...@dartlang.org

Comment #6 on issue 21316 by miroslav...@gmail.com: Pub get failed
https://code.google.com/p/dart/issues/detail?id=21316

Shippable is a cloud CI service and I'm not a developer nor maintainer
there, so I don't know much about their configuration. I asked about
proxies and I was told they don't use any. Pub get was working there last
time on November 5th, since then I'm getting 403s.

Other Shippable user reported that he's not able to to download Android SDK
from
http://dl.google.com/android/android-sdk_r23.0.2-linux.tgz

So is it be possible that Google is now for some reason blocking requests
from Shippable servers in the way that the requests do not even reach
pub.dartlang.org server? Because I'm seeing "Google Frontent" server
identifier in the pub get log.

FINE: HTTP response 403 Forbidden for GET
https://pub.dartlang.org/api/packages/grinder/versions/0.6.1
| took 0:00:00.251758
| content-type: text/html
| date: Wed, 05 Nov 2014 22:35:01 GMT
| content-length: 2079
| server: Google Frontend

da...@googlecode.com

unread,
Nov 7, 2014, 5:21:39 AM11/7/14
to bu...@dartlang.org

Comment #7 on issue 21316 by miroslav...@gmail.com: Pub get failed
https://code.google.com/p/dart/issues/detail?id=21316

Btw. manual wget is working on my machine, on Shippable server is fails:

wget
https://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-linux-x64-release.zip
--2014-11-07 10:20:23--
https://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-linux-x64-release.zip
Resolving storage.googleapis.com (storage.googleapis.com)...
173.194.121.11, 173.194.121.12, 173.194.121.10, ...
Connecting to storage.googleapis.com (storage.googleapis.com)|
173.194.121.11|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2014-11-07 10:20:23 ERROR 403: Forbidden.

da...@googlecode.com

unread,
Nov 7, 2014, 5:25:31 AM11/7/14
to bu...@dartlang.org

Comment #8 on issue 21316 by miroslav...@gmail.com: Pub get failed
https://code.google.com/p/dart/issues/detail?id=21316

Well now that I've posted the log I realized that today not even the
DartSDK download is working, which was OK yesterday. The same result is for
the original Pub package:

https://pub.dartlang.org/api/packages/grinder/versions/0.6.1
--2014-11-07 10:24:50--
https://pub.dartlang.org/api/packages/grinder/versions/0.6.1
Resolving pub.dartlang.org (pub.dartlang.org)... 72.14.249.27
Connecting to pub.dartlang.org (pub.dartlang.org)|72.14.249.27|:443...
connected.
HTTP request sent, awaiting response... 403 Forbidden
2014-11-07 10:24:50 ERROR 403: Forbidden.

da...@googlecode.com

unread,
Nov 10, 2014, 4:29:24 PM11/10/14
to bu...@dartlang.org
Updates:
Status: WontFix

Comment #9 on issue 21316 by nw...@google.com: Pub get failed
https://code.google.com/p/dart/issues/detail?id=21316

This strongly suggests the issue is with Google servers in general—either
due to network configuration on Shippable's end or on Google's end—and not
with Dart in particular.
Reply all
Reply to author
Forward
0 new messages