Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-76217

OpcUA: Connect with UA backend fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 5.13.0 RC 1
    • Fix Version/s: None
    • Component/s: OpcUA
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      Connecting to this host: opc.tcp://opcua-demo.factry.io:51210

       

      Fails with the following output during the "Connect" stage

      Debug: "Creating PKI path 'C:/Qt/Examples/Automation/5.13.0/qtopcua/opcua/build-opcuaviewer-Desktop_Qt_5_13_0_MSVC2017_64bit-Debug/debug/pki/trusted/certs': SUCCESS." (..\opcuaviewer\mainwindow.cpp:424, bool __cdecl MainWindow::createPkiPath(const class QString &))

      Debug: "Creating PKI path 'C:/Qt/Examples/Automation/5.13.0/qtopcua/opcua/build-opcuaviewer-Desktop_Qt_5_13_0_MSVC2017_64bit-Debug/debug/pki/trusted/crl': SUCCESS." (..\opcuaviewer\mainwindow.cpp:424, bool __cdecl MainWindow::createPkiPath(const class QString &))

      Debug: "Creating PKI path 'C:/Qt/Examples/Automation/5.13.0/qtopcua/opcua/build-opcuaviewer-Desktop_Qt_5_13_0_MSVC2017_64bit-Debug/debug/pki/issuers/certs': SUCCESS." (..\opcuaviewer\mainwindow.cpp:424, bool __cdecl MainWindow::createPkiPath(const class QString &))

      Debug: "Creating PKI path 'C:/Qt/Examples/Automation/5.13.0/qtopcua/opcua/build-opcuaviewer-Desktop_Qt_5_13_0_MSVC2017_64bit-Debug/debug/pki/issuers/crl': SUCCESS." (..\opcuaviewer\mainwindow.cpp:424, bool __cdecl MainWindow::createPkiPath(const class QString &))

      Warning: No client certificate found at "C:/Qt/Examples/Automation/5.13.0/qtopcua/opcua/build-opcuaviewer-Desktop_Qt_5_13_0_MSVC2017_64bit-Debug/debug/pki/own/certs/opcuaviewer.der" . Application identity will be invalid. (client\qopcuapkiconfiguration.cpp:230, class QOpcUaApplicationIdentity __cdecl QOpcUaPkiConfiguration::applicationIdentity(void) const)

      Debug: Discovering servers on "opc.tcp://localhost:48010" (..\opcuaviewer\mainwindow.cpp:252, void __cdecl MainWindow::findServers(void))

      Debug: Discovering servers on "opc.tcp://opcua-demo.factry.io:51210" (..\opcuaviewer\mainwindow.cpp:252, void __cdecl MainWindow::findServers(void))

      Warning: Failed to load certificate: "C:/Qt/Examples/Automation/5.13.0/qtopcua/opcua/build-opcuaviewer-Desktop_Qt_5_13_0_MSVC2017_64bit-Debug/debug/pki/own/certs/opcuaviewer.der" (quacppbackend.cpp:283, void __cdecl UACppAsyncBackend::connectToEndpoint(const class QOpcUaEndpointDescription &))

      Debug: Client state changed QOpcUaClient::Connecting (..\opcuaviewer\mainwindow.cpp:363, void __cdecl MainWindow::clientState(enum QOpcUaClient::ClientState))

      Warning: Failed to load private key: "C:/Qt/Examples/Automation/5.13.0/qtopcua/opcua/build-opcuaviewer-Desktop_Qt_5_13_0_MSVC2017_64bit-Debug/debug/pki/own/private/opcuaviewer.pem" (quacppbackend.cpp:291, void __cdecl UACppAsyncBackend::connectToEndpoint(const class QOpcUaEndpointDescription &))

      Warning: Failed to connect using certificate authentication: "BadNotFound" (quacppbackend.cpp:321, void __cdecl UACppAsyncBackend::connectToEndpoint(const class QOpcUaEndpointDescription &))

      Debug: Client error changed QOpcUaClient::AccessDenied (..\opcuaviewer\mainwindow.cpp:358, void __cdecl MainWindow::clientError(enum QOpcUaClient::ClientError))

      Debug: Client state changed QOpcUaClient::Disconnected (..\opcuaviewer\mainwindow.cpp:363, void __cdecl MainWindow::clientState(enum QOpcUaClient::ClientState))

      Note that for the open62541 backend it works.

       

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              fmeerkoetter Frank Meerkötter
              Reporter:
              mkalinow Maurice Kalinowski
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes