bottlenecked

bottlenecked

Cannot deploy with OTP 24.0.1 in Gigalixir

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.

Marked As Solved

al2o3cr

al2o3cr

Pasting that URL into the browser returns an AWS “Access Denied” message. :scream_cat:

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

Also Liked

jesse

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.

Where Next?

Popular in Questions Top

Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
qwerescape
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
fireproofsocks
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
vac
Hi, I’m quite new in Elixir and I’m trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and I...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
ycv005
I have followed this StackOverflow post to install the specific version of Erlang. And When I am running mix ecto.setup then getting fol...
New
nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
script
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this "1000" What is the ...
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" =&gt; #BSON.ObjectId&lt;58eb1a7a9ad169198c3dXXXX&gt;, "email" =&gt; ...
New

Other popular topics Top

vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 43487 311
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID&lt;0.412.0&gt; terminating ** (Postgrex.Error) FATAL...
New
chrismccord
Phoenix 1.4.0 released Phoenix 1.4 is out! This release ships with exciting new features, most notably with HTTP2 support, improved deve...
688 31013 112
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 43757 214
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
boundedvariable
I am going through the kafka architecture. All the features what the kafka is providing are already in Erlang. I would like hear your opi...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New

Latest on Elixir Forum

Elixir Forum

We're in Beta

About us Mission Statement