-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QGIS hangs when VPN disconnected; searching for connections #37324
Comments
I have also been having this problem, although unfortunately creating a new profile does not seem to resolve it for me. Both the default and new profile directories are on my local "C:" drive so they should be resolvable even when I'm not on VPN? Nevertheless something still tries to connect to the network folders causing QGIS to freeze QGIS and OS versions |
I ran into the same problem today with 3.10. So I upgraded to 3.16. Then when it tried to load (while not connected to VPN) it eventually popped a warning that "plugin has crashed previously and has been disabled" (it did not say which one, only using defaults). So I went to the plugins menu, and it continued to have problems and gives an unavailable for the main repository. I can load this URL just fine in a web browser. And now 3.16 wont load either, just that one time after the install. |
@dpsspatial thanks for the workaround, this was driving me nuts |
Still an severe issue. QGIS and OS versions My workaround is to disable the whole browser. (no new profile needed) My suggestion is to make the browser a separate thread so the main program can be used |
Describe the bug
When connections to databases and mapped shared drives are dependent on a VPN connection, and the VPN is disconnected, QGIS will hang indefinitely when the application is started up, looking for those connections, making the application unresponsive until the VPN connection is re-established.
How to Reproduce
A VPN connection will be required:
QGIS and OS versions
QGIS: 3.12.3
OS: Linux Mint 19.3
Additional context
Working from home has exposed this issue. My 'work' connections all depend on VPN, but have been doing a lot of other projects unrelated to work. QGIS would hang and hang and I couldn't figure it out until I realized it was searching for my database connections and mapped folders that were all on our work network. As soon as I started the VPN, QGIS came to life.
My workaround has been to create another profile and switch to that, but if I forgot to switch to that profile, I still have to connect to my VPN just to load QGIS then switch profiles.
The text was updated successfully, but these errors were encountered: