datacamp / dbconnectr

Fetch credentials on the fly as you connect to databases
Other
6 stars 4 forks source link

503 when calling GetParameter #5

Closed bakera81 closed 6 years ago

bakera81 commented 6 years ago

Two days ago, I was able to access our databases fine. This morning I am getting an error when trying to create a connection.

> conn <- create_connection("projects-app")
Fetching /dbconnect/projects-app/user from EC2 parameter store
Fetching /dbconnect/projects-app/password from EC2 parameter store

An error occurred (503) when calling the GetParameter operation (reached max retries: 4): Service Unavailable
Error: parse error: premature EOF

                     (right here) ------^
In addition: Warning message:
running command ''aws' ssm get-parameter --with-decryption --name /dbconnect/projects-app/password' had status 255 
bakera81 commented 6 years ago

Restarting my R session seemed to resolve the problem.