Skip to content
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

network-applet hangs Budgie after vpn connection #711

Closed
1 task done
mark-nicholson opened this issue Oct 30, 2023 · 5 comments
Closed
1 task done

network-applet hangs Budgie after vpn connection #711

mark-nicholson opened this issue Oct 30, 2023 · 5 comments
Labels
Blocked: Upstream This is an upstream issue. Bug Something isn't working

Comments

@mark-nicholson
Copy link

Summary

After the major update on 2023-10-27 the system worked fine until I tried the VPN to get to work this morning.

Steps to reproduce

  1. clean boot of system
  2. right-click on network-applet on the task bar
  3. select "VPN" and choose my normal work VPN entry
  4. open-connect window opens, negotiation begins
  5. the "VPN connected" window does not appear
  6. The Icon of the network applet freezes with the "vpn connect spinner and the lock"
  7. If I right-click on that network-applet, the ENTIRE desktop freezes

I have figured out that if I press Ctrl+Alt+Delete, after a few seconds, I can regain access to the other desktop windows

Expected result

The VPN should connect as usual. I have not modified my connection profile in a very long time and it has worked flawlessly for over a year. No known changes to the VPN server at my work.

Actual result

The VPN does not connect. ip addr show does not display the VPN interface.
The desktop completely hangs (Initially was able to switch to a console to start debugging, then found that Ctrl+Alt+Del in the GUI would eventually get back to partial functionality)

Noticed:

root # ps auxww | grep open 
mjnichol    3101  0.0  0.0      0     0 ?        Z    08:24   0:01 [nm-openconnect-] <defunct>
root        3595  0.0  0.0 222524  2304 pts/1    S+   09:02   0:00 grep open
root #

which appears to show the nm-openconnect became a zombie process. The system was clean from a reboot and had no openconnect processes at all.

Environment

  • Is system up to date?

Repo

Shannon (stable)

Desktop Environment

Budgie

System details

Hardware Model: Dynabook Inc. PORTEGE X40-J
Memory: 32.0 GiB
Processor: 11th Gen Intel® Core™ i7-1185G7 × 8
Graphics: Intel® Xe Graphics (TGL GT2)
Disk Size: 512.1 GB
Bugdie Version: 10.8.2
OS Name: Solus 4.4 Harmony
OS Type: 64-bit
Windowing System: X11
Kernel Version: Linux 6.5.9-262.current

(would be nice to have a copy-info button in the "About" applet)

Other comments

This problem is significant for me as I tried to do:

sudo eopkg history --yes -t 467

to get back to the state of the system last week -- which worked fine -- but that failed. (Other ticket filed.)

@mark-nicholson
Copy link
Author

I finally got this to work without any quirks.

It seems that the newer version of the software (not sure if it is NetworkManager or OpenConnect) was having problems with the actual "profile" file. It seems that it crashed when it loaded the profile and didn't like something.

I removed the profile in NetworkManager (then double checked the file-system to ensure it was really gone) then re-created a new VPN profile... bingo, it works again.

The issue seems to be just an incompatibility between the profile storage formats between the versions.

It would be nice to have it recognize the "old" format and either disable that profile with some sort of notice to the user, or "re-write" the file in the new format quietly.

I'd been using the same VPN configuration file for probably, at least, the last 12 months.

@ermo
Copy link
Contributor

ermo commented Nov 27, 2023

@EbonJaeger How do we want to tackle this (if at all?)

@EbonJaeger
Copy link
Member

EbonJaeger commented Nov 27, 2023

@ermo I suspect that it happening on Budgie is incidental and the problem is something (an incompatible config, or a bug) in networkmanager or networkmanager-applet.

Unless there is a patch somewhere to pull in, I don't see anything for us to do.

@EbonJaeger
Copy link
Member

It also sounds like this is solved on our end, already.

@TraceyC77 TraceyC77 added the Blocked: Upstream This is an upstream issue. label Dec 21, 2023
@TraceyC77
Copy link
Contributor

I'm closing this as it appears to be a bug with Network Manager hanging with something in the old config file.
If you would like NM to support the old format or auto recover as you describe, I suggest heading to the [Network Manager}(https://gitlab.freedesktop.org/NetworkManager/NetworkManager) project, and search their issue tracker. I did see this issue which appears to possibly be related to the same behavior.

@github-project-automation github-project-automation bot moved this from Triage to Done in Solus Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocked: Upstream This is an upstream issue. Bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

4 participants