mendix / database-connector

https://appstore.home.mendix.com/link/app/2888/Mendix/Database-Connector
Apache License 2.0
9 stars 26 forks source link

Unable to find a region via the region provider chain #33

Open KUNDAN19 opened 2 years ago

KUNDAN19 commented 2 years ago

I am working in an application where I am fetching data from Athena using Database connector and then storing it in Mendix DB. There is an issue which is occurring intermittently causing the failure of data pull.

Logs:- Athena: [Simba]AthenaJDBC An error has been thrown from the AWS Athena client. GENERIC_INTERNAL_ERROR: Unable to find a region via the region provider chain. Must provide an explicit region in the builder or setup environment to supply a region. [Execution ID: 5079bcb6-b5e1-4f95-96a1-eedfe7304ce5]

6:52:27 PMAPPINFOcom.mendix.systemwideinterfaces.MendixRuntimeException: java.sql.SQLException: [Simba]AthenaJDBC An error has been thrown from the AWS Athena client. GENERIC_INTERNAL_ERROR: Unable to find a region via the region provider chain. Must provide an explicit region in the builder or setup environment to supply a region. [Execution ID: 5079bcb6-b5e1-4f95-96a1-eedfe7304ce5] 6:52:27 PMAPPINFOat com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:110) 6:52:27 PMAPPINFOCaused by: 6:52:27 PMAPPINFOjava.sql.SQLException: [Simba]AthenaJDBC An error has been thrown from the AWS Athena client. GENERIC_INTERNAL_ERROR: Unable to find a region via the region provider chain. Must provide an explicit region in the builder or setup environment to supply a region. [Execution ID: 5079bcb6-b5e1-4f95-96a1-eedfe7304ce5] 6:52:27 PMAPPINFOat com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:110).