git push to bitbucket fails immediately

北城以北 提交于 2019-12-02 16:24:31

问题


With error Unable to lookup 'my bitbucket account' (port 9418) (A non-recoverable error occurred during a database lookup.) on a corporate bitbucket repository. It fails so quickly, it doesn't seem to be looking up anything. It almost feels like I need to clear out cache, but don't know if that's even possible.

It has worked in the past with no issues and seems to be all of a sudden. I can log into the repository with no problem. Error only happens on push, clone, or pull.


回答1:


I'm going to assume, based on that port, that you're using the native git protocol on port 9418 instead of HTTPS or SSH - and that, therefore, you're using Bitbucket Server instead of Bitbucket Cloud. Either way, the git protocol is not supported (https://jira.atlassian.com/browse/BSERV-2508 for Server, https://bitbucket.org/site/master/issues/11899/not-able-to-use-git-protocol-url for Cloud).

Are you able to push/pull/clone/etc using HTTPS or SSH instead?



来源:https://stackoverflow.com/questions/46818013/git-push-to-bitbucket-fails-immediately

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!