Question: Upload file from local PC fails
0
gravatar for bengrunt
3.4 years ago by
bengrunt0
France
bengrunt0 wrote:

Hi there,

We deployed a galaxy server and we're experiencing some issues that we've trouble dealing with.
We're running Galaxy from the master branch, available on your github repository.
Each time we upload a file from a local PC into Galaxy we get an HTTP 404 error.
It worked once, juste after upgrading Galaxy, but all the latter attempts failed with the same error.

Not much more that this in the galaxy logs, even when activating debug handlers in the config:

x.y.z.a - - [24/Jul/2015:16:58:20 +0200] "POST /galaxy/api/tools HTTP/1.1" 404 - "https://galaxy.tld/galaxy/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0"

I redacted a bit of information from the log but you get the picture.
I've no clue how to increase debug verbosity for those api calls.

Thanks a lot for your help!

Ben

issue galaxy • 964 views
ADD COMMENTlink modified 3.3 years ago • written 3.4 years ago by bengrunt0
0
gravatar for Dannon Baker
3.3 years ago by
Dannon Baker3.7k
United States
Dannon Baker3.7k wrote:

404 is a not found, so there wouldn't be any additional logging (like for an exception, or error) in the server logs.

It looks like you're using a proxy server there, or at least have Galaxy configured to expect a 'galaxy' parent directory.  Is everything served at <server>/galaxy?  And, have you configured the proxy server as in https://wiki.galaxyproject.org/Admin/Config/nginxProxy ?

ADD COMMENTlink written 3.3 years ago by Dannon Baker3.7k
0
gravatar for bengrunt
3.3 years ago by
bengrunt0
France
bengrunt0 wrote:

Hi Dannon,

We're indeed serving Galaxy behind a proxy but that's Apache2 not nginx.

So we followed the instructions located here: https://wiki.galaxyproject.org/Admin/Config/ApacheProxy?action=show&redirect=Admin%2FConfig%2FApache+Proxy

I double checked it and it seems we've got it covered.
We don't use xsendfile for file uploads though, since it felt more like an optimization than something mandatory.
But maybe we were wrong?

Thanks.

ADD COMMENTlink written 3.3 years ago by bengrunt0
0
gravatar for bengrunt
3.3 years ago by
bengrunt0
France
bengrunt0 wrote:

Hi again,

We found the issue, it seems that the following line had been commented out by error in tool_config.xml:

<tool file="data_source/upload.xml" />

 

Thanks for the help anyway.

ADD COMMENTlink written 3.3 years ago by bengrunt0
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 177 users visited in the last hour