Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-12695

Cloning and pulling on public repository via http asks for username and password

    XMLWordPrintable

Details

    Description

      I've been having issues for the past few days where cloning or pulling on a repository with public read access keeps asking for username and password to bitbucket.

      This used to work flawlessly, but now it's a hit-and-miss. I have tried to figure out what makes it do this... it's happening on about 4/5 of my attempts. This is the output I usually get on the shell

      fatal: could not read Username for 'http://bitbucket.org': No such device or address
      
      

      After this, it normally asks for username and password, which should not be needed to clone a public repository.

      My clone URL is http://bitbucket.org/VLCore/vl72.git

      Here is a snippet of a terminal session where I cloned it. You can see here how many attempts it took to clone it. The same command was repeated time after time... it failed many times.

      vlocity:/~/devel
      vluser:$ rm -rf vl72; git clone http://bitbucket.org/VLCore/vl72.git
      Cloning into 'vl72'...
      Username for 'https://bitbucket.org': 
      Password for 'https://bitbucket.org': 
      remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.
      fatal: Authentication failed for 'https://bitbucket.org/VLCore/vl72.git/'
      vlocity:/~/devel
      vluser:$ rm -rf vl72; git clone http://bitbucket.org/VLCore/vl72.git
      Cloning into 'vl72'...
      Username for 'https://bitbucket.org': 
      Password for 'https://bitbucket.org': 
      remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.
      fatal: Authentication failed for 'https://bitbucket.org/VLCore/vl72.git/'
      vlocity:/~/devel
      vluser:$ rm -rf vl72; git clone http://bitbucket.org/VLCore/vl72.git
      Cloning into 'vl72'...
      Username for 'https://bitbucket.org': 
      Password for 'https://bitbucket.org': 
      remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.
      fatal: Authentication failed for 'https://bitbucket.org/VLCore/vl72.git/'
      vlocity:/~/devel
      vluser:$ rm -rf vl72; git clone http://bitbucket.org/VLCore/vl72.git
      Cloning into 'vl72'...
      Username for 'https://bitbucket.org': 
      Password for 'https://bitbucket.org': 
      remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.
      fatal: Authentication failed for 'https://bitbucket.org/VLCore/vl72.git/'
      vlocity:/~/devel
      vluser:$ rm -rf vl72; git clone http://bitbucket.org/VLCore/vl72.git
      Cloning into 'vl72'...
      Username for 'https://bitbucket.org': 
      Password for 'https://bitbucket.org': 
      remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.
      fatal: Authentication failed for 'https://bitbucket.org/VLCore/vl72.git/'
      vlocity:/~/devel
      vluser:$ rm -rf vl72; git clone http://bitbucket.org/VLCore/vl72.git
      Cloning into 'vl72'...
      Username for 'https://bitbucket.org': 
      Password for 'https://bitbucket.org': 
      remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.
      fatal: Authentication failed for 'https://bitbucket.org/VLCore/vl72.git/'
      vlocity:/~/devel
      vluser:$ rm -rf vl72; git clone http://bitbucket.org/VLCore/vl72.git
      Cloning into 'vl72'...
      Username for 'https://bitbucket.org': 
      Password for 'https://bitbucket.org': 
      remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.
      fatal: Authentication failed for 'https://bitbucket.org/VLCore/vl72.git/'
      vlocity:/~/devel
      vluser:$ rm -rf vl72; git clone http://bitbucket.org/VLCore/vl72.git
      Cloning into 'vl72'...
      remote: Counting objects: 71340, done.
      remote: Compressing objects: 100% (26903/26903), done.
      remote: Total 71340 (delta 28047), reused 67522 (delta 25144)
      Receiving objects: 100% (71340/71340), 37.18 MiB | 6.60 MiB/s, done.
      Resolving deltas: 100% (28047/28047), done.
      Checking connectivity... done.
      
      
      

      Anyone else having this issue?

      Attachments

        Activity

          People

            Unassigned Unassigned
            44f0e09a94df m0e_lnx
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: