Create First Project Login Failed
Dear all forumers, I tried to create a first project using URL https://bitbucket.org/mediaprimadigital/fmt-automation-testing.git.
It displayed Error Message
A VCS repository URL. Supported formats: http(s)://, svn://, git://, etc. as well as URLs in Maven format. git -c core.askpass=C:\TeamCity\temp\pass17642444864294763132.bat -c credential.helper= ls-remote origin command failed. exit code: 128 stderr: remote: Login failed due to incorrect login credentials or method. remote: If you are unsure of which login details or login method to use, visit: remote: https://support.atlassian.com/bitbucket-cloud/docs/log-into-or-connect-to-bitbucket-cloud/ fatal: Authentication failed for 'https://bitbucket.org/mediaprimadigital/fmt-automation-testing.git/
In this articles, https://support.atlassian.com/bitbucket-cloud/docs/log-into-or-connect-to-bitbucket-cloud/
It say login via username and password. I did it.
I don't know how to resolve the problem. Please help me. A billion thanks for your help.
Please sign in to leave a comment.
Hello Kachon,
I believe BitBucket has deprecated basic auth; can you please try to set up an app password on BitBucket side and use it in place of your regular password?
I had setup the App Password but still the same error displayed.
Any others solutions? Please help me.
Hello Kachon,
The error states: "Login failed due to incorrect login credentials or method." Can you try to replace the "username" in below command with your actual login:
then run the command and specify your password/app password when prompted? If it fails on manual execution too, chances are either the credentials are incorrect, or there is some issue on the BitBucket side. In this case, I would suggest to reach out to the Atlassian support team.
I input the command into CMD and it display
e8c47cd5a21fbca729447b2d8838c0d0036acadb HEAD
e8c47cd5a21fbca729447b2d8838c0d0036acadb refs/heads/master
Please help me. Thanks for your help.
I tried to create github project and it works perfectly but the bitbucket doesn;t work accordingly.
Hello,
I have just tried to set up a project out of VCS repository URL using login & app password pair, and it has been created successfully. Can you please check if your app password has necessary permissions (read repository)?
In regards to the manual test you have performed, did you supply password or app password to the command?
Alternatively, you may try to set up oAuth connection to BitBucket to be able to retrieve some or all repositories on BitBucket side and create projects/VCS roots out of them using oAuth app.
My username and password has read and write access
Regard the manual test, no password promopt was displayed.
I check the set OAuth but there is no connection menu there.
When i run through the command git ls-remote -h https://nicholasWongKC@bitbucket.org/mediaprimadigital/butv3-automation-testing.git
Then i input the username and password it displaye this error message.
remote: Login failed due to incorrect login credentials or method.
remote: If you are unsure of which login details or login method to use, visit:
remote: https://support.atlassian.com/bitbucket-cloud/docs/log-into-or-connect-to-bitbucket-cloud/
fatal: Authentication failed for 'https://bitbucket.org/mediaprimadigital/butv3-automation-testing.git/'
What wrong with it, I can push code and access the repo?
I login to bitbucket with input email and with google login. How to solve it?
There are two sigin options when i input the command, one is signin with browser and another one is username and password. The sigin with browser is successful but signin with username and password is failed. What wrong?
Hello,
Unfortunately, I am not aware why your credentials do not work, but you may try to use app password in place of your regular password. If it works with Git command, it should work in TeamCity too.
I can use the Bitbucket App Password to login via commandline but not on the teamcity server. What wrong with it?
I got it from help from devops.
How to setup an agent in teamcity?
Please refer to this article for the details on how to install and start build agents: https://www.jetbrains.com/help/teamcity/install-and-start-teamcity-agents.html
I had installed the teamcity agent but when i run it, it display error
org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: unknown error: Chrome failed to start: exited abnormally. (unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that chrome has crashed)
How to resolve this error?
Unfortunately, this looks like a Selenium-specific issue; if you run the corresponding command manually on the agent machine under the same user as the one your agent runs as, does the issue reproduce there?