Mailinglist Archive: opensuse-buildservice (145 mails)

< Previous Next >
Re: [opensuse-buildservice] obs-service-download_files doesn't download files
Am Donnerstag, 17. Oktober 2013, 17:00:09 schrieb Kyrill Detinov:

Hello.

Two of my SRs are declined by factory-auto:
https://build.opensuse.org/request/show/203318
https://build.opensuse.org/request/show/203319

The errors are: Failed to download. … Source URLs are not valid. Try "osc
service localrun download_files"

Well, running 'osc service localrun download_files' I see:

% osc service localrun download_files
HTTP/1.1 404 Not Found
Date: Thu, 17 Oct 2013 12:51:50 GMT
Server: Apache
X-Powered-By: PHP/5.3.18
X-Pingback: http://www.indii.org/wordpress/xmlrpc.php
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Content-Encoding: gzip
Vary: Accept-Encoding
Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT
Connection: close
Content-Type: text/html; charset=UTF-8
ERROR: Failed to download
"http://www.indii.org/files/tint/releases/tintii-2.8.0.tar.gz";
Aborting: service call failed: /usr/lib/obs/service/download_files --outdir
/tmp/tmpXGx5CM

It works running manually:

% wget http://www.indii.org/files/tint/releases/tintii-2.8.0.tar.gz
asking libproxy about url
'http://www.indii.org/files/tint/releases/tintii-2.8.0.tar.gz'
libproxy suggest to use 'direct://'
--2013-10-17 16:55:16--
http://www.indii.org/files/tint/releases/tintii-2.8.0.tar.gz
Распознаётся www.indii.org... 83.223.119.251
Устанавливается соединение с www.indii.org|83.223.119.251|:80... соединение
установлено.
Запрос HTTP послан, ожидается ответ...
HTTP/1.1 200 OK
Date: Thu, 17 Oct 2013 12:54:50 GMT
Server: Apache
Last-Modified: Sat, 05 Oct 2013 08:05:48 GMT
ETag: "165003c-6460c-4e7f9e2fdcf00"
Accept-Ranges: bytes
Content-Length: 411148
Keep-Alive: timeout=2, max=100
Connection: Keep-Alive
Content-Type: application/x-gzip
Длина: 411148 (402K) [application/x-gzip]
Saving to: «tintii-2.8.0.tar.gz»

100%[====================================================================>]
411 148 473K/s в 0,8s

2013-10-17 16:55:17 (473 KB/s) - «tintii-2.8.0.tar.gz» saved [411148/411148]

What is the problem?

it looks like they are blocking us ... when I change the user agent name it
works.

maybe a reason to drop it ? ;)

--

Adrian Schroeter
email: adrian@xxxxxxx

SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284
(AG Nürnberg)
Maxfeldstraße 5
90409 Nürnberg
Germany



--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References