Automic Workload Automation

 View Only
  • 1.  Error when running windows agent

    Posted Feb 07, 2025 09:03 AM
      |   view attached

    Hi everyone,

    I have a somewhat urgent issue with a windows agent (v24) 

    Error when running windows agent 

    Checking the log, I am not able to identify the source of the problem.

    Attached log.

    Any ideas?

    Thanks in advance



    ------------------------------
    Santiago Fernández
    UC SOFTWARE
    santiago.fernandez@ucsoftware.es
    ------------------------------

    Attachment(s)

    TXT
    ucxjwx6_log_00.TXT   46 KB 1 version


  • 2.  RE: Error when running windows agent

    Broadcom Employee
    Posted Feb 07, 2025 09:30 AM

    Hi @Santiago Fernandez

    Looks like a certificate problem. There is no matching for pcuc4001.imi.bcn or the provided password is wrong.

    I would do the following:

    1.  clear the security folder specified in AUTHORIZATION::agentSecurityFolder
    2. set the password in AUTHORIZATION::keyPassword
    3. reset Agent in AWI client 0 - Administration - Agent List - Agent - Reset Agent Public Key
    4. check the certificates in folder AUTHORIZATION::trustedCertFolder
    5. check assesses permissions for all files and folders of the user who is executing the Agent e.g. Windows ServiceAccount
    6. remove all entries from section JCPLIST
    7. start the Agent
    8. if the error still exists increase the trace level at TRACE::tcp/ip
    9. clear security folder, clear JCP list
    10. reset Agent public key in AWI
    11. start the Agent

    Michael



    ------------------------------
    Michael K. Dolinek

    Engineering Program Manager | Agile Operation Division
    Broadcom Software
    ------------------------------



  • 3.  RE: Error when running windows agent

    Posted Feb 07, 2025 10:00 AM

    Hi,

    on my  first look  it seems that CN in certificate is not same as one in config INI file:

    looks like  config wants to connect to:

    pcuc4001.imi.bcn:2218

    check  certificate common name, aliases, or change AE
    that would  be my 1st step.

    part of Your log:

    20250207/133957.883 - U02000377 Certificate loaded from file 'PCUC4001.cer'.
    20250207/133958.399 - U00045014 Exception 'java.util.concurrent.ExecutionException: "javax.net.ssl.SSLHandshakeException: No name matching pcuc4001.imi.bcn found"' at 'java.util.concurrent.CompletableFuture.reportGet():395'.
    20250207/133958.399 - U00045015 The previous error was caused by 'javax.net.ssl.SSLHandshakeException: "No name matching pcuc4001.imi.bcn found"' at 'sun.security.ssl.Alert.createSSLException():131'.
    20250207/133958.399 - U00045015 The previous error was caused by 'java.security.cert.CertificateException: "No name matching pcuc4001.imi.bcn found"' at 'sun.security.util.HostnameChecker.matchDNS():234'.
    20250207/133958.399 - U02000380 Could not connect to server 'pcuc4001.imi.bcn:2218'.

    best regards,
    Mladen




  • 4.  RE: Error when running windows agent

    Broadcom Employee
    Posted Feb 10, 2025 05:01 AM

    Hi,

    what is the CN defined in your JCP server certificate? It has to be an exact match to 

    pcuc4001.imi.bcn

    Regards, Markus