Resolve import errors after upgrading Assets - AWS Integration 3.0.0 in Data Center
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
After upgrading Assets - AWS Integration to Version 3.0.0, imports fail with the error:
Unable to load region from any of the providers in the chain
Identify the problem
You are running a non-bundled Java version (so far it has been detected with Eclipse JDK 17):
Java : Eclipse Adoptium 17.0.15+6 (OpenJDK Runtime Environment)
The insight_import.log shows
2025-06-05 08:21:24,571 [http-nio-8080-exec-328 url: /rest/insight/1.0/import/start/5/isots; user: jira] {jira.request.assession.id=yd7a06, jira.request.id=501x115891x1, jira.request.ipaddr=xx.xx.xx.xx, jira.request.url=/rest/insight/1.0/import/start/5/isots, jira.username=jira} | Error when importing objects with DefaultImportService, Error: ValidationInsightException: Validation errors were found: AWS connection: ErrorMessage{i18nKey='Could not connect to AWS-Cloud-Service', parameters=[], additionalMessage=null};
com.riadalabs.jira.plugins.insight.common.exception.ValidationInsightException: ValidationInsightException: Validation errors were found: AWS connection: ErrorMessage{i18nKey='Could not connect to AWS-Cloud-Service', parameters=[], additionalMessage=null};
at com.riadalabs.jira.plugins.insight.services.imports.common.DefaultImportService.testConnectionWithConfiguration(DefaultImportService.java:490) ~[insight-20.3.6-REL-0001.jar:?]
at com.riadalabs.jira.plugins.insight.services.imports.common.DefaultImportService.testConnection(DefaultImportService.java:440) ~[insight-20.3.6-REL-0001.jar:?]
at com.riadalabs.jira.plugins.insight.services.imports.common.DefaultImportService.testConnection(DefaultImportService.java:417) ~[insight-20.3.6-REL-0001.jar:?]
at com.riadalabs.jira.plugins.insight.services.imports.common.DefaultImportService.loadAndValidateConfiguration(DefaultImportService.java:576) ~[insight-20.3.6-REL-0001.jar:?]
at com.riadalabs.jira.plugins.insight.services.imports.common.DefaultImportService._startImport(DefaultImportService.java:749) ~[insight-20.3.6-REL-0001.jar:?]
at com.riadalabs.jira.plugins.insight.services.imports.common.DefaultImportService.requestStartImport(DefaultImportService.java:344) ~[insight-20.3.6-REL-0001.jar:?]
at com.riadalabs.jira.plugins.insight.channel.web.api.rest.services.imports.ImportResource.startImportSpecificOTs(ImportResource.java:144) ~[insight-20.3.6-REL-0001.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:569) ~[?:?]
The atlassian-jira.log shows
2025-06-05 08:21:24,569+0000 http-nio-8080-exec-328 url: /rest/insight/1.0/import/start/5/isots; user: jira ERROR s.knyazhentsev 501x115891x1 yd7a06 xx.xx.xx.xx /rest/insight/1.0/import/start/5/isots [io.riada.CacheProvider] Error getting cache data key: -xxxxxxxxxx
com.google.common.util.concurrent.UncheckedExecutionException: software.amazon.awssdk.core.exception.SdkClientException: Unable to load region from any of the providers in the chain software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain@4a297904: [software.amazon.awssdk.regions.providers.SystemSettingsRegionProvider@58a0b6f5: Unable to load region from system settings. Region must be specified either via environment variable (AWS_REGION) or system property (aws.region)., software.amazon.awssdk.regions.providers.AwsProfileRegionProvider@4947f3f4: No region provided in profile: default, software.amazon.awssdk.regions.providers.InstanceProfileRegionProvider@b4e58d8: Unable to contact EC2 metadata service.]
Solution
Specify the region in the JAVA environment
It is possible to resolve this if we specify the region in the JAVA environment variable. You can do so by executing the following command:
export AWS_REGION=your_aws_region
You can later check it by running:
echo %AWS_REGION%
Was this helpful?