DKMS-LSL / typeloader

Other
8 stars 1 forks source link

Issue with updating reference HLA/KIR database #27

Closed naser-ellagta closed 2 years ago

naser-ellagta commented 2 years ago

Hi,

We are currently trying to implement Typeloader into our laboratory but we are unable to upload any data files as the program is unable to download the reference files. This is the first time we are trying to use Typeloader, and are currently using the latest version (v 2.11.1). I've attached a screenshot of the error message as well as the log file.

Thanks in advance :))

20220104_081957.log

reference refresh error

bmschoene commented 2 years ago

I'm glad you've decided to use TypeLoader! :-) Let's see if we can work this out.

I'm pretty sure the problem you're seeing is not TypeLoader itself but something about your internet connection, possibly a firewall or proxy thing. According to the log, not only did the dowloading of the reference file (which is sizeable, so that might have been due to a slow connection) time out, but already the attempt to check for a newer version does the same (which is a very quick lookup).

Can you please try opening this link in your browser? It should show you a text file with contents like author, maintainers, license and the current version etc. (This is the file that your TypeLoader tried and failed to reach to check for the newest version.)

I'm guessing this will probably work, but want to make sure.

If it does work, can you ask your IT people whether your firewall settings may be prohibiting installed software from reaching out to GitHub, and if they can do anything about it? And if there is anything I as the programmer of that software can implement to help? (E.g., TypeLoader already lets you enter a proxy server (either during install, or afterwards in your user settings). But so far, this is only used for connecting to ENA, which is the only point where we have needed it in the past. But I could probably pass the same proxy to the GitHub-connection attempt, if that helps.)

naser-ellagta commented 2 years ago

Hi Bianca, Thanks for getting back to us! As we are a government organisation, you're right in assuming there are firewall settings in place that restrict access of installed software on our systems. We had a previous issue where a timeout error occurred when we tried to create a new ENA project using Typeloader but this was resolved by entering a proxy server. Given what you said, I think it may be likely that this is an issue with the Github-connection attempt, as the error occurs when the program attempts to communicate with Github. Let me know what you think Thank you :))

bmschoene commented 2 years ago

I agree. I'll see that I pass these through the proxy, as well, then. Hopefully, I'll have a test installer for you to try out tomorrow.

bmschoene commented 2 years ago

Here's a test installer for you: click to download.

Please use it to update your installation and let me know whether it fixes your problem?

(If not, let me know what still doesn't work and attach the new logfile, please.)

naser-ellagta commented 2 years ago

Thanks for your help Bianca!

The issue with updating the reference files seems to have resolved, but now we are presented with another issue when submitting files to ENA. I've attached a screenshot of the error message as well as the log file.

Thanks in advance :) 20220107_090632.log

Capture

bmschoene commented 2 years ago

Ah, I see. The submission of sequences to ENA happens via their command line tool webin-CLI, which is a java tool that ENA provides and TypeLoader brings along. That one didn't happen through the proxy because it's not a connection that TypeLoader itself opens.

I wasn't sure how to pass the proxy to this, so I didn't. But I think I may have figured it out. 🤞

Here's another beta installer for you: click

naser-ellagta commented 2 years ago

The same issue is still persisting - is there anything we can do on our end to resolve this issue, or does the webin-CLI tool need to be modified so that it can work through the proxy server?

bmschoene commented 2 years ago

I don't think there's much you can do, unfortunately (other than your IT opening the required ports, but to be honest, I don't even know how to find out which ones would be needed, so that would be a last resort).

I have tried passing the proxy to webin-cli in a different way, following the procedure given in an old issue at webin-cli.

New beta installer

(Sorry we have to go through so many iterations of re-installs, but as I don't have the proxy problem here, it's hard to test from here.)

naser-ellagta commented 2 years ago

Now we're getting a different error message which reads

ERROR: Failed to connect to webin.ebi.ac.uk using FTP. Failed to upload files to webin.ebi.ac.uk because of a system error.

Not sure what this means

I've also attached the log file 20220111_094036.log

bmschoene commented 2 years ago

@DavidTBrookes we already have an issue for this problem here. Further communication via email.