Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt OPC UA UserTokenPolicy
Qt 6.11 is out! See what's new in the release blog

Qt OPC UA UserTokenPolicy

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.0k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bremenpl
    wrote on last edited by Bremenpl
    #1

    Re: Building QFreeOpcUaPlugin and QOpen62541Plugin plugins Qt 5.10

    Hi there,
    I have the same problem as @N3ff3 in the last post in Qt 5.11.1 using Open62541:

    QUrl url;
    url.setUserName("userName");
    url.setPassword("passWord");
    url.setUrl("opc.tcp://theserver.com:4841");
    m_Client->connectToEndpoint(url);
    

    I get:

    [2018-09-26 09:38:58.180 (UTC+0200)] error/client	No suitable UserTokenPolicy found for the possible endpoints
    

    I would appreciate all help

    lprzenioslo.zut.edu.pl

    Pablo J. RoginaP 1 Reply Last reply
    0
    • B Bremenpl

      Re: Building QFreeOpcUaPlugin and QOpen62541Plugin plugins Qt 5.10

      Hi there,
      I have the same problem as @N3ff3 in the last post in Qt 5.11.1 using Open62541:

      QUrl url;
      url.setUserName("userName");
      url.setPassword("passWord");
      url.setUrl("opc.tcp://theserver.com:4841");
      m_Client->connectToEndpoint(url);
      

      I get:

      [2018-09-26 09:38:58.180 (UTC+0200)] error/client	No suitable UserTokenPolicy found for the possible endpoints
      

      I would appreciate all help

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @Bremenpl said in Qt OPC UA UserTokenPolicy:

      No suitable UserTokenPolicy found for the possible endpoints

      It looks like the backend Open62541 for Qt OPC UA module is responsible for such issue, see for example:

      • stackoverflow question
      • Open62541 issue
      • Google groups post

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved