Thank you Danilo and Paul for the swift follow up. The full
NetworkManager journal is attached. As for apport it fails with various
exceptions (see below). In my experience it is not really usuble when
the issue affects internet access.

Regards.


```
$ apport-collect 2080489
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1343, in 
_conn_request
    conn.connect()
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1119, in 
connect
    address_info = socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/socket.py", line 976, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 650, in <module>
    app.run_argv()
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 919, in run_argv
    return self.run_update_report()
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 747, in 
run_update_report
    if not self.crashdb.can_update(self.args.update_report):
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/apport/crashdb_impl/launchpad.py", line 
561, in can_update
    bug = self.launchpad.bugs[crash_id]
          ^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/apport/crashdb_impl/launchpad.py", line 
165, in launchpad
    self.__launchpad = Launchpad.login_with(
                       ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 700, in 
login_with
    return cls._authorize_token_and_login(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 451, in 
_authorize_token_and_login
    credentials = authorization_engine(credentials, credential_store)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 625, 
in __call__
    request_token_string = self.get_request_token(credentials)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 640, 
in get_request_token
    authorization_json = credentials.get_request_token(
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 194, 
in get_request_token
    response, content = _http_post(url, headers, params)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 108, 
in _http_post
    ).request(url, method="POST", headers=headers, body=urlencode(params))
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1701, in 
request
    (response, content) = self._request(
                          ^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1421, in 
_request
    (response, content) = self._conn_request(conn, request_uri, method, body, 
headers)
                          
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1350, in 
_conn_request
    raise ServerNotFoundError("Unable to find the server at %s" % conn.host)
httplib2.error.ServerNotFoundError: Unable to find the server at launchpad.net
```


** Attachment added: "Full NetworkManager journal"
   
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/2080489/+attachment/5816799/+files/networkmanager.log

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/2080489

Title:
  Network Manager stops functioning on Ubuntu 24.04

Status in network-manager package in Ubuntu:
  New

Bug description:
  I installed Ubuntu 24.04 about a month ago on a Asus Vivobook. Soon
  after the NetworkManager started misbehaving, with all connections to
  the internet becoming idle now and then. When this event happens the
  only way to restore internet access is to reboot the system. If
  initially these events were occasional, they now take place 3 or 4
  times per day, often after signing in from the lock screen.

  So far I was not able to verify whether NetworkManager is actually
  crashing, the Settings programme reports "NetworkManager not running"
  (see attached image). However, in the command line `systemctl` reports
  an active service:

  ```
  $ systemctl status NetworkManager
  ● NetworkManager.service - Network Manager
       Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled>
       Active: active (running) since Sun 2024-08-27 18:21:44 WEST; 2h 18min a>
         Docs: man:NetworkManager(8)
     Main PID: 1149 (NetworkManager)
        Tasks: 4 (limit: 18646)
       Memory: 12.2M (peak: 28.6M)
          CPU: 836ms
       CGroup: /system.slice/NetworkManager.service
               └─1149 /usr/sbin/NetworkManager --no-daemon

  ago 27 19:34:08 Symbolic NetworkManager[1149]: <info>  [1724006048.8961] man>
  ago 27 19:34:08 Symbolic NetworkManager[1149]: <info>  [1724006048.8965] dev>
  ago 27 19:34:09 Symbolic NetworkManager[1149]: <info>  [1724006049.1482] dev>
  ago 27 19:34:09 Symbolic NetworkManager[1149]: <info>  [1724006049.1484] dev>
  ago 27 19:34:09 Symbolic NetworkManager[1149]: <info>  [1724006049.1488] dhc>
  ago 27 19:34:09 Symbolic NetworkManager[1149]: <info>  [1724006049.1488] dhc>
  ago 27 19:34:09 Symbolic NetworkManager[1149]: <info>  [1724006049.1489] dhc>
  ago 27 19:34:09 Symbolic NetworkManager[1149]: <info>  [1724006049.2049] dev>
  ago 27 20:33:50 Symbolic NetworkManager[1149]: <info>  [1724009630.5340] man>
  ago 27 20:33:50 Symbolic NetworkManager[1149]: <info>  [1724009630.5344] dev>
  ```

  But if I try to restart the service, the command line just hangs up:

  ```
  $ ping 1.1.1.1
  ping: connect: Network is unreachable

  $ sudo systemctl restart NetworkManager

  ```

  Also from `ifconfig` there is no response:

  ```
  $ ifconfig -a

  ```

  Please let me know if there is further useful information I can
  report.

  Thank you.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/2080489/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to