Hi! I originally published a message on this thread explaining that I had come across the same obstacle - upon realizing that it was wrongly posted as an answer, I moved it to the comments section.
Instead, I am now sharing what I did to solve the problem, which I hope can be of use for any Galaxy user that happens to bump into the same. Namely, you only need to open your NGINX configuration file (probably in /etc/nginx/nginx.conf) and there make some changes to your server block.
Before I had the following, based on the instructions from https://wiki.galaxyproject.org/Admin/Config/nginxProxy:
location /galaxy {
proxy_pass http://galaxy_app;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
I simply changed X-Forwarded-Host $host
to X-Forwarded-Host $host:8080
and it started to work fine. I have not tested it thoroughly, but to my understanding now external tools should be aware of the exact URL they should generate.
Please correct if I am mistaken!
Hi,
I am aware that this is an old question, but I am experiencing exactly the same issue: Galaxy is running on http://address:8080/galaxy, but outputs from "Get Data" tools are sent to http://address/galaxy/tool_runner, which obviously does not exist. Note that it does not only happen with UCSC, but with any other external source of data.
I have been carefully reviewing that NGINX.conf and the Galaxy.ini files, to no avail. Any ideas? Thanks a lot!
EDIT: I have published my answer below!