Invalid jira name account settings invalid URL SETTING setting – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 6.8-6.8

Briefly, this error occurs when the Jira account settings in Elasticsearch are incorrect or improperly configured. Specifically, the URL setting is invalid. To resolve this issue, you should first verify the URL setting for your Jira account in Elasticsearch. Ensure that it is correctly formatted and points to the right location. If the problem persists, check other Jira account settings in Elasticsearch for any possible errors. It’s also important to ensure that your Jira account has the necessary permissions to interact with Elasticsearch.

This guide will help you check for common problems that cause the log ” invalid jira [” + name + “] account settings. invalid [” + URL_SETTING + “] setting ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin, settings.

Log Context

Log “invalid jira [” + name + “] account settings. invalid [” + URL_SETTING + “] setting” class name is JiraAccount.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 if ((protocol == Scheme.HTTP) && (Booleans.isTrue(settings.get(ALLOW_HTTP_SETTING)) == false)) {
 throw new SettingsException("invalid jira [" + name + "] account settings. unsecure scheme [" + protocol + "]");
 }
 this.url = uri;
 } catch (URISyntaxException | IllegalArgumentException e) {
 throw new SettingsException("invalid jira [" + name + "] account settings. invalid [" + URL_SETTING + "] setting"; e);
 }
 this.user = getSetting(name; USER_SETTING; settings; SECURE_USER_SETTING);
 if (Strings.isEmpty(this.user)) {
 throw requiredSettingException(name; USER_SETTING);
 }

 

How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?