-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWS Athena unable to list schema (no tables found, check connection settings) #63
Comments
Thanks for the log exerpt! Another error is progress at least... hmm. Sorry about that!
You mentioned in the other issue that there was a aws_session_token property in your ~/.aws/credentials file. Perhaps the session token timed out somehow? Could you perhaps refresh the list of tables in DataGrip, and see if the session token in the credentials file changes, and whether Ultorg is still not able to retrieve the list of tables? (In Ultorg, you refresh the list of tables by right-clicking the data source icon and clicking Refresh Table Metadata. There is probably a similar action in DataGrip.) |
And, just to confirm, you mean you could see the table list once in Ultorg, right? |
Yes that's right, I saw the database list once in Ultorg from memory I then tried to click into loading the table list for one database and noticed in the error log it said security token expired So I re-ran okta_aws I often have do this with Datagrip too, but never saw a database list after that (also closed Ultorg and re-opened it), I can confirm re-running okta_aws generates new AWS credentials, okta_aws is a company specific thing but I think its just giving me a new session token + access key + secret key after I give password/2 factor which I do once my current session expires feels like every 60 minutes or so |
There's no associated logs when no tables are found |
For reference I was using the folders tab before to try access the databases |
OK, that sounds promising; it would explain why you saw a table list but then got the authorization error later. Though I'm wondering why it doesn't work when you restart Ultorg. Perhaps, if you have time for another experiment:
That's interesting! I wonder if it's a timing issue... since you once saw it working before in the Folders tab. The test steps above might help reset things.
Yeah, the Folders tab is the one to use, except for the purpose of installing the driver. The Services tab is a part of an underlying library that Ultorg is using, and it will be going away in a future release, once I have a better UI for installing JDBC drivers. |
What's a bit weird is that I could see the list of databases initially, but not any more - I can continue to see them in Datagrip and Athena's web UI
The text was updated successfully, but these errors were encountered: