Cities:Skylines Pedestrian Crossing Mod
OTP Workshop for YOW! Lambda Jam 2013
Erlang bindings for Cairo image library
Arduino and Python SimConnect code for MSFS autopilot panel
Slides for Erlang Talks
Conway's game of life
Code for LeoStick LED alarm clock
Code for PebbleV2 + LCD LED alarm clock
V3 of the alarm clock - tricolour LED; Arduino Pro Mini; Two button control
Code for my light-up & electrically locking cabinet
issue commentex-aws/ex_aws
ExAws.Config.retrieve_runtime_value getting throttled
I have to assume its a request to an IAM or STS endpoint happening somewhere around here https://github.com/ex-aws/ex_aws/blob/master/lib/ex_aws/config.ex#L92
comment created time in 2 days
issue openedex-aws/ex_aws
ExAws.Config.retrieve_runtime_value getting throttled
Environment
-
Elixir & Erlang versions (elixir --version): Elixir 1.11.4 Erlang/OTP 23 [erts-11.2.2.3] [source] [64-bit] [smp:2:1] [ds:2:1:10] [async-threads:1]
-
ExAws version
mix deps |grep ex_aws
{:ex_aws_ssm, "~> 2.1.0"},
{:ex_aws_s3, "~> 2.1.0"},
{:ex_aws_sts, "~> 2.1.0"},
{:ex_aws_sqs, "~> 3.3.1"},
- HTTP client version. IE for hackney do
mix deps | grep hackney
Current behavior
I am using Broadway's SQS module to listen to a queue. Every once and a while, since June 8th mid day EST, several of our environments have seen the VM crash after emitting many of the following messages very quickly:
GenServer S3Events.Consumer.Broadway.Producer_0 terminating
** (BadMapError) expected a map, got: {:error, {:http_error, 400, %{code: "Throttling", detail: "", message: "Rate exceeded", request_id: "a3c1cfc8-20ef-4579-94a3-120efef98375", type: "Sender"}}}
(elixir 1.11.4) lib/map.ex:422: Map.take/2
(ex_aws 2.2.1) lib/ex_aws/config.ex:91: ExAws.Config.retrieve_runtime_value/2
(elixir 1.11.4) lib/stream.ex:572: anonymous fn/4 in Stream.map/2
(elixir 1.11.4) lib/enum.ex:3776: Enumerable.List.reduce/3
(elixir 1.11.4) lib/stream.ex:1609: Enumerable.Stream.do_each/4
(elixir 1.11.4) lib/enum.ex:974: Enum.find/3
(ex_aws 2.2.1) lib/ex_aws/config.ex:71: anonymous fn/2 in ExAws.Config.retrieve_runtime_config/1
(stdlib 3.14.2) maps.erl:233: :maps.fold_1/3
Last message: {:"$gen_producer", {#PID<0.18472.0>, #Reference<0.4239996247.2497708033.129821>}, {:ask, 10}}
the relevant ex_aws config is
secret_access_key: [{:awscli, "default", 30}],
access_key_id: [{:awscli, "default", 30}],
region: {:system, "AWS_REGION"},
awscli_auth_adapter: ExAws.STS.AuthCache.AssumeRoleWebIdentityAdapter,
role_session_name: "ex_aws_sts"
created time in 2 days
PR opened ex-aws/ex_aws_chime
Bumps ex_aws from 2.1.5 to 2.2.3. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ex-aws/ex_aws/blob/master/CHANGELOG.md">ex_aws's changelog</a>.</em></p> <blockquote> <p>v2.2.3</p> <ul> <li>Add af-south-1 S3 region</li> <li>Add support for telemetry events</li> </ul> <p>v2.2.2</p> <ul> <li>Add sa-east-1 region to cognito-idp service</li> <li>Support for af-south-1</li> <li>Increase minimum hackney version to 1.16 to hopefully reduce instances of people hitting bugs in older versions</li> <li>Include profile in ETS key used for :awscli auth cache</li> </ul> <p>v2.2.1</p> <ul> <li>Fix regression in 2.2.0 requiring metadata instance config parameter</li> <li>Fix calculation of authentication cache time</li> </ul> <p>v2.2.0</p> <ul> <li>Add us-west-1 to list of supported ses services.</li> <li>Handle aws errors that do not have a <code>#</code> in the type</li> <li>[Breaking] Allow STS credentials to be injected by configuration <ul> <li>This change moves the <code>ExAws.CredentialsIni</code> functions into <code>ExAws.CredentialsIni.File</code> and turns the former into a behaviour definition. Any explicit uses of <code>ExAws.CredentialsIni.<function></code> will need to be replaced with <code>ExAws.CredentialsIni.File.<function></code>.</li> </ul> </li> </ul> <p>v2.1.9</p> <ul> <li>Small tweak to correctly handle error responses from DynamoDB local v1.15</li> </ul> <p>v2.1.8</p> <ul> <li>Fix regression introduced in 2.1.7 which broke creation of folders (<a href="https://github-redirect.dependabot.com/ex-aws/ex_aws/issues/752">#752</a>)</li> <li>Fixes to run cleanly under dialyzer</li> <li>Fix ExAws.Request.HttpClient.request spec to include header fields required by S3</li> <li>Fix S3 path handling on Windows</li> <li>Add Athena for eu-west-2</li> <li>Refactor auth cache refreshing (fixes issue <a href="https://github-redirect.dependabot.com/ex-aws/ex_aws/issues/625">#625</a>)</li> <li><code>mix format</code> pass</li> </ul> <p>v2.1.7</p> <ul> <li>Various documentation updates</li> <li>Add <code>comprehend</code> endpoint</li> <li>Support firehose in region ca-central-1</li> <li>More documentation fixes</li> <li>Add github workflow actions for CI</li> <li>Add us-east-2 endpoint for SES</li> <li>Use :crypto.mac/4 rather than the deprecated :crypto.hmac/3 when available</li> <li>Support virtual-host style S3 buckets</li> <li>Fix presigned URLs with embedded query parameter strings</li> <li>Support reading profile for CLI config from AWS_PROFILE environment variable</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/ex-aws/ex_aws/commits">compare view</a></li> </ul> </details> <br />
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
<details> <summary>Dependabot commands and options</summary> <br />
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
pr created time in 5 days
PR opened ex-aws/ex_aws_chime
Bumps ex_doc from 0.23.0 to 0.24.2. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/elixir-lang/ex_doc/blob/master/CHANGELOG.md">ex_doc's changelog</a>.</em></p> <blockquote> <h2>v0.24.2 (2021-04-06)</h2> <ul> <li> <p>Enhancements</p> <ul> <li>Support stepped range syntax</li> </ul> </li> <li> <p>Bug fixes</p> <ul> <li>Add spaces on paragraph endings for search results</li> <li>Fix bug defining app name in config</li> <li>Fix rendering void elements (<code><br></code> etc)</li> </ul> </li> </ul> <h2>v0.24.1 (2021-03-22)</h2> <ul> <li>Bug fixes <ul> <li>Fix generating function landing pages</li> </ul> </li> </ul> <h2>v0.24.0 (2021-03-16)</h2> <ul> <li> <p>Enhancements</p> <ul> <li>Drop jQuery and refactor JavaScript codebase</li> <li>Remove highlight.js in favour of migration to Makeup</li> <li>Change autolink to return both path and hash for the current module</li> <li>Add next/previous at the end of extra pages</li> <li>Improve search input blur handling</li> <li>Update erlang.org/man URL</li> <li>Add function landing page</li> </ul> </li> <li> <p>Bug fixes</p> <ul> <li>Ignore extensions when generating external links</li> <li>Fix autolink to handle URIs with arbitrary scheme part without warning</li> <li>Fix undefined reference warning for typespecs</li> <li>Fix search click behavior when a suggestion refers the current page</li> <li>Don't crash when we can't format spec</li> <li>Fix HTML escaping</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/elixir-lang/ex_doc/commit/241d739e84a13a380bb8d1b70f75fdb168946919"><code>241d739</code></a> Release v0.24.2</li> <li><a href="https://github.com/elixir-lang/ex_doc/commit/dcf303d0dd76c52038e29103cac74cc4101dbf9a"><code>dcf303d</code></a> Generating void elements correctly on <code>DocAST.to_string</code> (<a href="https://github-redirect.dependabot.com/elixir-lang/ex_doc/issues/1351">#1351</a>)</li> <li><a href="https://github.com/elixir-lang/ex_doc/commit/609d9765dd6f098dc298e5d6db6430859ee934ec"><code>609d976</code></a> Fix bug defining app name in config (<a href="https://github-redirect.dependabot.com/elixir-lang/ex_doc/issues/1347">#1347</a>)</li> <li><a href="https://github.com/elixir-lang/ex_doc/commit/fd4a0c7fd5a2a6c50e7822115d2ca0f4af533941"><code>fd4a0c7</code></a> Support stepped range syntax (<a href="https://github-redirect.dependabot.com/elixir-lang/ex_doc/issues/1346">#1346</a>)</li> <li><a href="https://github.com/elixir-lang/ex_doc/commit/fd55c41a95c209c5fc657683b7fcb5b12fb0be45"><code>fd55c41</code></a> Add spaces on paragraph endings for search results (<a href="https://github-redirect.dependabot.com/elixir-lang/ex_doc/issues/1167">#1167</a>)</li> <li><a href="https://github.com/elixir-lang/ex_doc/commit/b41fd99afd04f6239719a221aee668338a36249c"><code>b41fd99</code></a> Release v0.24.1</li> <li><a href="https://github.com/elixir-lang/ex_doc/commit/7735cd50c4005fcf2d7840e620e39af82f2328e7"><code>7735cd5</code></a> Add test</li> <li><a href="https://github.com/elixir-lang/ex_doc/commit/da6c25c8cf283341d0f72169f85382d9242d025a"><code>da6c25c</code></a> Fix function entry page name check, closes <a href="https://github-redirect.dependabot.com/elixir-lang/ex_doc/issues/1344">#1344</a></li> <li><a href="https://github.com/elixir-lang/ex_doc/commit/3a40edd92c1e493a296bc70be09e00c470ba7dad"><code>3a40edd</code></a> Release v0.24.0</li> <li><a href="https://github.com/elixir-lang/ex_doc/commit/be19ebd6a2c562c08deef5d31ed552ac4c4f55bb"><code>be19ebd</code></a> Hide --proglang for now</li> <li>Additional commits viewable in <a href="https://github.com/elixir-lang/ex_doc/compare/v0.23.0...v0.24.2">compare view</a></li> </ul> </details> <br />
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
<details> <summary>Dependabot commands and options</summary> <br />
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
pr created time in 5 days
create barnchex-aws/ex_aws_chime
branch : dependabot/hex/ex_doc-0.24.2
created branch time in 5 days
PR opened ex-aws/ex_aws_chime
Bumps credo from 1.4.1 to 1.5.6.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rrrene/credo/blob/v1.5.6/CHANGELOG.md">credo's changelog</a>.</em></p>
<blockquote>
<h2>1.5.6</h2>
<ul>
<li>Ensure compatibility with Elixir 1.12</li>
</ul>
<h2>1.5.5</h2>
<ul>
<li>Fix bug where compilation warnings are shown if compilation directory is not part of a Git work tree</li>
<li>Fix bug in <code>mix credo diff</code> where too many issues are reported because</li>
</ul>
<h2>1.5.4</h2>
<ul>
<li>Fix bug where <code>:exit_status</code> was not a valid option for <code>use Credo.Check</code></li>
<li>Fix bug where <code>mix credo diff</code> exited with a non-zero exit status even if no issues were shown</li>
<li><code>mix credo diff</code> now fails with an error if the given <code>ref</code> was not found</li>
</ul>
<h2>1.5.3</h2>
<ul>
<li>Fix bug in <code>diff</code> and <code>version</code> command when <code>git</code> is not installed</li>
</ul>
<h2>1.5.2</h2>
<ul>
<li>Fix output bug in <code>diff</code> command</li>
<li>Fix bug in <code>diff</code> command when run on a Git ref that does not contain a given <code>--config-name</code></li>
<li>Fix bug in all commands when a given <code>--config-name</code> is not found</li>
<li>Fix false positive in <code>Credo.Check.Warning.ExpensiveEmptyEnumCheck</code></li>
<li>Fix false positive in <code>Credo.Check.Refactor.PipeChainStart</code> regarding custom operators</li>
<li>Fix <code>--version</code> to include pre version and build info for unpublished versions (e.g. when the dep is included via <code>path:</code> or <code>github:</code>)</li>
</ul>
<h2>1.5.1</h2>
<ul>
<li>Fix bug in <code>diff</code> command when run on a subdirectory of a Git repository</li>
<li>Fix bug in new general param <code>:files</code> when excluding files</li>
</ul>
<h2>1.5.0</h2>
<ul>
<li>
<p>Credo now requires Elixir 1.7 or newer</p>
</li>
<li>
<p>Refactor check runner (much faster now for common scenarios)</p>
</li>
<li>
<p>Add param <code>allow_acronyms</code> to check <code>Credo.Check.Readability.FunctionNames</code></p>
</li>
<li>
<p>Add name of check to message when printing issues with <code>--verbose</code></p>
</li>
<li>
<p>Add support for "dynamic" tagging for checks via <code>.credo.exs</code></p>
<pre><code># Overwrite all tags for FooCheck
{FooCheck, [tags: [:my_tag]]}
<h1>Add tags for <code>FooCheck</code></h1>
<p>{SomeCredoCheck, [tags: [:<strong>initial</strong>, :my_tag]]}
</code></pre></p>
<p>Tags can then be used as usual, via the CLI switch <code>--checks-with[out]-tag</code>:</p>
<pre><code># Only run checks tagged :my_tag during analysis
</code></pre>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/rrrene/credo/commit/9bee6e0a2bb46ff809375555742d0ad8590cb913"><code>9bee6e0</code></a> Bump version to 1.5.6</li>
<li><a href="https://github.com/rrrene/credo/commit/62b12d2209f5e13a73e4f85b849acba2c5010fe2"><code>62b12d2</code></a> Update CHANGELOG</li>
<li><a href="https://github.com/rrrene/credo/commit/01578e456a7d2f1cee496731f306167ae2ddbc22"><code>01578e4</code></a> Fix tests for Elixir versions < 1.12</li>
<li><a href="https://github.com/rrrene/credo/commit/30fab358ec6bb1ffe05d8472c440d7dd8be72b98"><code>30fab35</code></a> Update CI to use erlef/setup-beam</li>
<li><a href="https://github.com/rrrene/credo/commit/be5c628c5ebaa5e9b09c896cbcb1400fd0e53089"><code>be5c628</code></a> Fix interpolation helper for Elixir 1.12</li>
<li><a href="https://github.com/rrrene/credo/commit/bd56b1241a6d5affe3064039aba1ae444c1fda3d"><code>bd56b12</code></a> Fix space around operators check</li>
<li><a href="https://github.com/rrrene/credo/commit/4cceec0a7447601011933bc378b87d512a66045e"><code>4cceec0</code></a> Use Elixir 1.12.0-rc.0</li>
<li><a href="https://github.com/rrrene/credo/commit/364775092c2b96ff4e33adff087df9cd224e3c36"><code>3647750</code></a> Bump version to 1.5.5</li>
<li><a href="https://github.com/rrrene/credo/commit/6d9aeb5cf808ceaff31bec35139857280940244f"><code>6d9aeb5</code></a> Update CHANGELOG</li>
<li><a href="https://github.com/rrrene/credo/commit/404886ac9c4dfc732a1bd316910c6984fe7e7e31"><code>404886a</code></a> Check if cwd is a Git directory when compiling</li>
<li>Additional commits viewable in <a href="https://github.com/rrrene/credo/compare/v1.4.1...v1.5.6">compare view</a></li>
</ul>
</details>
<br />
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
<details> <summary>Dependabot commands and options</summary> <br />
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
pr created time in 5 days
PR opened ex-aws/ex_aws_chime
Bumps dialyxir from 1.0.0 to 1.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jeremyjh/dialyxir/releases">dialyxir's releases</a>.</em></p> <blockquote> <h2>1.1.0</h2> <h3>Added</h3> <ul> <li>Configuration option to set the project's PLT path: <code>:plt_local_path</code>.</li> <li>Project configuration setting to exclude files based on a regex: <code>:exclude_files</code>.</li> <li><code>explain</code> text for <code>:missing_range</code> warning.</li> </ul> <h3>Fixed</h3> <ul> <li>Fixes and improvements to README and documentation.</li> <li>Fixed <code>mix.lock</code> hash stability. Will cause a recheck of PLTs on first usage in each project.</li> </ul> <h3>Changed</h3> <ul> <li>Improved wording of argument mismatch warnings.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/jeremyjh/dialyxir/blob/master/CHANGELOG.md">dialyxir's changelog</a>.</em></p> <blockquote> <h2>Unreleased changes post [1.1.0]</h2> <h2>[1.1.0] - 2021-02-18</h2> <h3>Added</h3> <ul> <li>Configuration option to set the project's PLT path: <code>:plt_local_path</code>.</li> <li>Project configuration setting to exclude files based on a regex: <code>:exclude_files</code>.</li> <li><code>explain</code> text for <code>:missing_range</code> warning.</li> </ul> <h3>Fixed</h3> <ul> <li>Fixes and improvements to README and documentation.</li> <li>Fixed <code>mix.lock</code> hash stability. Will cause a recheck of PLTs on first usage in each project.</li> </ul> <h3>Changed</h3> <ul> <li>Improved wording of argument mismatch warnings.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/jeremyjh/dialyxir/commit/612d72ce7b516ffe7cb832dbb2e24f06b4844842"><code>612d72c</code></a> Update changelog and bump version for release 1.1.</li> <li><a href="https://github.com/jeremyjh/dialyxir/commit/e18cc40a667d5f3ccd239f11eecaa1f23fb7fa8c"><code>e18cc40</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/jeremyjh/dialyxir/issues/425">#425</a> from kianmeng/misc-doc-changes</li> <li><a href="https://github.com/jeremyjh/dialyxir/commit/a3a2dd7fd111d542461b4ace82bfc4f51be3c28b"><code>a3a2dd7</code></a> Misc doc changes</li> <li><a href="https://github.com/jeremyjh/dialyxir/commit/8c1707f4acc007ba232b44c86badc2513ff52437"><code>8c1707f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/jeremyjh/dialyxir/issues/421">#421</a> from baseballlover723/master</li> <li><a href="https://github.com/jeremyjh/dialyxir/commit/7fe6cb0c1d2d38231027f2b03c8e21fa3845708d"><code>7fe6cb0</code></a> updated module docs</li> <li><a href="https://github.com/jeremyjh/dialyxir/commit/e6870cebaa5222d5daa5f4a3ddb88165bd399471"><code>e6870ce</code></a> updated README</li> <li><a href="https://github.com/jeremyjh/dialyxir/commit/69d1a3df956c4b34556190fb995ed52e35a12192"><code>69d1a3d</code></a> added a config for setting the local path</li> <li><a href="https://github.com/jeremyjh/dialyxir/commit/622fad97214897d835e1a8c3f3313024046ea1e1"><code>622fad9</code></a> added tests for setting a local plt path</li> <li><a href="https://github.com/jeremyjh/dialyxir/commit/96a3a89a6b077e2997479117f38e0052c4552095"><code>96a3a89</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/jeremyjh/dialyxir/issues/420">#420</a> from KamilZielinski/patch-1</li> <li><a href="https://github.com/jeremyjh/dialyxir/commit/f70389a78451c8007ce11fef1c7eebe51cbbf136"><code>f70389a</code></a> Update README.md</li> <li>Additional commits viewable in <a href="https://github.com/jeremyjh/dialyxir/compare/1.0.0...1.1.0">compare view</a></li> </ul> </details> <br />
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
<details> <summary>Dependabot commands and options</summary> <br />
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
pr created time in 5 days
create barnchex-aws/ex_aws_chime
branch : dependabot/hex/dialyxir-1.1.0
created branch time in 5 days
PR opened ex-aws/ex_aws_chime
Bumps hackney from 1.16.0 to 1.17.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/benoitc/hackney/releases">hackney's releases</a>.</em></p> <blockquote> <h2>Hackney 1.17.0</h2> <ul> <li>fix SSL compatibility with erlang OTP 23</li> <li>handle empty trailers</li> <li>fix race condition in connection pool</li> <li>fix memory leak in connection pool</li> <li>IDNA update to unicode 13.0.0</li> <li>fix build on macosx with OTP >= 20.1</li> <li>fix network Location on redirect</li> <li>produce uppercase hexadecimal in URLS</li> <li>pool queue count metric is now named <code>queue_count</code></li> <li>miscellaneous fixes in documentation</li> </ul> <p><strong>possible breaking changes</strong></p> <ul> <li>The pool queue count metric is now named <code>queue_count</code>. You should update your dashboard to reflect it.</li> <li>Possible breaking changes when producing uppercase hexadecimal in urls. This change the behaviour of urlencode and pathencode to produce uppercase hexadecimal to comply with the RFC3986 which may affect systems using URL as signature or in an hash.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/benoitc/hackney/blob/master/NEWS.md">hackney's changelog</a>.</em></p> <blockquote> <h2>1.17.4 - 2021-03-18</h2> <ul> <li>fix checking when socket is put back in the pool when the requester died.</li> </ul> <h2>1.17.3 - 2021-03-17</h2> <ul> <li>fix: ensure we release a socket in the pool when the requester died before beeing monitored.</li> </ul> <h2>1.17.2 - 2021-03-16</h2> <ul> <li>use parse_trans 3.3.1 only (fix compatibility with Erlang < 21)</li> <li>bump certifi version</li> <li>Allow merging of SSL opts</li> </ul> <h2>1.17.1 - 2021-03-15</h2> <ul> <li>fix: Avoid <code>parse_trans</code> warning when using hackney as a dependency</li> <li>fix: Link checkout process to fix dangling aborted request</li> </ul> <h2>1.17.0 - 2020-12-19</h2> <ul> <li>fix SSL compatibility with erlang OTP 23</li> <li>handle empty trailers</li> <li>fix race condition in connection pool</li> <li>fix memory leak in connection pool</li> <li>IDNA update to unicode 13.0.0</li> <li>fix build on macosx with OTP >= 20.1</li> <li>fix network Location on redirect</li> <li>produce uppercase hexadecimal in URLS</li> <li>pool queue count metric is now named <code>queue_count</code></li> <li>miscellaneous fixes in documentation</li> </ul> <p>** possible breaking change **</p> <ul> <li> <p>pool queue count metric is now named <code>queue_count</code>. You should update your dashboard to reflect it.</p> </li> <li> <p>possible breacking changes when producing uppercase hexadecimal in urls</p> </li> </ul> <p>This change the behaviour of urlencode and pathencode to produce uppercase hexadecimal to comply to the RFC3986 which may affect systems using URL as signature or in an hash.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/benoitc/hackney/commit/6e79b2bb11a77389d3ba9ff3a0828a45796fe7a8"><code>6e79b2b</code></a> fix changelog date</li> <li><a href="https://github.com/benoitc/hackney/commit/005b2c9077aae47d04ed7f323e9431f824d6ad5e"><code>005b2c9</code></a> add rebar.lock</li> <li><a href="https://github.com/benoitc/hackney/commit/ea02d89b701bc022110ee6d7cc31ce5eba46c859"><code>ea02d89</code></a> bump to 1.17.4</li> <li><a href="https://github.com/benoitc/hackney/commit/9e6d957f0c0671ebd9ea7952f91de320bacbf927"><code>9e6d957</code></a> fix use_count</li> <li><a href="https://github.com/benoitc/hackney/commit/adcc241fe1a5892e253bbe2a0b134a23bcaeca11"><code>adcc241</code></a> bump to 1.17.3</li> <li><a href="https://github.com/benoitc/hackney/commit/3e4bacf0c52657664f58a392669b98858318fa1f"><code>3e4bacf</code></a> fix date</li> <li><a href="https://github.com/benoitc/hackney/commit/7d9f598aae5ecd5a8d7373e06771cdd075d59d95"><code>7d9f598</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/benoitc/hackney/issues/681">#681</a> from benoitc/fix/gh680</li> <li><a href="https://github.com/benoitc/hackney/commit/ab6f5a128c4761eb72656aa0f26a587912a1c9d5"><code>ab6f5a1</code></a> ensuure we release a socket in the pool</li> <li><a href="https://github.com/benoitc/hackney/commit/67dcbe06b6ede5fc928d85df37efdbdf8eefef2a"><code>67dcbe0</code></a> Revert "Link checkout process to fix dangling aborted request"</li> <li><a href="https://github.com/benoitc/hackney/commit/4cd8a5fb2f6fc72794c3ac86019290926767ef30"><code>4cd8a5f</code></a> bump to 1.17.2</li> <li>Additional commits viewable in <a href="https://github.com/benoitc/hackney/compare/1.16.0...1.17.4">compare view</a></li> </ul> </details> <br />
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
<details> <summary>Dependabot commands and options</summary> <br />
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
pr created time in 5 days
create barnchex-aws/ex_aws_chime
branch : dependabot/hex/hackney-1.17.4
created branch time in 5 days
issue openedex-aws/ex_aws
Confusing errors raised when missing configuration
Environment
- Elixir & Erlang versions (elixir --version): Erlang/OTP 23 [erts-11.2.2.2] [source] [64-bit] [smp:6:6] [ds:6:6:10] [async-threads:1] [hipe]
Elixir 1.11.4 (compiled with Erlang/OTP 23)
-
ExAws version
mix deps |grep ex_aws -
ex_aws (Hex package) (mix) locked at 2.2.3 (ex_aws) 8ddf1da9
-
ex_aws_s3 (Hex package) (mix) locked at 2.2.0 (ex_aws_s3) 15175c61
-
ex_aws_ses (Hex package) (mix) locked at 2.1.1 (ex_aws_ses) 86c8a7b1
-
HTTP client version. IE for hackney do
mix deps | grep hackney -
hackney 1.17.4 (Hex package) (rebar3) locked at 1.17.4 (hackney) de16ff49
Current behavior
I was running in an environment where access_key_id, secret_access_key, and region were not configured properly.
When running test in this env ex_aws gives confusing error which is hard to decipher:
** (exit) exited in: GenServer.call(ExAws.Config.AuthCache, {:refresh_auth, %{}}, 30000)
** (EXIT) an exception was raised:
** (KeyError) key :json_codec not found in: %{}
(ex_aws 2.2.3) lib/ex_aws/instance_meta.ex:66: ExAws.InstanceMeta.instance_role_credentials/1
(ex_aws 2.2.3) lib/ex_aws/instance_meta.ex:72: ExAws.InstanceMeta.security_credentials/1
(ex_aws 2.2.3) lib/ex_aws/config/auth_cache.ex:116: ExAws.Config.AuthCache.refresh_auth_now/2
(ex_aws 2.2.3) lib/ex_aws/config/auth_cache.ex:45: ExAws.Config.AuthCache.handle_call/3
(stdlib 3.14.2.1) gen_server.erl:715: :gen_server.try_handle_call/4
(stdlib 3.14.2.1) gen_server.erl:744: :gen_server.handle_msg/6
(stdlib 3.14.2.1) proc_lib.erl:226: :proc_lib.init_p_do_apply/3
Expected behavior
I would expect a user friendly error which would point to missing keys in configuration.
created time in 9 days
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
fork in 10 days
pull request commentex-aws/ex_aws
Fix issue where query parameters for S3 are double encoded
I think I am having this issue as well on an old (2 years) project. list_bucket used to work but I seem to have problems with bucket names containing spaces now. Are there any plans to include the fix in the main repo?
comment created time in 10 days
startedsolemnwarning/rehex
started time in 11 days
PR opened ex-aws/ex_aws
Here's a simple config setup:
# config.exs
config :ex_aws,
region: "us-east-1",
access_key_id: {:awscli, "default", 30},
secret_access_key: {:awscli, "default", 30}
# ~/.aws/config
[default]
region = "us-west-2"
I would expect ExAws.Config.new(:s3) to return a config where region is "us-east-1", but it incorrectly returns region: "us-west-2" (all values configured in ~/.aws/{config, credentials} take precedence over any other configured values, even if their keys aren't specified).
This PR modifies ExAws.Config.retrieve_runtime_config/1 to only set the requested key(s), instead of merging in all available values.
Resolves #521.
pr created time in 20 days
issue commentex-aws/ex_aws
ExAws Config Overriding Not Applying When Config File Present
We just ran into this as well - the issue is that ExAws.Config.retrieve_runtime_config/1 overrides all properties set in ~/.aws/{config, credentials}, not just those specified. I'll open a PR to resolve shortly.
comment created time in 20 days
starteddamienmaguire/Outlander-PHEV
started time in 23 days
issue openedex-aws/ex_aws
:telemetry.span/3 is undefined or private
Environment
- Elixir & Erlang versions (elixir --version): 1.11.3
- ExAws version: 2.2.3
Current behavior
hi @bernardd just upgrade to latest version of ExAws but now i'm getting
** (UndefinedFunctionError) function :telemetry.span/3 is undefined or private
Expected behavior
to have telemetry as optional dependency or to not get undefined function
created time in 24 days
pull request commentex-aws/ex_aws_s3
feat: implement put_bucket_versioning
Sorry for the delay. Did do and also fixed the error in the spec directive. Hope it's fine now.
comment created time in 25 days
PR opened ex-aws/ex_aws
List compiled according to AWS QuickSight availability in regions
pr created time in a month
Pull request review commentex-aws/ex_aws
defmodule ExAws.Mixfile do defp package do [ description: description(),- files: ["priv", "lib", "config", "mix.exs", "README*"],+ files: ["priv", "lib", "config", "mix.exs", "README*, LICENSE"],
should be fixed now
comment created time in a month
Pull request review commentex-aws/ex_aws
defmodule ExAws.Mixfile do defp package do [ description: description(),- files: ["priv", "lib", "config", "mix.exs", "README*"],+ files: ["priv", "lib", "config", "mix.exs", "README*, LICENSE"],
ups, yeah
comment created time in a month
PR closed ex-aws/ex_aws
After https://github.com/ex-aws/ex_aws/commit/ed5d8ce628cf06951fb89e2a49a0c26c57af861d# a breaking change was introduced.
Before this, exceptions like DataAlreadyAcceptedException and InvalidSequenceTokenException produced errors that contained the expected sequence token and it could be directly used from the error map itself. Currently, errors are of the format {:error, {type, message}}, with the message containing the expected sequence token. To avoid parsing that error message, we can provide that token directly, like {:error, {type, message, token}} for the types of errors that contain this token.
I've also looked at the possibility of just having {:error, reason} where reason is the whole map returned by aws, containing the error type, message, and any other data like the token, but this would have broken too many clients.
This is still a breaking change, but it seems like the least invasive one.
pr closed time in a month
pull request commentex-aws/ex_aws
Add expected sequence token to error response
I'll do some proper branching for this, closing
comment created time in a month
PR opened ex-aws/ex_aws
After https://github.com/ex-aws/ex_aws/commit/ed5d8ce628cf06951fb89e2a49a0c26c57af861d# a breaking change was introduced.
Before this, exceptions like DataAlreadyAcceptedException and InvalidSequenceTokenException produced errors that contained the expected sequence token and it could be directly used from the error map itself. Currently, errors are of the format {:error, {type, message}}, with the message containing the expected sequence token. To avoid parsing that error message, we can provide that token directly, like {:error, {type, message, token}} for the types of errors that contain this token.
I've also looked at the possibility of just having {:error, reason} where reason is the whole map returned by aws, containing the error type, message, and any other data like the token, but this would have broken too many clients.
This is still a breaking change, but it seems like the least invasive one.
pr created time in a month
pull request commentex-aws/ex_aws
Replaces pattern-matching by regex to remove leading duplicate spaces on auth request headers
Hey @bernardd, nice caught!
First, thank for the tips of my PR description, it has a lot to improve. And finally, your approach keeps the "core" of the solution that is to reduce the recursion, using the direct replace of double spaces by single, in order to improve the CPU usage on low resource machines.
I believe it will works better them mine and also as soon as it is applied I can increase the version on my projects and test in in "real life" production services.
I have applied your changes.
comment created time in a month