Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Codesys: UaExpert can not connect to OPC/UA Server of Raspberry Pi

leon-zhang
2021-11-08
2021-11-10
  • leon-zhang

    leon-zhang - 2021-11-08

    Hallo everyone,

    I'm trying to using UaExpert to connect to the OPC/UA Server on my Raspberry Pi, but I get an error message

    DiscoveryUrl of FindServers (opc.tcp://192.168.1.108) differs from the one received in GetEndpoints (opc.tcp://raspberrypi:4840)
    Could not connect to server: BadCommunicationError

    also showing in the following attachments.

    Does anyone know how to connect to the OPC/UA Server on my Raspberry Pi?

    Best Regards,
    Leon

     
  • h-hermsen

    h-hermsen - 2021-11-08

    You should mandatorily use the ip adress. You can change the name into the ip and that should work;

    opc.tcp://192.168.1.108:4840

     

    Last edit: h-hermsen 2021-11-08
    • leon-zhang

      leon-zhang - 2021-11-09
       

      Last edit: leon-zhang 2021-11-09
  • leon-zhang

    leon-zhang - 2021-11-09

    Hallo h-hermsen,

    thank you very much for yuor help.

    You mean that I should change the name into the ip(opc.tcp://192.168.1.108:4840). I have done in Server Settings as the first screenshot in the added attachment. Is that right?

    But I still can not connect UaExpert to OPCUA Server on Raspberry Pi and I get new error message as the second screenshot in the added attachment. Can you help me? This is very important for my work. Please...

    BR

    leon-zhang

     
  • leon-zhang

    leon-zhang - 2021-11-09

    Hallo,

    I can only add one screenshot every time.

    Above I add the second screenshot as I described.

    Now I add the first screenshot as I described.

    BR

    leon-zhang

     
  • eschwellinger

    eschwellinger - 2021-11-10

    use the CODESYS Installer ("c:\Program Files (x86)\CODESYS\APInstaller\APInstaller.GUI.exe" )
    to install the Security Agent.

     
    • leon-zhang

      leon-zhang - 2021-11-10

      Hallo eschwellinger,

      thank you very much for your help. Everything work fine now.

      BR

      Leon

       

Log in to post a comment.