codesys sp20 opcua not working

tcarlbom
2024-07-03
2024-09-12
  • tcarlbom - 2024-07-03

    hi,

    anyone else having trouble with opc ua in codesys sp20?
    i get Error 'BadIdentityTokenInvalid' was returned during ActivateSession

    i have tried both windows x64 runtime and linux runtime.

    i have created a completely new codesys project for this. in each of them i have only added the symbol configuration and selected one tag.

    i have tried several opc ua client, like ua expert, nodejs and python. all return Error 'BadIdentityTokenInvalid' was returned during ActivateSession
    so the problem must be the opc ua server.

     
  • ricola - 2024-08-11

    Hi, same pb for me !
    did you find a solution ?
    (I'm working on 2 raspberry pi )
    The same project compiled for 4.8.0.0 runtime with CodeSys 3.5SP20 is working fine on one target, and on the other one, my UAexpert receives the same "BadIdentityTokenInvalid"
    and none is working on 4.11.0.0 either ...

    anybody ?

     
  • joelwright24 - 2024-09-11

    I also had this problem connected CODESYS to UAExpert for the first time.
    In the device, I need to allow anonyomous log in.
    Follow steps 14 - 17 of the following tutorial:
    https://docs.factoryio.com/tutorials/codesys/setting-up/codesys-opc-ua-sp17/#creating-the-project

     
    πŸ‘
    1
    • kempoguynz - 2024-09-12

      ^^^ THIS!

      Just spent 3 days trying to solve this.
      I'm new to Codesys, so couldn't find the right box to tick.

      You're a star Joel.

       

Log in to post a comment.