Howdy y'all,
Having a bit of trouble with async data sources. I've got things working just fine with sync data sources, but async isn't behaving quite as expected, specifically it's ignoring the passed URL parameter.
I'm working on putting together concrete examples for those trying to implement these features in their databases here:, since the page describing them doesn't have proper examples.
Here's the log: - - [30/Dec/2014 12:07:02] "GET /?GALAXY_URL=http%3A//localhost%3A8080/async/ds_test_async HTTP/1.1" 200 - - - [30/Dec/2014 12:07:03] "GET /export/?gx_url=http%3A%2F%2Flocalhost%3A8080%2Fasync%2Fds_test_async HTTP/1.1" 302 -

We can see the user hit the page, with a correct GALAXY_URL passed, and then the user browses to the export route which triggers the job and redirects the user back to galaxy.
At which point galaxy recognizes it, and connects back, but it does so to the wrong route.
galaxy.webapps.galaxy.controllers.async DEBUG 2014-12-30 12:07:03,597 async dataid -> None
galaxy.webapps.galaxy.controllers.async DEBUG 2014-12-30 12:07:03,990 connecting to -> http://localhost:4001/?GALAXY_URL=http%3A%2F%2Flocalhost%3A8080%2Fasync%2Fds_test_async%2F12%2F7808a92a9de612ae968892668d3bb020f586000c&name=AsyncDataset+Name&data_id=12&URL="">
And on the async-flask-app side we see: - - [30/Dec/2014 12:07:03] "GET /?GALAXY_URL=http%3A%2F%2Flocalhost%3A8080%2Fasync%2Fds_test_async%2F12%2F7808a92a9de612ae968892668d3bb020f586000c&name=AsyncDataset+Name&data_id=12&URL="" HTTP/1.0" 200 -
Again, the wrong route. It's requesting the root url of the async data source (/) and ignoring the URL parameter which it should be using (/fetch/). Am I missing something, should I be using some of the parameter_translation steps for this?
Eric Rasche
Programmer II
Center for Phage Technology
Texas A&M Univesity
College Station, TX 77843
Ph: 4046922048
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:

To search Galaxy mailing lists use the unified search at:

Reply via email to