Comments (3)
Hmmm.... manchmal geht es:
...
checking cache for 'http://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe'
download 'http://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe'
redirecting to https://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe
download 'https://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe'
redirecting to http://cloud.github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe
download 'http://cloud.github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe'
caching as '7baee9aecdfe07111b14012864c1f1af'
extracting 'C:/Users/tkn/AppData/Local/Temp/d20140306-9732-svoad2/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe' to 'D:/Repos/_github/bills-kitchen/target/build/tools/devkit'
...
... und manchmal nicht:
...
checking cache for 'http://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe'
download 'http://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe'
redirecting to /downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe
download '/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe'
rake aborted!
No connection could be made because the target machine actively refused it. - connect(2)
D:/Repos/_github/bills-kitchen/Rakefile:242:in `download_no_cache'
D:/Repos/_github/bills-kitchen/Rakefile:248:in `block (2 levels) in download_no_cache'
D:/Repos/_github/bills-kitchen/Rakefile:243:in `block in download_no_cache'
D:/Repos/_github/bills-kitchen/Rakefile:242:in `download_no_cache'
D:/Repos/_github/bills-kitchen/Rakefile:217:in `download'
D:/Repos/_github/bills-kitchen/Rakefile:204:in `block in download_and_unpack'
D:/Repos/_github/bills-kitchen/Rakefile:202:in `download_and_unpack'
D:/Repos/_github/bills-kitchen/Rakefile:126:in `block in download_tools'
D:/Repos/_github/bills-kitchen/Rakefile:114:in `each'
D:/Repos/_github/bills-kitchen/Rakefile:114:in `download_tools'
D:/Repos/_github/bills-kitchen/Rakefile:22:in `block in <top (required)>'
Tasks: TOP => build
(See full trace by running task with --trace)
So wie es aussieht bekommen wir einen HTTP 302 Redirect mit relativem Pfad, damit können wir nicht umgehen.
Interessant ist dass laut HTTP 1.1 Spec nur absolute URIs erlaubt sind ;-P
http://tools.ietf.org/html/rfc1945#page-44
https://webmasters.stackexchange.com/questions/31274/what-are-the-consequences-for-using-relative-location-headers
Könnte man per Heuristik fixen (wenn relative URL, dann muss es https sein?), oder einfach nochmal probieren. Hmpf.
from bills-kitchen.
Sollte mit #43 behoben sein, zumindest ist der Fehler beim Download des neueren DevKit nicht mehr aufgetreten...
from bills-kitchen.
Oder man kann https URLs angeben. Das wäre flexibler und hilfreich.
2014-03-06 23:38 GMT+01:00 tknerr [email protected]:
Hmmm.... manchmal geht es:
...
checking cache for 'http://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe'
download 'http://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe'
redirecting to https://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe
download 'https://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe'
redirecting to http://cloud.github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe
download 'http://cloud.github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe'
caching as '7baee9aecdfe07111b14012864c1f1af'
extracting 'C:/Users/tkn/AppData/Local/Temp/d20140306-9732-svoad2/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe' to 'D:/Repos/_github/bills-kitchen/target/build/tools/devkit'
...... und manchmal nicht:
...
checking cache for 'http://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe'
download 'http://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe'
redirecting to /downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe
download '/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe'
rake aborted!
No connection could be made because the target machine actively refused it. - connect(2)
D:/Repos/_github/bills-kitchen/Rakefile:242:indownload_no_cache' D:/Repos/_github/bills-kitchen/Rakefile:248:in
block (2 levels) in download_no_cache'
D:/Repos/_github/bills-kitchen/Rakefile:243:inblock in download_no_cache' D:/Repos/_github/bills-kitchen/Rakefile:242:in
download_no_cache'
D:/Repos/_github/bills-kitchen/Rakefile:217:indownload' D:/Repos/_github/bills-kitchen/Rakefile:204:in
block in download_and_unpack'
D:/Repos/_github/bills-kitchen/Rakefile:202:indownload_and_unpack' D:/Repos/_github/bills-kitchen/Rakefile:126:in
block in download_tools'
D:/Repos/_github/bills-kitchen/Rakefile:114:ineach' D:/Repos/_github/bills-kitchen/Rakefile:114:in
download_tools'
D:/Repos/_github/bills-kitchen/Rakefile:22:in `block in <top (required)>'
Tasks: TOP => build
(See full trace by running task with --trace)So wie es aussieht bekommen wir einen HTTP 302 Redirect mit relativem
Pfad, damit können wir nicht umgehen.Interessant ist dass laut HTTP 1.1 Spec nur absolute URIs erlaubt sind ;-P
http://tools.ietf.org/html/rfc1945#page-44Könnte man per Heuristik fixen (wenn relative URL, dann muss es https
sein?), oder einfach nochmal probieren. Hmpf.Reply to this email directly or view it on GitHubhttps://github.com//issues/42#issuecomment-36946610
.
from bills-kitchen.
Related Issues (20)
- ToDo for 3.0
- predefined git user variables in 3.0-rc HOT 2
- b2d-start with errors in 3.0-rc3 HOT 8
- Monkey Patch Vagrant Fixes HOT 1
- Failed to activate the atom-beautify package (in 3.0-rc4 and 3.0-rc5) HOT 2
- Vagrant Docker not using remote docker host patch when starting a new tab
- Verify VirtualBox 5 Compatibility HOT 3
- .exe files missing in project HOT 2
- Add GraphViz
- is rake build stalling? Win7 + Windows Powershell HOT 6
- Vagrant-Workflow-tests fail on release 2.3 on win7 HOT 4
- unable to complete build from source in cmd.exe win 7 HOT 12
- Enable SSH Connection Sharing HOT 2
- Add set-env type script for use with git bash that comes with conEmu label:enhancement HOT 11
- cygpath is not found HOT 1
- Problem rsyncing with the latest release candidate HOT 27
- Cache baseboxes for acceptance tests
- Add boot2docker with docker CLI HOT 1
- `bundle` command not usable in `git-bash`ed Shell
- conemu.exe missing? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bills-kitchen.