Good point and it makes sense in term of security. But I just tried it, and it didn't help.
I captured these two from the Paste log (not apache log):
xx.xx.1xx.xx - - [30/Oct/2012:15:42:17 +1100] "GET /galaxy_dev/datasets/10b866a1b258d1f1/display?to_ext=fastqsanger HTTP/1.1" 302 - "-" "Wget/1.12 (linux-gnu)" galaxy.web.framework DEBUG 2012-10-30 15:42:17,676 Error: this request returned None from get_history(): http://pwbc.garvan.unsw.edu.au/galaxy_dev/root xx.xx.1xx.xx - - [30/Oct/2012:15:42:17 +1100] "GET /galaxy_dev/root?dataset_id=10b866a1b258d1f1&filename=None HTTP/1.1" 200 - "-" "Wget/1.12 (linux-gnu)"
Another observation is, I can wget my own dataset from the main Galaxy straight away without providing any credential.
Maybe something wrong with my universe ini file.
On Tue, Oct 30, 2012 at 3:32 PM, Ross firstname.lastname@example.org wrote:
That url requires a login from here - have you tried supplying it - eg curl -i -u user:password <target>
On Tue, Oct 30, 2012 at 3:27 PM, Derrick Lin email@example.com wrote:
If I downloaded with curl -i, the page it returned was:
pwbcad@gamma01:tmp$ curl -i
HTTP/1.1 302 Found Date: Tue, 30 Oct 2012 04:25:21 GMT Server: PasteWSGIServer/0.5 Python/2.6.6 content-type: text/html location: /root?dataset_id=dc097fa4e7ad53f6&filename=None Set-Cookie:
expires=Mon, 28-Jan-2013 15:25:21 GMT; httponly; Max-Age=7776000; Path=/; Version=1 Vary: Accept-Encoding Transfer-Encoding: chunked
<html> <head><title>Found</title></head> <body> <h1>Found</h1> <p>The resource was found at <a
you should be redirected automatically.
<hr noshade> <div align="right">WSGI Server</div>
Don't know why the apache returned 302 only when access via wget or curl.
On Sat, Oct 27, 2012 at 7:44 AM, Derrick Lin firstname.lastname@example.org wrote:
I checked and what downloaded is a webpage, I opened it on browser, and screenshot attached.
Basically it displays error saying File not found. But dataset download works fine via browser.
On Fri, Oct 26, 2012 at 11:44 PM, Nate Coraor email@example.com wrote:
On Oct 24, 2012, at 11:15 PM, Derrick Lin wrote:
On our Galaxy is proxy-ed via Apache according to the wiki guide, the normal download dataset via browser is working fine.
However, when I tried download from command line via wget or curl -O
copied the dataset URL by right clicking the floppy disk icon).
And here is the wget output:
Resolving galaxy.demo.edu.au... 1xx.x4.1xx.xx5 Connecting to galaxy.demo.edu.au|1xx.x4.1xx.xx5|:80... connected. HTTP request sent, awaiting response... 302 Found Location: /galaxy/root?dataset_id=ccc5aff28d2c8616&filename=None [following] --2012-10-25 10:57:42--
Connecting to galaxy.demo.edu.au|188.8.131.52|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: "root?dataset_id=ccc5aff28d2c8616&filename=None.1"
] 28,476 --.-K/s in 0.001s
2012-10-25 10:57:42 (31.4 MB/s) - "root?dataset_id=ccc5aff28d2c8616&filename=None.1" saved 
It seems like the Apache returned another URL (returned 302, probably due to proxy) and the new URL is broken.
What are the contents of the file that wget saved? This should give
a clue as to what's going on.
Thanks in advance.
Cheers, Derrick ___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at:
Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at:
-- Ross Lazarus MBBS MPH; Head, Medical Bioinformatics, BakerIDI; Tel: +61 385321444 http://scholar.google.com/citations?hl=en&user=UCUuEM4AAAAJ