eileennoonan
Getting errors when trying to remote in to my Fly.io app - any tips on troubleshooting?
I’m getting an error when I try to remote into my app on fly.io. In this case I’m just doing a basic read from iex. (I am using Ash but Zach is convinced it is not an Ash problem)
Unknown Error
* ** (ArgumentError) errors were found at the given arguments:
* 1st argument: the table identifier does not refer to an existing ETS table
(stdlib 4.2) :ets.match_object(:telemetry_handler_table, {:handler, :_, [:ash, :accessibility, :read | :_], :_, :_})
(telemetry 1.3.0) /app/deps/telemetry/src/telemetry_handler_table.erl:59: :telemetry_handler_table.list_by_prefix/1
(telemetry 1.3.0) /app/deps/telemetry/src/telemetry.erl:379: :telemetry.list_handlers/1
(ash 3.4.62) lib/ash/actions/read/read.ex:76: Ash.Actions.Read.run/3
(ash 3.4.62) lib/ash.ex:2044: Ash.read/2
(ash 3.4.62) lib/ash.ex:2002: Ash.read!/2
(elixir 1.18.1) src/elixir.erl:386: :elixir.eval_external_handler/3
(stdlib 4.2) erl_eval.erl:748: :erl_eval.do_apply/7
(stdlib 4.2) :ets.match_object(:telemetry_handler_table, {:handler, :_, [:ash, :accessibility, :read | :_], :_, :_})
(telemetry 1.3.0) /app/deps/telemetry/src/telemetry_handler_table.erl:59: :telemetry_handler_table.list_by_prefix/1
(telemetry 1.3.0) /app/deps/telemetry/src/telemetry.erl:379: :telemetry.list_handlers/1
(ash 3.4.62) lib/ash/actions/read/read.ex:76: Ash.Actions.Read.run/3
(ash 3.4.62) lib/ash.ex:2044: Ash.read/2
(ash 3.4.62) lib/ash.ex:2002: Ash.read!/2
iex:3: (file)
Node.list() returns [], so I can see it’s definitely not connected. I had the DNS clustering stuff configured already except for the entry in fly.toml. I added that, deployed and am getting the same result.
I’m getting a warning in my logs on deploy:
WARNING The app is not listening on the expected address and will not be reachable by fly-proxy.asdfg reached started state
You can fix this by configuring your app to listen on the following addresses:
- 0.0.0.0:8080
Do I need to change my endpoint configuration?
host = System.get_env("PHX_HOST") || "example.com"
port = String.to_integer(System.get_env("PORT") || "8080")
config :twfex, MyAppWeb.Endpoint,
url: [host: host, port: 443, scheme: "https"],
http: [
# Enable IPv6 and bind on all interfaces.
# Set it to {0, 0, 0, 0, 0, 0, 0, 1} for local network only access.
# See the documentation on https://hexdocs.pm/bandit/Bandit.html#t:options/0
# for details about using IPv6 vs IPv4 and loopback vs public addresses.
ip: {0, 0, 0, 0, 0, 0, 0, 0},
port: port
],
secret_key_base: secret_key_base
Locally, it’s all fine.
Anyone have any ideas?
Most Liked
eileennoonan
I tried some things, and ultimately the issue seemed to go away on its own. More detail here:
1
Popular in Questions
Hi! May someone helps me, please!
I have two apps into an umbrella project: the first one is Database, which manages queries, and the se...
New
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
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
Could someone help me? I'm making my first elixir program, number guessing game. I can't figure out how to convert the user's guess from ...
New
I’m trying to make a websocket server in Phoenix or raw Elixir. I heard about gun, I think I could use cowboy, but since I’m not that sma...
New
Hi all,
I've just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage.
I'm trying to use Postg...
New
Hi,
I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
Given a string, how can I get access to its character by index? Enum.at("my_string", 2) doesn't work.
Or rather, not char, but a substr...
New
I have a super simple question about elixir - how would I take a file like this
foo bar baz
and output a new file that enumerates th...
New
Expanding on this topic: https://forum.elixirforum.net/t/map-typespec-question/19217
Let’s say I have a map with required and optional k...
New
Other popular topics
Using vs code and installed ElixirLS: support and debugger.
And I got an error popped up on start up says
Failed to run ‘elixir’ comma...
New
What is the proper way to load a module from a file in to IEX?
In the python world, doing something like this pretty standard:
from ....
New
Here are few pieces of (common) Linux knowledge that we use for reasonably small one server apps. We use Ubuntu but this should work for ...
New
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
New
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
I have a User schema with a :from_id field set to type :string:
defmodule TweetBot.Repo.Migrations.CreateUsers do
use Ecto.Migration
...
New
Hi,
I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New







