Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Issue with latest Archy version

    Posted 18 days ago

    Hi, 

    We updated our Archy version to latest (2.35.8) and we are facing an while deploying any architect flow. The error message that we are seeing in our log is as follow:

    ./archyBin/archy-linux-2.35.8: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by ./archyBin/archy-linux-2.35.8

    Can someone advise on how we can resolve this issue?

    Thanks


    #Archy
    #CXasCode

    ------------------------------
    Harshad Ramesh
    NA
    ------------------------------


  • 2.  RE: Issue with latest Archy version

    Posted 16 days ago

    Hi @Harshad Ramesh,

    Can you please verify which version of GLIBC is installed on the host that is running Archy? You can do so via `ldd --version`.

    Thanks,

    Jon



    ------------------------------
    Jonathan Van Steen
    Senior Software Engineer
    ------------------------------



  • 3.  RE: Issue with latest Archy version

    Posted 16 days ago

    Hi @Jonathan Van Steen

    We have a python bases lambda function that is executing Archy publish command:

        # Execute Archy publish
        logger.info("Publishing flow...")
        sp(f"cd /tmp ; sh archy publish --file {flow_file_name} --optionsFile options.yaml")

    Not sure we can run the to check GLIBC version



    ------------------------------
    Harshad Ramesh
    NA
    ------------------------------



  • 4.  RE: Issue with latest Archy version

    Posted 15 days ago

    You may need to update your function configuration to use a newer runtime. See here. Note this bit:

    The Node.js 20, Python 3.12, Java 21, .NET 8, Ruby 3.3, and later base images are based on the Amazon Linux 2023 minimal container image. Earlier base images use Amazon Linux 2. AL2023 provides several advantages over Amazon Linux 2, including a smaller deployment footprint and updated versions of libraries such as glibc. 



    ------------------------------
    Russell Hanneken
    ------------------------------



  • 5.  RE: Issue with latest Archy version

    Posted 14 days ago
    Edited by Jonathan Van Steen 14 days ago

    @Harshad Ramesh, Im not too familiar with python, but im guessing you could do something 

    result = subprocess.run(['ldd', '--version'], capture_output=True, text=True, check=True)
    print(result.stdout)
    But it sounds like @Russell Hanneken is correct below. Archy is running nodejs 20 inside the executable so it sounds like the runtime youre using needs to be updated.
    Thanks,
    Jon



    ------------------------------
    Jonathan Van Steen
    Senior Software Engineer
    ------------------------------



  • 6.  RE: Issue with latest Archy version

    Posted 14 days ago

    Thanks @Jonathan Van Steen and @Russell Hanneken. We just upgraded our python version from 3.11 to 3.12. It seemed to have fixed GLIBC issue but we are seeing the issue below now:

    Path: '/digitalBot/bots/bot[Initial Greeting_10]/actions/askForBoolean[_^_archy_askForBoolean_1__]/no/actions/setParticipantData[_^_archy_setParticipantData_4__]'

    expected a string but got a boolean value for: 'false'

    Command: 'publish'

    Summary

    *****************************************************************************************

    Archy - Architect Yaml Flow Processor ver. 2.35.8 - Failure

    *****************************************************************************************

    An error occurred.

    Path: '/digitalBot/bots/bot[Initial Greeting_10]/actions/askForBoolean[_^_archy_askForBoolean_1__]/no/actions/setParticipantData[_^_archy_setParticipantData_4__]'

    ERROR! ArchSession.startWithClientIdAndSecret - Caught unhandled exception during callback function execution. Ending session. Exception info: expected a string but got a boolean value for: 'false'

    setting the Archy exit code to 100

    Unfortunately I can't provide full log but hopefully that gives an idea.



    ------------------------------
    Harshad Ramesh
    NA
    ------------------------------



  • 7.  RE: Issue with latest Archy version

    Posted 14 days ago

    @Harshad Ramesh,

    I would suggest looking through the path provided  '/digitalBot/bots/bot[Initial Greeting_10]/actions/askForBoolean[_^_archy_askForBoolean_1__]/no/actions/setParticipantData[_^_archy_setParticipantData_4__]' to the action in question in the YAML. Then check the action to see which property has a boolean "false". If you could send me the yaml of this section I would be happy to help. Hard to know though without seeing it.

    Thanks,
    Jon



    ------------------------------
    Jonathan Van Steen
    Senior Software Engineer
    ------------------------------



  • 8.  RE: Issue with latest Archy version

    Posted 11 days ago

    @Jonathan Van Steen

      bots:
        - bot:
            name: Initial Greeting
            refId: Initial Greeting_10
            actions:
              - askForBoolean:
                  name: Ask for Yes / No
                  question:
                    exp: "MakeCommunication(\n  ToCommunication(ToCommunication(\"<A question here?>\")))"
                  noMatch:
                    exp: "MakeCommunication(\n  ToCommunication(ToCommunication(\"Please input \\\"Yes\\\" or \\\"No\\\". <Some question here>?\")))"
                  outputs:
                    "yes":
                      actions:
                        - setParticipantData:
                            name: Set Participant Data
                            attributes:
                              - attribute:
                                  name:
                                    lit: Take Part in Survey
                                  value:
                                    lit: Yes
                    "no":
                      actions:
                        - setParticipantData:
                            name: Set Participant Data
                            attributes:
                              - attribute:
                                  name:
                                    lit: Take Part in Survey
                                  value:
                                    lit: No
                        - disconnect:
                            name: Disconnect
                    maxNoInputs:
                      enabled: true
                      actions:
                        - disconnect:
                            name: Disconnect
                    maxNoMatches:
                      enabled: true
                      actions:
                        - disconnect:
                            name: Disconnect


    ------------------------------
    Harshad Ramesh
    NA
    ------------------------------