Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-2934

SourceTree queries Stash on wrong URL with a very high rate (>250 tps)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • High
    • None
    • 1.6.12
    • REST, Stash
    • Client: Source Tree installed on a standalone laptop Windows 7 client
      Server: Stash 3.4.3 behind a nginx proxy (with a prefix: /git)

    Description

      We are using SourceTree to target our internal Stash server (version 3.4.3, 5000, not Data Center). The server is behind a nginx proxy. The base URL is: http://rndwww.foo.bar.net/git/

      Problem:
      nginx was flooded several time with SourceTree targetting a wrong url with at a very high rate (creating the first time a deny of service of nginx).
      Example of wrong url:
      http://rndwww.foo.bar.net/rest/api/1.0/users/kleboeuf/repos?limit=25
      rate = 261 times per second

      But the right url should be:
      http://rndwww.foo.bar.net/git/rest/api/1.0/users/kleboeuf/repos?limit=25

      The problem was reported a few minutes after an update of SourceTree. Unfortunately, I don't know the previous version. The guy was pushing and he had to stop SourceTree as it was frozen. No error message.

      Attachments

        Activity

          People

            Unassigned Unassigned
            5e8427dc4da3 Marc Bee
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: