Andrew Hendrie
Andrew Hendrie

Reputation: 6415

How to Diagnose Phoenix Framework "Server Internal Error"

I'm getting an error on my newly deployed Phoenix application (on Heroku).

The only error I see in production in "Server internal error".

How do I get more information and diagnose/fix this error?

Upvotes: 1

Views: 456

Answers (1)

Gazler
Gazler

Reputation: 84140

You are attempting to use an Elixir 1.3 feature (DateTime was added in 1.3), however by default, the heroku buildpack uses Elixir 1.2

Add an elixir_buildpack.config file in the root of your repo with the following:

elixir_version=1.3.2

Upvotes: 3

Related Questions