Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-3701

pre-receive hook error when pushing to https URL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Handled by Support
    • Medium
    • None
    • None
    • None
    • Stash version: v2.5.2

      java version "1.7.0_19"
      OpenJDK Runtime Environment (rhel-2.3.9.1.0.1.el6_4-x86_64)
      OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

    Description

      After creating a new repository within Stash, and attempting the following via command line in an existing git repo:

      git remote set-url origin https://ccoker@stash.example.com/scm/uxg/mako.git
      git push --all
      

      ...the following error occurs:

      Password for 'https://ccoker@stash.example.com':
      Counting objects: 15648, done.
      Delta compression using up to 8 threads.
      Compressing objects: 100% (9705/9705), done.
      Writing objects: 100% (15648/15648), 29.32 MiB | 2.45 MiB/s, done.
      Total 15648 (delta 8213), reused 11461 (delta 5282)
      remote: Could not create socket to ping Stash: Connection timed out
      To https://ccoker@stash.example.com/scm/uxg/mako.git
       ! [remote rejected] master -> master (pre-receive hook declined)
      error: failed to push some refs to 'https://ccoker@stash.example.com/scm/uxg/mako.git'
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aba58644f27f Chris Coker
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: