我安装了Qt 5.10.1,并且正在使用NextCloud桌面客户端,正在使用NextCloud应用程序的CMD而不是GUI,问题是,我不断收到error
:
QNetworkReply :: NetworkError(UnknownNetworkError)“网络访问被禁用。 QVariant(无效)
尽管网络工作正常,但我认为此错误与Qt有关,代码在C ++中,并且我使用Visual Studio,要解决此问题,我停止了应用程序,然后再次启动它,但是奇怪的是, ,在调试版本中此错误很少出现,但在发行版本中则经常出现,我在Internet上浏览了此问题,但运气不佳,怎么解决呢? 在CMD上打印以下错误
07-04 15:27:30:007 [ info sync.engine ]: Server ""
07-04 15:27:30:009 [ info sync.csync.csync ]: ## Starting local discovery ##
07-04 15:27:30:011 [ info sync.csync.csync ]: Update detection for local replica took 0.001 seconds walking 0 files
07-04 15:27:30:012 [ info sync.csync.csync ]: ## Starting remote discovery ##
07-04 15:27:30:014 [ info sync.accessmanager ]: 6 "PROPFIND" "http://**********" has X-Request-ID "************"
07-04 15:27:30:017 [ info sync.networkjob ]: OCC::LsColJob created for "http:**********" + "" "OCC::DiscoverySingleDirectoryJob"
07-04 15:27:30:020 [ warning sync.networkjob ]: QNetworkReply::NetworkError(UnknownNetworkError) "Network access is disabled." QVariant(Invalid)
07-04 15:27:30:022 [ info sync.networkjob.lscol ]: LSCOL of QUrl("http://******************") FINISHED WITH STATUS QNetworkReply::NetworkError(UnknownNetworkError) "Network access is disabled."
07-04 15:27:30:024 [ warning sync.discovery ]: LSCOL job error "Network access is disabled." 0 QNetworkReply::NetworkError(UnknownNetworkError)
07-04 15:27:30:026 [ warning sync.csync.updater ]: opendir failed for - errno 5
07-04 15:27:30:027 [ warning sync.engine ]: ERROR during csync_update : "An error occurred while opening a folder Network access is disabled."
07-04 15:27:30:031 [ info sync.database ]: Closing DB "*********/._sync_369bd5743963.db"
07-04 15:27:30:037 [ info sync.engine ]: CSync run took 32 ms