You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had to manually add :timex to :extra_applications, that enables Pinglix to use Timex.Duration.now/1.
Maybe this should be fixed here, or at least added to the README. Spent some time debugging this, as I didn't expect Pinglix causing this by a transient dependency.
Request: GET /_ping
** (exit) an exception was raised:
** (UndefinedFunctionError) function Timex.Duration.now/1 is undefined (module Timex.Duration is not available)
Timex.Duration.now(:seconds)
(pinglix) lib/pinglix/status.ex:29: Pinglix.Status.set_current_time/1
(hs_api) lib/.../ping.ex:1: Redacted.Ping.call/2
(hs_api) lib/.../endpoint.ex:1: Redacted.Endpoint.plug_builder_call/2
(hs_api) lib/.../endpoint.ex:1: Redacted.Endpoint.call/2
(plug) lib/plug/adapters/cowboy/handler.ex:15: Plug.Adapters.Cowboy.Handler.upgrade/4
(cowboy) /.../deps/cowboy/src/cowboy_protocol.erl:442: :cowboy_protocol.execute/4
19:42:08.307 [info] SIGTERM received - shutting down
The text was updated successfully, but these errors were encountered:
I had to manually add
:timex
to:extra_applications
, that enables Pinglix to useTimex.Duration.now/1
.Maybe this should be fixed here, or at least added to the README. Spent some time debugging this, as I didn't expect Pinglix causing this by a transient dependency.
The text was updated successfully, but these errors were encountered: