bottlenecked
Hi all, tried deploying my app on Gigalixir after updating my elixir_buildpack.config to the following:
elixir_version=1.12.1
erlang_version=24.0.1
The trace I’m seeing is
Deploying to gigalixir
/usr/bin/git -c http.extraheader=GIGALIXIR-CLEAN: true push -f gigalixir HEAD:refs/heads/master
remote: Starting deploy
remote: Preparing cache
remote: Compiling code and generating slug.
remote: Setting environment variables.
remote: * LIBCLUSTER_KUBERNETES_SELECTOR
remote: * LIBCLUSTER_KUBERNETES_NODE_BASENAME
remote: * APP_NAME
remote: * SECRET_KEY_BASE
remote: * PORT
remote: * SOURCE_VERSION
remote: * POOL_SIZE
remote: * DATABASE_URL
remote: -----> Found custom phoenix_static_buildpack.config
remote: Detecting assets directory
remote: package.json found in assets directory
remote: Elixir+Phoenix+Releases app detected
remote: Found custom phoenix_static_buildpack.config
remote: Detecting assets directory
remote: package.json found in assets directory
remote: =====> Downloading Buildpack: https://github.com/HashNuke/heroku-buildpack-elixir.git
remote: =====> Detected Framework: Elixir
remote: -----> Will export the following config vars:
remote: APP_NAME
remote: DATABASE_URL
remote: LIBCLUSTER_KUBERNETES_NODE_BASENAME
remote: LIBCLUSTER_KUBERNETES_SELECTOR
remote: POOL_SIZE
remote: PORT
remote: SECRET_KEY_BASE
remote: SOURCE_VERSION
remote: * MIX_ENV=prod
remote: -----> Checking Erlang and Elixir versions
remote: Will use the following versions:
remote: * Stack heroku-18
remote: * Erlang 24.0.1
remote: * Elixir v1.12.1
remote: -----> Stack changed, will rebuild
remote: -----> Fetching Erlang 24.0.1 from https://s3.amazonaws.com/heroku-buildpack-elixir/erlang/cedar-14/OTP-24.0.1.tar.gz
remote: -----> Installing Erlang 24.0.1 (changed)
remote:
remote: gzip: stdin: not in gzip format
remote: tar: Child returned status 1
remote: tar: Error is not recoverable: exiting now
remote: Deploy aborted
To https://git.gigalixir.com/<app_name_redacted>.git/
! [remote rejected] HEAD -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.gigalixir.com/<app_name_redacted>.git/'
Error: The process '/usr/bin/git' failed with exit code 1
Based on what I read online as possible reasons, the file https://s3.amazonaws.com/heroku-buildpack-elixir/erlang/cedar-14/OTP-24.0.1.tar.gz might not have been gzipped and may sport the .gz extension in error, but I’m not sure how to access it and verify this assumption.
Has anyone else seen this?
PS. I’m also using Github Actions and gigalixir-action for the deployment but I don’t think they’re related to this.
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New
Other Trending Topics
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #hex
- #security










Showing Posts 1 to 5- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
al2o3cr
Pasting that URL into the browser returns an AWS “Access Denied” message.
I tried some other versions listed in heroku-buildpack-elixir-otp-builds/otp-versions at master · HashNuke/heroku-buildpack-elixir-otp-builds · GitHub and got the same response.
This seems relevant: Travis build script fails silently · Issue #168 · HashNuke/heroku-buildpack-elixir-otp-builds · GitHub
bottlenecked
Hey, I guess you’re right. I did not think to check if those are publicly accessible (I assumed they weren’t) but the one I was previously using for example (
https://s3.amazonaws.com/heroku-buildpack-elixir/erlang/cedar-14/OTP-23.2.1.tar.gz)is.I guess I’ll just wait until it’s fixed. Thanks!
axelson
Although you’re not directly using it, I see that the url you’re downloading from references Heroku cedar-14 which reached end of life in 2019 (source)
So maybe verify that you’re using the latest version of the GitHub - HashNuke/heroku-buildpack-elixir: Heroku Buildpack for Elixir with nitro boost · GitHub buildpack. It’s not clear what version you’re using from the logs you provided.
Edit: although it actually looks like the buildpack is uploading to a
cedar-14url even if it’s not only used forcedar-14which is a bit confusing.bottlenecked
Ah, I see. You did get that right though, I’m not compiling (is that the appropriate term?) the buildpack myself, I’m only specifying a buildpack config with erlang and elixir versions to upload to Gigalixir, the rest is handled by them. Also based on what I read around configuring buildpacks, there’s no way to specify a version of the buildpack to use from inside the buildpack config. Also, I could be wrong of course, I’m pretty unfamiliar with buildpacks
jesse
The buildpack has been having problems with OTP 24 on stacks other than gigalixir-20. Upgrading your stack to gigalixir-20 and redeploying should fix the issue. We’re looking into fixing this for the other stacks as well.