Crash of nextcloud client when changing from normal internet access to vpn and back


Nextcloud version (eg, 12.0.2): 2.6.1
Operating system and version Windows 10: windows 10
Apache or nginx version (eg, Apache 2.4.25): NA
PHP version (eg, 7.1): NA

The issue you are facing:

When I start my computer, my nextcloud client connects to the server via the wired ethernet
Then I start the VPN (Cisco anyconnect) to my company
The icon becomes a red ball with white cross after some time.
If I then open the client to see the state it tries to connect but cant and the client crashes
If I leave it unopened and I close the VPN (even after hours) the client reconnects and no crash
when connected to VPN and I restart the client, the client connects correctly but when I stop the VPN, same thing happens. Eventually I need to restart the client because it crashes.
Did not see this behavior before my last update of the client

Is this the first time you’ve seen this error? (Y/N): Y (since the last update)

If this happens directly after an update, please report directly to the bugtracker: