Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-3277

LRA quickstarts fail on Narayana AMS CI with curl could not find the target server

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 5.10.5.Final
    • 5.10.4.Final
    • Quickstarts
    • None

    Description

      The quickstarts fails on CI as it seems the CI is now dual stack and for normal run we need to enforce the IPv4 to be used.

      The when localhost is used then curl is directed to ::1 while java Thorntail is started at 0.0.0.0.

      The workaround the setup the curl should force the IPv4 to be used -4.

      The CI error is observed with errors

      ===== injecting a fault which should halt the service on pid
      ...
      WFLYUT0006: Undertow HTTP listener default listening on 0.0.0.0:8080
      ...
      Failed to connect to ::1: Network is unreachable
      

      The same happens on tomcat driver example where error is like

      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
      
        0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to ::1: Network is unreachable
      Listening for transport dt_socket at address: 8000
      INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/9.0.7
      

      Attachments

        Activity

          People

            ochaloup@redhat.com Ondrej Chaloupka (Inactive)
            ochaloup@redhat.com Ondrej Chaloupka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: