Skip to content

Issue with expired token #22

@Emelieh21

Description

@Emelieh21

First of all: thanks a lot for this super useful package!

In general everything works well, but I have one issue that I have been trying to fix for a while, but couldn't figure out how...

I have aws credentials that expire every hour. As soon as they are refreshed, I get the following error in R when trying to query/reconnect:

Error in .jcall(drv@jdrv, "Ljava/sql/Connection;", "connect", as.character(url)[1], : java.sql.SQLException: [Simba][AthenaJDBC](100071) An error has been thrown from the AWS Athena client. The security token included in the request is expired [Execution ID not available]

The only work around I have now is to restart the R session, which is quite annoying. I was hoping to somehow refresh the credentials the AWR.Athena() function is using without having to restart the session. Is there a way to do this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions