[Interest] QNetworkAccessManager doesn't recover when network is reconnected on Ubuntu.
Thiago Macieira
thiago.macieira at intel.com
Wed Dec 2 17:03:49 CET 2015
On Wednesday 02 December 2015 19:27:40 Nesuan Taiso wrote:
> On Ubuntu 15, if the network is disabled using the notification tray
> icon, then network requests fail (as expected).
> The first failure is 'NetworkSessionFailedError' and subsequent failures
> are 'UnknownNetworkError'.
> But even once the network is reenabled, the network requests continue to
> fail indefinitely (still with 'UnknownNetworkError').
> Demo code and log from sample run shown below.
>
> I also tested on Windows and the problem did not happen (i.e. requests
> resume normally after network is reconnected).
>
> How do I make Ubuntu behave the same as Windows? Do I need to 'reset'
> the Qt network stack or something when I have an error on this platform?
>
> I am a novice so it's probably just something simple I forgot. Any
> suggestions much appreciated!
Can you disable libqnmbearer.so and try again?
Find the file and, as root, chmod it to 0.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list