Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-18639

Artifactory tries to resolve remote repositories configured with proxy in DNS and slows down every action requiring configuration reload

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 3 - High
    • Resolution: Done
    • Affects Version/s: 6.8.0, 6.8.1, 6.8.2, 6.8.3
    • Fix Version/s: 6.11.0, 6.10.1
    • Component/s: None
    • Labels:
      None
    • Severity:
      High

      Description

      After upgrade from 6.7.3 to 6.8.x version (Pro), all API requests requiring configuration reload slowed down to unbearable point (several minutes for creating repo).

      Once determining root cause of the issues, we've noticed it happened every time when configuration reload was necessary (settings changes, repository creation, etc.) and right after 

      [INFO ] (o.a.c.CentralConfigServiceImpl:607) - Reloading configuration... old revision 136, new revision 137
      

      and between info message about saving the configuration there was large amount of warnings

      [WARN ] (o.a.r.UrlVerifier   :65) - Unable to resolve artifactory-pro URL address of https://jfrog.bintray.com/artifactory-pro-rpms
      

       

      The environment we're running is behind firewall and doesn't have direct access to the internet, so all remote repositories are configured through proxy. As the DNS server in the environment tried to resolve such addresses (ending with SERVFAIL), but taking some amount of time before timeout (for example 7 seconds), the total amount of time the action took was 7 seconds * number of all configured remote repositories.

       

      In my opinion, Artifactory should not try to resolve any URL addresses of remote repositories, if they are configured with proxy, as it behaved correctly before 6.8.x version.

        Attachments

          Activity

            People

            Assignee:
            nadavy Nadav Yogev
            Reporter:
            lukasraska@tieto.com Lukas Raska
            Votes:
            4 Vote for this issue
            Watchers:
            11 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-18639 -
                SYNCHRONIZED
                • Last Sync Date: