qt6.6 network get "The credentials were not recognized "
-
qtnetwork:QHttpThreadDelegate log
Debug: QHttpThreadDelegate::startRequest() thread= 0x13dc ((null):0, (null))
Debug: QHttpThreadDelegate::finishedWithErrorSlot() thread= 0x13dc error= QNetworkReply::UnknownNetworkError "The credentials were not recognized / Invalid argument" ((null):0, (null))when success,the log is :
Debug: QHttpThreadDelegate::startRequest() thread= 0x25f4 ((null):0, (null))
Debug: QHttpThreadDelegate::headerChangedSlot() thread= 0x25f4 ((null):0, (null))
Debug: QHttpThreadDelegate::finishedSlot() thread= 0x25f4 result= 400 ((null):0, (null)) -
@lingxing Please post code as text, not pictures.
What @JonB probably means is whether you provide OpenSSL libs together with your application. You can find out if you set QT_DEBUG_PLUGINS env variable to one in the terminal where you start your app and check its output. See https://doc.qt.io/qt-6/debug.html
Also see https://doc.qt.io/qt-5/windows-requirements.html -
-