Comments (9)
What is the error message being returned and what version of Funnel are you using?
from funnel.
This is the version I am using (I am running this on a Mac, I used the Homebrew instructions from here https://ohsu-comp-bio.github.io/funnel/download/):
git commit: 3eaec933
git branch: master
git upstream:
build date: 2018-06-20T16:17:18Z
version: 0.8.0
This is an example of the error I get (I shortened the URL a bit, but the relevant parts are there):
funnel task get bpnlopovlv353e62s680
{
"id": "bpnlopovlv353e62s680",
"state": "SYSTEM_ERROR",
"name": "Hello world",
"inputs": [
{
"url": "\"https://[...].s3.amazonaws.com/ga4gh_demo/README?AWSAccessKeyId=[...]5DT\u0026Signature=cUa[...]g%3D\u0026Expires=158[...]02\"",
"path": "/inputs/README"
}
If I look at the task in the Web UI (http://localhost:8000/v1/tasks/bpnlopovlv353e62s680
) I get the correct URL:
"https://[...].s3.amazonaws.com/ga4gh_demo/README?AWSAccessKeyId=[...]5DT&Signature=cUa[...]g%3D&Expires=158[...]02"
from funnel.
What is the error message that gets logged by the storage backend when the task is run?
The encoding stuff you are seeing is probably related to golang/protobuf#407, but I am not sure that it is the underlying issue.
from funnel.
The storage back (s3) end simply responds with an authorization error:
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>2F[...]87</RequestId><HostId>ss[...]0K/w=</HostId></Error>
But I think this is due to the access credentials not being formatted correctly.
from funnel.
I don't think it is an issue with the access credential formatting - Funnel tries to execute a HEAD request on URL prior to downloading which is going to fail for a pre-signed URL that authorizes a GET request.
I will see what I can do to resolve this.
from funnel.
Thank you!
from funnel.
Are you using presigned URLs just for the inputs or for the outputs as well?
I was able to add download support, but upload support would be a bit more work.
from funnel.
I would like to do both, eventually. But being able to access data first would be OK.
(Related to this: if I could specify s3 URLs for input/output formatted like s3://[...]/ga4gh_demo/
via cwl-tes
that would also be helpful; but that is a separate issue).
from funnel.
I think it works! I just tested the commit locally, and I do no longer get an error. Thank you.
from funnel.
Related Issues (20)
- TES: Get full view of a given task
- TES: List basic view of tasks
- TES: List full view of tasks
- TES: Correct service info endpoint HOT 1
- TES: List tasks with filtered names
- TES v1.1: List tasks with filtered tags
- TES v1.1: Create task with ignore_error flag
- TES: List task with next page token
- Failing lint job in tests
- github.com/golang/protobuf deprecation
- Homebrew formula returns "wrong number of arguments" error
- funnel binary not found during Slurm tests HOT 1
- Configuration for replacing path prefixes
- Boltdb deprecation HOT 2
- Task ID returned before database doc is created
- Feature Request: Add support for native K8s Executor
- Add Snakemake workflow tests to Funnel
- Funnel Tasks Fail when used as a TES Executor for Nextflow HOT 2
- The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested HOT 1
- Allow Funnel to run tasks against custom domain socket HOT 1
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 funnel.