hjemmel

hjemmel

Engineering Elixir Applications - Trigger Autoscale

Hi Folks,

Not sure if anyone had same problem but when deploying the ghcr.io/beamops/kanban:infrastructure-page image in the section Trigger Your Application to Autoscale Using a Prepared Stats Page the image the docker image is failing always with the following message:

10:43:34.149 line=1373 pid=<0.2390.0> registered_name=Kanban.InfrastructureMonitor file=gen_server.erl domain=otp mfa=:gen_server.error_info/8 [error] GenServer Kanban.InfrastructureMonitor terminating
** (MatchError) no match of right hand side value: {:error, {:http_error, 400, %{body: "<ErrorResponse xmlns=\"http://autoscaling.amazonaws.com/doc/2011-01-01/\">\n  <Error>\n    <Type>Sender</Type>\n    <Code>ValidationError</Code>\n    <Message>AutoScalingGroup name not found - AutoScalingGroup swarm-asg not found</Message>\n  </Error>\n  <RequestId>d1f4d394-2473-4b1c-8cec-524a8869d3fd</RequestId>\n</ErrorResponse>\n", headers: [{"x-amzn-RequestId", "d1f4d394-2473-4b1c-8cec-524a8869d3fd"}, {"Content-Type", "text/xml"}, {"Content-Length", "324"}, {"Date", "Wed, 22 Oct 2025 10:43:34 GMT"}, {"Connection", "close"}], status_code: 400}}}
    (kanban 0.1.0) lib/kanban/infrastructure/monitor.ex:37: Kanban.InfrastructureMonitor.handle_continue/2
    (stdlib 5.1.1) gen_server.erl:1067: :gen_server.try_handle_continue/3
    (stdlib 5.1.1) gen_server.erl:977: :gen_server.loop/7
    (stdlib 5.1.1) proc_lib.erl:241: :proc_lib.init_p_do_apply/3
Last message: {:continue, :init}

I checked the autoscale name, it is definitely named swarm-asg not sure what could be happening.

The only thing different from the book is that I am using ap-southeast-2 as region.

Where Next?

Popular Pragmatic Bookshelf topics Top

johnp
Hi Brian, Looks like the api for tinydb has changed a little. Noticed while working on chapter 7 that the .purge() call to the db throws...
New
lirux
Hi Jamis, I think there’s an issue with a test on chapter 6. I own the ebook, version P1.0 Feb. 2019. This test doesn’t pass for me: ...
New
raul
Page 28: It implements io.ReaderAt on the store type. Sorry if it’s a dumb question but was the io.ReaderAt supposed to be io.ReadAt? ...
New
swlaschin
The book has the same “Problem space/Solution space” diagram on page 18 as is on page 17. The correct Problem/Solution space diagrams ar...
New
leonW
I ran this command after installing the sample application: $ cards add do something --owner Brian And got a file not found error: Fil...
New
jskubick
I think I might have found a problem involving SwitchCompat, thumbTint, and trackTint. As entered, the SwitchCompat changes color to hol...
New
brunogirin
When trying to run tox in parallel as explained on page 151, I got the following error: tox: error: argument -p/–parallel: expected one...
New
taguniversalmachine
Hi, I am getting an error I cannot figure out on my test. I have what I think is the exact code from the book, other than I changed “us...
New
EdBorn
Title: Agile Web Development with Rails 7: (page 70) I am running windows 11 pro with rails 7.0.3 and ruby 3.1.2p20 (2022-04-12 revision...
New
dachristenson
I just bought this book to learn about Android development, and I’m already running into a major issue in Ch. 1, p. 20: “Update activity...
New

Other popular topics Top

AstonJ
I’ve been hearing quite a lot of comments relating to the sound of a keyboard, with one of the most desirable of these called ‘thock’, he...
New
New
AstonJ
If you are experiencing Rails console using 100% CPU on your dev machine, then updating your development and test gems might fix the issu...
New
PragmaticBookshelf
Learn different ways of writing concurrent code in Elixir and increase your application's performance, without sacrificing scalability or...
New
DevotionGeo
The V Programming Language Simple language for building maintainable programs V is already mentioned couple of times in the forum, but I...
New
PragmaticBookshelf
Use WebRTC to build web applications that stream media and data in real time directly from one user to another, all in the browser. ...
New
First poster: joeb
The File System Access API with Origin Private File System. WebKit supports new API that makes it possible for web apps to create, open,...
New
PragmaticBookshelf
Programming Ruby is the most complete book on Ruby, covering both the language itself and the standard library as well as commonly used t...
New
First poster: bot
zig/http.zig at 7cf2cbb33ef34c1d211135f56d30fe23b6cacd42 · ziglang/zig. General-purpose programming language and toolchain for maintaini...
New
mindriot
Ok, well here are some thoughts and opinions on some of the ergonomic keyboards I have, I guess like mini review of each that I use enoug...
New

Latest in Engineering Elixir Applications

Engineering Elixir Applications Portal

Sub Categories: