{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/7872","labels_url":"https://api.github.com/repos/npm/npm/issues/7872/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/7872/comments","events_url":"https://api.github.com/repos/npm/npm/issues/7872/events","html_url":"https://github.com/npm/npm/issues/7872","id":66823517,"number":7872,"title":"git+https urls don't seem to be honoured in 2.7.5","user":{"login":"davetayls","id":151695,"avatar_url":"https://avatars.githubusercontent.com/u/151695?v=3","gravatar_id":"","url":"https://api.github.com/users/davetayls","html_url":"https://github.com/davetayls","followers_url":"https://api.github.com/users/davetayls/followers","following_url":"https://api.github.com/users/davetayls/following{/other_user}","gists_url":"https://api.github.com/users/davetayls/gists{/gist_id}","starred_url":"https://api.github.com/users/davetayls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davetayls/subscriptions","organizations_url":"https://api.github.com/users/davetayls/orgs","repos_url":"https://api.github.com/users/davetayls/repos","events_url":"https://api.github.com/users/davetayls/events{/privacy}","received_events_url":"https://api.github.com/users/davetayls/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/bug","name":"bug","color":"C40233"},{"url":"https://api.github.com/repos/npm/npm/labels/support","name":"support","color":"FF91AF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-04-07T08:31:08Z","updated_at":"2015-04-11T16:12:35Z","closed_at":null,"body":"\r\nMy builds started breaking in 2.7.5 saying they don't have permission on private dependencies with the url structure:\r\n\r\n`git+https://user:pass@bitbucket.org/team/repo.git`\r\n\r\nIn the logs it looks like \r\n\r\n```\r\nnpm ERR! git clone --template=/app/.npm/_git-remotes/_templates --mirror ssh://git@bitbucket.org/team/repo.git /app/.npm/_git-remotes/ssh-git-bitbucket-org-team-repo-git-9307203e\r\nnpm ERR! git clone --template=/app/.npm/_git-remotes/_templates --mirror ssh://git@bitbucket.org/team/repo.git /app/.npm/_git-remotes/ssh-git-bitbucket-org-team-repo-git-9307203e: Initialized empty Git repository in /app/.npm/_git-remotes/ssh-git-bitbucket-org-team-repo-git-9307203e/\r\nnpm ERR! git clone --template=/app/.npm/_git-remotes/_templates --mirror ssh://git@bitbucket.org/team/repo.git /app/.npm/_git-remotes/ssh-git-bitbucket-org-team-repo-git-9307203e: \r\nnpm ERR! git clone --template=/app/.npm/_git-remotes/_templates --mirror ssh://git@bitbucket.org/team/repo.git /app/.npm/_git-remotes/ssh-git-bitbucket-org-team-repo-git-9307203e: Host key verification failed.\r\nnpm ERR! git clone --template=/app/.npm/_git-remotes/_templates --mirror ssh://git@bitbucket.org/team/repo.git /app/.npm/_git-remotes/ssh-git-bitbucket-org-team-repo-git-9307203e: fatal: The remote end hung up unexpectedly\r\n```\r\n\r\nIt seems like it is not using the correct https url with the username and password.\r\n\r\nI rolled back to using npm `2.5` and the issues went away"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/91872327","html_url":"https://github.com/npm/npm/issues/7872#issuecomment-91872327","issue_url":"https://api.github.com/repos/npm/npm/issues/7872","id":91872327,"user":{"login":"othiym23","id":418097,"avatar_url":"https://avatars.githubusercontent.com/u/418097?v=3","gravatar_id":"","url":"https://api.github.com/users/othiym23","html_url":"https://github.com/othiym23","followers_url":"https://api.github.com/users/othiym23/followers","following_url":"https://api.github.com/users/othiym23/following{/other_user}","gists_url":"https://api.github.com/users/othiym23/gists{/gist_id}","starred_url":"https://api.github.com/users/othiym23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/othiym23/subscriptions","organizations_url":"https://api.github.com/users/othiym23/orgs","repos_url":"https://api.github.com/users/othiym23/repos","events_url":"https://api.github.com/users/othiym23/events{/privacy}","received_events_url":"https://api.github.com/users/othiym23/received_events","type":"User","site_admin":false},"created_at":"2015-04-11T16:12:35Z","updated_at":"2015-04-11T16:12:35Z","body":"This is one of the paths that I apparently didn't test enough – I can replicate that the credentials are getting stripped from the URLs and am working on a fix."}}