Skip to content

Instantly share code, notes, and snippets.

@joshchernoff joshchernoff/config
Last active Jul 7, 2016

What would you like to do?
config :ex_aws,
access_key_id: [{:system, "xxxxxx"}, :instance_role],
secret_access_key: [{:system, "xxxxx"}, :instance_role],
region: "us-west-2",
debug_requests: true
[error] GenServer ExAws.Config.AuthCache terminating
** (CaseClauseError) no case clause matching: {:error, %{__exception__: true, id: nil, reason: :connect_timeout}}
(ex_aws) lib/ex_aws/instance_meta.ex:5: ExAws.InstanceMeta.request/2
(ex_aws) lib/ex_aws/instance_meta.ex:15: ExAws.InstanceMeta.security_credentials/1
(ex_aws) lib/ex_aws/config/auth_cache.ex:37: ExAws.Config.AuthCache.refresh_config/2
(ex_aws) lib/ex_aws/config/auth_cache.ex:27: ExAws.Config.AuthCache.handle_call/3
(stdlib) gen_server.erl:629: :gen_server.try_handle_call/4
(stdlib) gen_server.erl:661: :gen_server.handle_msg/5
(stdlib) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
Last message: {:refresh_config, %ExAws.S3{config: %{access_key_id: [{:system, "xxxxxx"}, :instance_role], debug_requests: true, host: %{"ap-northeast-1" => "", "ap-southeast-1" => "", "ap-southeast-2" => "", "eu-central-1" => "", "eu-west-1" => "", "sa-east-1" => "", "us-east-1" => "", "us-west-1" => "", "us-west-2" => ""}, http_client: ExAws.Request.HTTPoison, json_codec: Poison, region: "us-west-2", scheme: "https://", secret_access_key: [{:system, "xxxxxxxx"}, :instance_role]}, service: :s3}}
State: ExAws.Config.AuthCache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.