Version Control throws exception. [HTTP 400] (45234)
search cancel

Version Control throws exception. [HTTP 400] (45234)

book

Article ID: 133758

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Version control cannot connect to Git. The following exception is thrown:

[HTTP 400] (45234) The repository cannot be reached with the provided URL and SSH Information: No detail information available.
com.uc4.ecc.backends.exceptions.AutomationEngineAPIException
com.uc4.ecc.backends.impl.dataservice.request.RequestService.sendAndWait(RequestService.java:74)
com.uc4.ecc.backends.dataservice.request.IRequestService$pbryglu.sendAndWait(Unknown Source)
com.uc4.ecc.ae.repository.dataservice.impl.RepositoryService.doesRepositoryExist(RepositoryService.java:56)
com.uc4.ecc.ae.repository.view.RepositoryFolderTreeNavigationEntryPresenter.lambda$load$29(RepositoryFolderTreeNavigationEntryPresenter.java:37)
com.uc4.ecc.framework.commons.controls.asyncwidget.AsyncLoadingContainer.lambda$createRequestCoordinator$97(AsyncLoadingContainer.java:354)
com.uc4.ecc.framework.core.async.NoArgsLoaderWrapper.load(NoArgsLoaderWrapper.java:16)
com.uc4.ecc.framework.core.async.NoArgsLoaderWrapper.load(NoArgsLoaderWrapper.java:7)
com.uc4.ecc.framework.core.async.BaseRequestCoordinator$1$1.call(BaseRequestCoordinator.java:226)
com.uc4.ecc.framework.core.pool.ContextAwareExecutorService$CallableImplementation.call(ContextAwareExecutorService.java:72)
java.util.concurrent.FutureTask.run(Unknown Source)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[HTTP 400] (45234) The repository cannot be reached with the provided URL and SSH Information: No detail information available.
com.uc4.api.rest.exceptions.BadRequestException
com.uc4.api.rest.common.requests.RestJsonRequest.handleDefaultErrors(RestJsonRequest.java:63) com.uc4.api.rest.common.requests.RestJsonRequest.handleErrorResponse(RestJsonRequest.java:48) com.uc4.ecc.ae.repository.dataservice.requests.DoesRepositoryExistRequest.handleErrorResponse(DoesRepositoryExistRequest.java:26) com.uc4.api.rest.common.requests.RestRequest.handleResponse(RestRequest.java:33) com.uc4.api.rest.connection.RestConnection.sendRestRequestAndWait(RestConnection.java:137) com.uc4.api.rest.connection.RestConnection.sendRequestWithAuthAndWait(RestConnection.java:100) com.uc4.ecc.backends.impl.dataservice.request.RequestService.sendAndWait(RequestService.java:72) com.uc4.ecc.backends.dataservice.request.IRequestService$pbryglu.sendAndWait(Unknown Source) com.uc4.ecc.ae.repository.dataservice.impl.RepositoryService.doesRepositoryExist(RepositoryService.java:56) com.uc4.ecc.ae.repository.view.RepositoryFolderTreeNavigationEntryPresenter.lambda$load$29(RepositoryFolderTreeNavigationEntryPresenter.java:37) com.uc4.ecc.framework.commons.controls.asyncwidget.AsyncLoadingContainer.lambda$createRequestCoordinator$97(AsyncLoadingContainer.java:354) com.uc4.ecc.framework.core.async.NoArgsLoaderWrapper.load(NoArgsLoaderWrapper.java:16) com.uc4.ecc.framework.core.async.NoArgsLoaderWrapper.load(NoArgsLoaderWrapper.java:7) com.uc4.ecc.framework.core.async.BaseRequestCoordinator$1$1.call(BaseRequestCoordinator.java:226) com.uc4.ecc.framework.core.pool.ContextAwareExecutorService$CallableImplementation.call(ContextAwareExecutorService.java:72) java.util.concurrent.FutureTask.run(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

 

Environment

Release : 12.2, 12.3

Component : AUTOMATION ENGINE

Cause

Configuration.

Resolution

The entry in the known_hosts is incorrect. Please make sure that the entry is ssh-rsa an created with a command similar to the one listed below:

Administrator@servername MINGW64 ~
$ ssh -T -p 7999 git@GIT_SERVER
The authenticity of host '[GIT_SERVER]:7999 ([IP ADDRESS]:7999)' can't be established.
RSA key fingerprint is SHA256:VP2/123456789abcdefghijklmnopqrstuvwxyz.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '[GIT_SERVER]:7999,[IP ADDRESS]:7999' (RSA) to the list of known hosts.
shell request failed on channel 0

The known_hosts looks like: