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.
š
š
Here's the async.py log:
š
127.0.0.1 - - [30/Dec/2014 12:07:02] "GET /?GALAXY_URL=http%3A//localhost%3A8080/async/ds_test_async HTTP/1.1" 200 -
127.0.0.1 - - [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=http%3A%2F%2Flocalhost%3A4001%2Ffetch%2F%3Fvar%3D1%26b%3D23&type=tabular
š
And on the async-flask-app side we see:
127.0.0.1 - - [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%3A%2F%2Flocalhost%3A4001%2Ffetch%2F%3Fvar%3D1%26b%3D23&type=tabular 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?
š
Cheers,
Eric
--
Eric Rasche
Programmer II
Center for Phage Technology
Texas A&M Univesity
College Station, TX 77843
š
š