Skip to content
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

CredentialsError in web UI #3

Open
mvayngrib opened this issue Aug 12, 2017 · 7 comments
Open

CredentialsError in web UI #3

mvayngrib opened this issue Aug 12, 2017 · 7 comments

Comments

@mvayngrib
Copy link

first off, thanks for this project, it has been very useful to me!

recently, i've started seeing the below error when I open the web admin. Do you know what I might be doing wrong?

{
  "error": {
    "message": "Missing credentials in config",
    "code": "CredentialsError",
    "time": "2017-08-12T14:27:01.645Z",
    "retryable": true,
    "originalError": {
      "message": "Could not load credentials from any providers",
      "code": "CredentialsError",
      "time": "2017-08-12T14:27:01.645Z",
      "retryable": true,
      "originalError": {
        "message": "Connection timed out after 1000ms",
        "code": "TimeoutError",
        "time": "2017-08-12T14:27:01.644Z",
        "retryable": true
      }
    }
  }
}
@mvayngrib
Copy link
Author

also this one:

{
  "error": {
    "message": "Missing credentials in config",
    "code": "CredentialsError",
    "time": "2017-08-12T14:34:28.910Z",
    "originalError": {
      "message": "Could not load credentials from any providers",
      "code": "CredentialsError",
      "time": "2017-08-12T14:34:28.910Z",
      "originalError": {
        "code": "ECONNRESET",
        "message": "socket hang up"
      }
    }
  }
}

@gjesse
Copy link

gjesse commented Aug 15, 2017

yes, i'm seeing this as well.. any advice on how to set the credentials?

@wilsont
Copy link

wilsont commented Aug 22, 2017

me2, any advice?

mvayngrib added a commit to mvayngrib/dynamo-local-admin-docker that referenced this issue Aug 22, 2017
@mvayngrib
Copy link
Author

ok, i have a temporary solution for this, until the owners get back to us. The gist is to add dummy credentials to /root/.aws/credentials

the fast way: use this fork and run docker-compose up: https://github.com/mvayngrib/dynamo-local-admin-docker

the slow way: use this branch on the same fork and build your own image with credentials built in

happy to submit a PR from either solution, depending on the owners' preference. I haven't tested the slow one, as I had trouble building the image, but the first one definitely works

@aaronshaf
Copy link
Member

aaronshaf commented Aug 22, 2017

I still need to troubleshoot this, but in the meantime if someone wants to look in the commit log of https://github.com/aaronshaf/dynamodb-admin they may find the breaking commit there.

@kbober-ebsco
Copy link

You can also launch the container passing the AWS credentials as environment variables as well:
docker run -p 8000:8000 -it -e AWS_ACCESS_KEY_ID=key -e AWS_SECRET_ACCESS_KEY=secret --rm instructure/dynamo-local-admin

That worked for me.

@tierra
Copy link

tierra commented Sep 27, 2017

This has been fixed in instructure/dockerfiles@f8e32d9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants