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

Pushing to bitbucket: authorization failed

    XMLWordPrintable

Details

    Description

      I'm new to mercurial & bitbucket (coming from git & github) and I'm trying to use bitbucket for a project.

      So far I've got write access to a new //private// bitbucket repository, and I got started by:

      cloning

      adding my existing project

      committing

      trying push, I get //authorization failed// via:

      ==== HTTPS ====
      {{{
      $ hg push https://mariusbutuc@bitbucket.org/DB2UAdmin/repo\\
      http authorization required
      realm: Bitbucket.org HTTP
      user: mariusbutuc
      password:
      pushing to https://mariusbutuc@bitbucket.org/DB2UAdmin/repo\\
      searching for changes
      abort: authorization failed
      }}}

      ==== SSH ====
      {{{
      $ hg push ssh://hg@bitbucket.org/DB2UAdmin/repo
      pushing to ssh://hg@bitbucket.org/DB2UAdmin/repo
      searching for changes
      remote: adding changesets
      remote: adding manifests
      remote: adding file changes
      remote: added 1 changesets with 9664 changes to 9664 files
      remote: You're not allowed to write to this repository.
      remote: transaction abort!
      remote: rollback completed
      remote: abort: pretxnchangegroup.bb_perm hook failed
      }}}

      also attempted via simple HTTP, got similar results as with HTTPS.

      Extra details:

      • python 2.7.1+
      • mercurial 1.7.5
      • on Ubuntu 11.04

      ==== How can I get it to work? ====

      Attachments

        Activity

          People

            Unassigned Unassigned
            legacy-bitbucket-user Legacy Bitbucket Cloud User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: