Since poll_for_magic_token runs in a thread, a not handled exception raised there terminates only the polling thread and indicates some connection problem.
I cannot specifically get the TimeoutError (at least by disconnecting after initiating the Ubuntu Pro dialog), but rather ConnectivityError, as the API indeed specifies[1]. {unhandled-exception.log} Simply ignoring the exceptions raised from wait() is fine {exception- caught.log}, but the user should likely be informed that the connection to the server is failing for whatever reason. All in all, the reported error is innocuous but the UI should likely to warn the user about connectivity issue. [1]: https://github.com/canonical/ubuntu-advantage- client/blob/main/docs/references/api.md#uproattachmagicwaitv1 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to software-properties in Ubuntu. https://bugs.launchpad.net/bugs/2003996 Title: /usr/bin/software-properties- gtk:TimeoutError:poll_for_magic_token:wait:_wait:get_magic_attach_token_info:request_url:readurl:urlopen:open:_open:_call_chain:https_open:do_open:getresponse:begin:_read_status:readinto:recv_into:read Status in software-properties package in Ubuntu: In Progress Bug description: The Ubuntu Error Tracker has been receiving reports about a problem regarding software-properties. This problem was most recently seen with package version 0.99.22.5, the problem page at https://errors.ubuntu.com/problem/032c1f3f3d9b9b05e5087f7e37a05a3d0d40e699 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports. If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2003996/+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