unipept / unipept-desktop

This is the desktop application that accompanies the Unipept project.
https://unipept.ugent.be
MIT License
7 stars 0 forks source link

Static database fails to download when behind a proxy server #124

Open vrkosk opened 3 years ago

vrkosk commented 3 years ago

I downloaded and installed version 0.5.0 in Windows Server 2019. When I start it, there's a dialog box for "Updating static database" (fine), but it never gets beyond 0%. I can't detect any network activity.

My PC is behind an HTTP proxy server. Web browsers and other applications are able to autodetect proxy settings. At minimum, there should be an option to download the static database manually and an instruction where to copy it -- unless failing to download it also means none of the network functionality works either.

pverscha commented 3 years ago

@vrkosk Hi there! Thank you for reporting this issue. I will try to figure out what's going wrong in your case, but the application should also work without static database (albeit a little bit slower). I will add the option to cancel the download progress to make sure that you in that particular case can continue to use the application (a new release will probably be published tomorrow with this change, and I'll make sure to inform you of the new release in this issue).

The hotfix allows you to use our application, while it increases the amount of time I have to find out what's going wrong :)

vrkosk commented 3 years ago

I took the laptop to a network without a proxy server, and it's working fine, so no need for a special workaround just for my sake. Is there a debugging mode or any logging I can enable to see what was going wrong?

pverscha commented 3 years ago

@vrkosk On Windows or Linux you can press CTRL+SHIFT+i to enable developer tools which then shows the logs and network activity. On macOS you need to press CMD+OPTION+i for the developer tools to pop up. Feel free to post the logs / a screenshot here if they indicate that an error occurred. I will surely try to provide support for proxies as soon as possible :)