c++ - QNetworkReply error: Network access is disabled -
i using qnetworkrequest/qnetworkreply download file. on older program version used thousands of people worked flawlessly (vs 2010 compiler). after upgrading visual studio 2015 , recompiling whole project xp target (the same procedure openssl) a few users started getting error when download initiated:
network access disabled.
the error logged in slot connected error() signal qnetworkreply::networkerror.
code:
qnetworkreply reply = nam.get(qnetworkrequest(url)); emit sendinfo("starting download"); qobject::connect(reply, signal(finished()), this, slot(finishedslot())); qobject::connect(reply, signal(error(qnetworkreply::networkerror)), this, slot(errorslot(qnetworkreply::networkerror))); qobject::connect(reply, signal(downloadprogress(qint64, qint64)), this, slot(progressslot(qint64, qint64)));
i managed install wireshark on 1 of affected machines no requests made internet failing beginning. far not able find out causes problem on these machines. os version not matter, tried disabling av/firewall etc. unable find details of error string returned.
the code works fine 90% of people , tested xp sp3 windows 10.
what problem , how approach debug this?
apparently bug in qt 5.5.1 https://github.com/owncloud/client/issues/3600 although can't confirm 100% certainty.
Comments
Post a Comment