Closed
Description
Environment
- Elixir & Erlang versions (elixir --version):
Erlang/OTP 27 [erts-15.0] [source] [64-bit] [smp:16:16] [ds:16:16:10] [async-threads:1] [jit:ns]
Elixir 1.17.2 (compiled with Erlang/OTP 27)
- ExAws version
mix deps |grep ex_aws
* ex_aws 2.5.5 (Hex package) (mix)
locked at 2.5.5 (ex_aws) ed7ee39c
* ex_aws_sqs 3.4.0 (Hex package) (mix)
locked at 3.4.0 (ex_aws_sqs) b5044822
- HTTP client version. IE for hackney do
mix deps | grep hackney
* req 0.5.6 (Hex package) (mix)
locked at 0.5.6 (req) cfaa8e72
Current behavior
Attempting to use the Req backend fails as :follow_redirect
is not an http option. This error is from Broadway SQS.
** (EXIT) an exception was raised:
** (ArgumentError) unknown option :follow_redirect. Did you mean :follow_redirects?
(req 0.5.6) lib/req/request.ex:1169: Req.Request.validate_options/2
(req 0.5.6) lib/req.ex:512: Req.merge/2
(req 0.5.6) lib/req.ex:1064: Req.request/2
(ex_aws 2.5.5) lib/ex_aws/request/req.ex:22: ExAws.Request.Req.request/5
(ex_aws 2.5.5) lib/ex_aws/instance_meta.ex:18: ExAws.InstanceMeta.request/3
(ex_aws 2.5.5) lib/ex_aws/instance_meta.ex:76: ExAws.InstanceMeta.task_role_credentials/1
(ex_aws 2.5.5) lib/ex_aws/instance_meta.ex:91: ExAws.InstanceMeta.security_credentials/1
(ex_aws 2.5.5) lib/ex_aws/config/auth_cache.ex:132: ExAws.Config.AuthCache.refresh_auth_now/2
(elixir 1.17.1) lib/gen_server.ex:1128: GenServer.call/3
- config
config :ex_aws,
http_client: ExAws.Request.Req
Expected behavior
Expect to successfully connect to SQS.
Metadata
Metadata
Assignees
Labels
No labels