Page 1 of 1

download many images together sometimes giving error,

PostPosted: Tue Nov 21, 2017 2:09 pm
by saleht
Hi my friends

steps to reproduce:

1. open a Data set which has many images
2. select many images around 10
3. press download
4. press create zip

issue: during the trying of download , then getting a Msg, "site is currently down for maintenance
pleas try again later"

*Expected*: downlad should happen without any issues and zip file should be appear

notice: this happens with not all images with some i can share link which has data and u can log in using ur account (you have a user u can use it to login to my server)

pls i am getting this error on my nginx log file


Code: Select all
*499625 upstream prematurely closed connection while reading response header from upstream, client: IPAdress, server: , request: "GET /webgateway/archived_files/download/?image=10292&image=10293&image=10294&image=10295&image=10296&image=10297&image=10298&image=10299&image=10300&image=10301&image=10302&image=10303&image=10304&image=10305&zipname=OriginalFileDownload.zip HTTP/1.1", upstream: "http://127.0.0.1:4080/webgateway/archived_files/download/?image=10292&image=10293&image=10294&image=10295&image=10296&image=10297&image=10298&image=10299&image=10300&image=10301&image=10302&image=10303&image=10304&image=10305&zipname=OriginalFileDownload.zip", host: "omero-cai.hhu.de", referrer: "https://omero-cai.hhu.de/webclient/download_placeholder/?ids=image-10292|image-10293|image-10294|image-10295|image-10296|image-10297|image-10298|image-10299|image-10300|image-10301|image-10302|image-10303|image-10304|image-10305&fileCount=14&index="



cheers,
Saleh

Re: download many images together sometimes giving error,

PostPosted: Wed Nov 22, 2017 10:25 am
by Dominik
Hi Saleht,

this might be a timeout issue. You could try to increase the timeout (omero.web.wsgi_timeout), maybe that would fix the problem. See: https://docs.openmicroscopy.org/omero/5 ... out-issues

Kind Regards,
Dominik

Re: download many images together sometimes giving error,

PostPosted: Mon Dec 04, 2017 9:23 am
by saleht
Hello Dominik & all,

i played around the setting which written
https://docs.openmicroscopy.org/omero/5 ... out-issues
but still i can reproduce the issue, steps
1. select many images from same Data Set about 18 images with total size around (4.5 GB)
2. go to right side of omero web and then click download
3. select create zip
issue:
i am getting "site is currently down for maintenance
pleas try again later" if i turn the Debugs on i am getting nginx error "504 Gateway Time-out"
notice i played around nginx
notice: if i download sames files by using omero insight, it works fine

any suggestion ? Thank you in advanced

Re: download many images together sometimes giving error,

PostPosted: Tue Dec 05, 2017 11:34 am
by jmoore
Hi Saleh,

there was a good deal of discussion around downloads in January, 2016. Search for "downloads" under http://lists.openmicroscopy.org.uk/pipermail/ome-users/2016-January/thread.html.

In general, what's happening is that too many, too long calls are leading to a blocked server. You might want to have a read of those threads and see if any of the suggestions might help you.

For testing of the timeout, please show us all your configuration files and modifications so we know what you're working with. The nginx error log file will likely also be helpful.

~Josh.