Failed to create default repository [nolio ] in the Nexus3 repository. StatusCode is [400].
search cancel

Failed to create default repository [nolio ] in the Nexus3 repository. StatusCode is [400].

book

Article ID: 407779

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)

Issue/Introduction

The error StatusCode is [400] is recorded repeatedly in NAC log.

nolio_dm_all.log:
================
...
[ActionsSyncTimer] DEBUG (com.nolio.platform.shared.communication.services.artifacts.repositoryplugins.Nexus3Plugin:355) - Verifying Nexus3 repository [nolio ] exist.
...
[ActionsSyncTimer] DEBUG (com.nolio.platform.shared.communication.services.artifacts.repositoryplugins.ArtifactRepositoryPlugin:515) - Executed artifact upload request. Response: [HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 23 Jul 2025 18:53:54 GMT, Strict-Transport-Security: max-age=7776000, Server: Nexus/3.70.4-02 (PRO), X-Content-Type-Options: nosniff, Content-Type: application/json, Content-Length: 3] ResponseEntityProxy{[Content-Type: application/json,Content-Length: 3,Chunked: false]}}].

[ActionsSyncTimer] DEBUG (com.nolio.platform.shared.communication.services.artifacts.repositoryplugins.ArtifactRepositoryPlugin:513) - Executing artifact upload request [GET https://#.#.#.#:8445/nexus/service/rest/v1/script HTTP/1.1].

[ActionsSyncTimer] ERROR (com.nolio.platform.shared.communication.services.artifacts.repositoryplugins.Nexus3Plugin:276) - Failed to create default repository [nolio ].
java.lang.IllegalStateException: Error creating script [nolio-create-nolio -repository] in the Nexus3 repository. StatusCode is [400].
...

Environment

Release Automation - 6.8/6.9

Cause

There's a backspace in the end of repositoryPath line after '/nexus/repository/nolio ' causing the failure to identify the repository name 'nolio'.

Resolution

To fix this issue remove the blank backspace after nolio in that line repositoryPath of '<RA_HOME>\conf\nolio-repo.properties' file, then 
restart the nolio services.


<RA_HOME>\conf\nolio-repo.properties
====================================
# If you intend to use encrypted repository password, Please use the encrypt_password.bat/sh utility to encrypt the password.
type=nexus3
scheme=https
hostname=nexus_server_fqdn
port=8445
repositoryPath=/nexus/repository/nolio 
actionRepositoryPath=/nexus/repository/nolio-actions
username=admin
password=*************************************************************************
passwordEncrypted=true
deleteAnonymousUser=false