Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Regression:
      Yes

      Description

      Symptoms: Deployments to the local Artifactory repository are not replicated to the remote repository with event-based pull replication enabled. Only the Cron job or a manual run replicates the file.

      Steps to reproduce:

      You need 2 Artifactory installations, the source (Artifactory-1) and the target (Artifactory-2)

      1. Set up a generic local repository on Artifactory-1
      2. On Artifactory-2, set up a Generic Remote repository pointed to the local Artifactory-1 repo
      3. Configure Pull Replication as normal in the UI, enable Event based pull replication
      4. Deploy a file to Artifactory-1 generic local
      5. Observe that the file does not get pulled to the Artifactory-2 remote repository cache

       

      On the backend, it looks like Artifactory-2 is establishing the connection but then cuts it off with a 499 HTTP error:

      [Nginx debug logs]

      10.138.0.2 - - [06/Apr/2019:00:29:37 +0000] "POST /artifactory/api/replications/channels/establishChannel HTTP/1.1" 499 0 "-" "Artifactory/6.7.0"

      There are also errors in the Artifactory logs about timeouts:

      2019-04-09 08:12:26,029 [Incoming-Replication-Channel-test-generic-remote] [ERROR] (o.a.a.r.c.r.e.InboundReplicationChannel:263) - Could not establish remote replication stream for test-generic-remote
      java.net.SocketTimeoutException: Read timed out
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
      at java.net.SocketInputStream.read(SocketInputStream.java:171)
      at java.net.SocketInputStream.read(SocketInputStream.java:141)
      at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              patrickr Patrick Russell
            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: