2019-07-31 21:03:19,732 INFO [http-nio-7990-exec-7] RR084414 @1FD09S4x1263x20561152x1 rf10rq 10.45.1.16 "POST /rest/importer/latest/projects/TEST/import/repos HTTP/1.1" c.a.s.i.s.git.command.CreateCommand Repository TEST/maven-quick-start (202) has been created and configured successfully
2019-07-31 21:04:22,944 ERROR [pool-7-thread-2] RR084414 @1FD09S4x1263x20561152x1 rf10rq 10.45.1.16 "POST /rest/importer/latest/projects/TEST/import/repos HTTP/1.1" c.a.b.i.i.repository.RefSyncTask Failed to import repository: TEST/maven-quick-start[202]
com.atlassian.bitbucket.scm.CommandFailedException: '/usr/local/git/bin/git fetch --force --prune --progress https://RamanichandranR@github.com/RamanichandranR/maven-quick-start.git +refs/*:refs/*' exited with code 128 saying: fatal: unable to access 'https://RamanichandranR@github.com/RamanichandranR/maven-quick-start.git/': Failed connect to github.com:443; Operation now in progress
at com.atlassian.bitbucket.scm.DefaultCommandExitHandler.onError(DefaultCommandExitHandler.java:46) ~[bitbucket-spi-4.11.2.jar:na]
at com.atlassian.bitbucket.scm.git.command.GitCommandExitHandler.evaluateThrowable(GitCommandExitHandler.java:104) ~[na:na]
at com.atlassian.bitbucket.scm.git.command.GitCommandExitHandler.onError(GitCommandExitHandler.java:201) ~[na:na]
at com.atlassian.bitbucket.scm.DefaultCommandExitHandler.onExit(DefaultCommandExitHandler.java:31) ~[bitbucket-spi-4.11.2.jar:na]
at com.atlassian.stash.internal.scm.git.command.fetch.FetchExitHandler.onExit(FetchExitHandler.java:39) ~[na:na]
at com.atlassian.bitbucket.scm.BaseCommand.callExitHandler(BaseCommand.java:146) ~[bitbucket-spi-4.11.2.jar:na]
at com.atlassian.bitbucket.scm.BaseCommand$CommandFuture.internalGet(BaseCommand.java:280) ~[bitbucket-spi-4.11.2.jar:na]
at com.atlassian.bitbucket.scm.BaseCommand$CommandFuture.get(BaseCommand.java:244) ~[bitbucket-spi-4.11.2.jar:na]
at com.atlassian.bitbucket.scm.BaseCommand.call(BaseCommand.java:83) ~[bitbucket-spi-4.11.2.jar:na]
at com.atlassian.stash.internal.scm.git.command.SimpleGitCommand.configureAndCall(SimpleGitCommand.java:84) ~[na:na]
at com.atlassian.stash.internal.scm.git.command.fetch.MirrorSynchronizeCommand.call(MirrorSynchronizeCommand.java:108) ~[na:na]
at com.atlassian.stash.internal.scm.git.command.fetch.MirrorSynchronizeCommand.call(MirrorSynchronizeCommand.java:35) ~[na:na]
at com.atlassian.bitbucket.internal.importer.repository.RefSyncTask.syncRefs(RefSyncTask.java:122) [bitbucket-importer-4.11.2.jar:na]
at com.atlassian.bitbucket.internal.importer.repository.RefSyncTask.lambda$call$0(RefSyncTask.java:78) [bitbucket-importer-4.11.2.jar:na]
at com.atlassian.stash.internal.user.DefaultEscalatedSecurityContext.call(DefaultEscalatedSecurityContext.java:51) ~[bitbucket-service-impl-4.11.2.jar:na]
at com.atlassian.bitbucket.internal.importer.repository.RefSyncTask.call(RefSyncTask.java:77) [bitbucket-importer-4.11.2.jar:na]
at com.atlassian.bitbucket.internal.importer.repository.RefSyncTask.call(RefSyncTask.java:37) [bitbucket-importer-4.11.2.jar:na]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_74]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_74]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_74]
... 1 frame trimmed
Caused by: com.atlassian.utils.process.ProcessException: Non-zero exit code: 128
at com.atlassian.bitbucket.scm.SummarizingProcessHandler.complete(SummarizingProcessHandler.java:47) ~[bitbucket-spi-4.11.2.jar:na]
at com.atlassian.utils.process.ExternalProcessImpl.wrapUpProcess(ExternalProcessImpl.java:682) ~[atlassian-processutils-1.7.8.jar:na]
at com.atlassian.utils.process.ExternalProcessImpl.finish(ExternalProcessImpl.java:161) ~[atlassian-processutils-1.7.8.jar:na]
at com.atlassian.bitbucket.scm.BaseCommand$CommandFuture.get(BaseCommand.java:242) ~[bitbucket-spi-4.11.2.jar:na]
... 13 common frames omitted
2019-07-31 21:04:23,150 INFO [threadpool:thread-2] RR084414 @1FD09S4x1263x20561152x1 rf10rq 10.45.1.16 "POST /rest/importer/latest/projects/TEST/import/repos HTTP/1.1" c.a.s.i.s.git.command.DeleteCommand Successfully deleted repository directory /vha/application-data/atlassian/bitbucket/shared/data/repositories/202
Hi Stephen,
I am already aware of this step. Since my bitbucket account is behind a proxy and my git hub account is not. I think that is creating a problem here. So cant we import a repo to bitbucket repo that is behind a proxy
Hello Ramani,
Thank you for sending over the output log from the attempted import. From this log I’m able to see the following error: unable to access 'https://RamanichandranR@github.com/RamanichandranR/maven-quick-start.git/': Failed connect to github.com:443
This error is pointing to an issue accessing the URL you provided. Could you please confirm the account you’re using does have access to this repo and you’re able to authenticate without issue?
Regards,
Stephen Sifers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stephen,
Thanks for taking this up. No the bitbucket account does not have access to my github repo. Can you please let me know how to authenticate
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ramani,
When you connecting your GitHub instance to Bitbucket to be migrated you should then be authenticated as your GitHub account to access your Repos. There is a guide to walk you through this process and this may be found at Import a repository from GitHub or GitLab.
I hope this information proves helpful and you're able to get your repos imported.
Regards,
Stephen Sifers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.