Created
April 9, 2025 18:11
-
-
Save rsvalerio/5a0c5ffd3614088fc727b877be08ba7a to your computer and use it in GitHub Desktop.
il-cli
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mix setup | |
Resolving Hex dependencies... | |
Resolution completed in 0.166s | |
Unchanged: | |
bcrypt_elixir 3.2.0 | |
bunt 1.0.0 | |
castore 1.0.9 | |
certifi 2.12.0 | |
combine 0.10.0 | |
comeonin 5.5.0 | |
cowboy 2.12.0 | |
cowboy_telemetry 0.4.0 | |
cowlib 2.13.0 | |
credo 1.7.10 | |
db_connection 2.7.0 | |
decimal 2.1.1 | |
ecto 3.12.3 | |
ecto_sql 3.12.0 | |
elixir_make 0.8.4 | |
esbuild 0.8.1 | |
expo 1.1.0 | |
file_system 1.0.1 | |
finch 0.19.0 | |
floki 0.36.2 | |
gettext 0.26.1 | |
hackney 1.20.1 | |
hpax 1.0.0 | |
idna 6.1.1 | |
jason 1.4.4 | |
metrics 1.0.1 | |
mime 2.0.6 | |
mimerl 1.3.0 | |
mint 1.6.2 | |
mix_version 1.3.2 | |
nimble_options 1.1.1 | |
nimble_pool 1.1.0 | |
parse_trans 3.4.1 | |
phoenix 1.7.14 | |
phoenix_ecto 4.6.2 | |
phoenix_html 3.3.4 | |
phoenix_live_dashboard 0.8.4 | |
phoenix_live_reload 1.5.3 | |
phoenix_live_view 0.19.5 | |
phoenix_pubsub 2.1.3 | |
phoenix_template 1.0.4 | |
plug 1.16.1 | |
plug_cowboy 2.7.2 | |
plug_crypto 2.1.0 | |
postgrex 0.19.1 | |
ranch 1.8.0 | |
ssl_verify_fun 1.1.7 | |
swoosh 1.17.2 | |
tailwind 0.2.3 | |
telemetry 1.3.0 | |
telemetry_metrics 0.6.2 | |
telemetry_poller 1.1.0 | |
timex 3.7.11 | |
tzdata 1.1.2 | |
unicode_util_compat 0.7.0 | |
websock 0.5.3 | |
websock_adapter 0.5.7 | |
All dependencies are up to date | |
The database for Marketplace.Repo has already been created | |
20:08:46.756 [info] Migrations already up | |
Rebuilding... | |
Done in 137ms. | |
../priv/static/assets/app.js 216.4kb | |
⚡ Done in 8ms | |
###################### | |
❯ mix phx.server | |
[info] Running MarketplaceWeb.Endpoint with cowboy 2.12.0 at 127.0.0.1:4000 (http) | |
[info] Access MarketplaceWeb.Endpoint at http://localhost:4000 | |
[watch] build finished, watching for changes... | |
Rebuilding... | |
Done in 154ms. | |
[info] CONNECTED TO Phoenix.LiveView.Socket in 12µs | |
Transport: :websocket | |
Serializer: Phoenix.Socket.V2.JSONSerializer | |
Parameters: %{"_csrf_token" => "PkIxATsADioXCy4lRj1rJQYAGAYKCDQQz7KBkVIlDFfU4y9kgK5_MCxB", "_live_referer" => "undefined", "_mounts" => "0", "_track_static" => %{"0" => "http://localhost:4000/assets/app.css", "1" => "http://localhost:4000/assets/app.js"}, "vsn" => "2.0.0"} | |
[debug] MOUNT MarketplaceWeb.UserLoginLive | |
Parameters: %{} | |
Session: %{"_csrf_token" => "DuzCPVGFSMHprDRNaK-YGKLR", "current_path" => "users", "live_socket_id" => "users_sessions:pkn-uMYxhaCRaYe0T5YyJ817rq_6xsnBWLYyKOKAYvE=", "user_return_to" => "/jobs/new", "user_token" => <<166, 73, 254, 184, 198, 49, 133, 160, 145, 105, 135, 180, 79, 150, 50, 39, 205, 123, 174, 175, 250, 198, 201, 193, 88, 182, 50, 40, 226, 128, 98, 241>>} | |
[debug] QUERY OK source="users_tokens" db=4.4ms decode=0.4ms queue=3.9ms idle=1261.5ms | |
SELECT u1."id", u1."first_name", u1."last_name", u1."email", u1."hashed_password", u1."confirmed_at", u1."inserted_at", u1."updated_at" FROM "users_tokens" AS u0 INNER JOIN "users" AS u1 ON u1."id" = u0."user_id" WHERE ((u0."token" = $1) AND (u0."context" = $2)) AND (u0."inserted_at" > $3::timestamp + (-(60)::numeric * interval '1 day')) [<<166, 73, 254, 184, 198, 49, 133, 160, 145, 105, 135, 180, 79, 150, 50, 39, 205, 123, 174, 175, 250, 198, 201, 193, 88, 182, 50, 40, 226, 128, 98, 241>>, "session", ~U[2025-04-09 18:08:57.789718Z]] | |
↳ Phoenix.LiveView.Utils.assign_new/3, at: lib/phoenix_live_view/utils.ex:79 | |
[debug] Replied in 37ms | |
[info] CONNECTED TO Phoenix.LiveView.Socket in 12µs | |
Transport: :websocket | |
Serializer: Phoenix.Socket.V2.JSONSerializer | |
Parameters: %{"_csrf_token" => "dDtLMDMlIws-IgUaKDcABjgNVAEoIB0-0N1scsdMmoMjZsRHYFyXokQl", "_live_referer" => "undefined", "_mounts" => "0", "_track_static" => %{"0" => "http://localhost:4000/assets/app.css", "1" => "http://localhost:4000/assets/app.js"}, "vsn" => "2.0.0"} | |
[debug] MOUNT MarketplaceWeb.UserLoginLive | |
Parameters: %{} | |
Session: %{"_csrf_token" => "DuzCPVGFSMHprDRNaK-YGKLR", "current_path" => "users", "live_socket_id" => "users_sessions:pkn-uMYxhaCRaYe0T5YyJ817rq_6xsnBWLYyKOKAYvE=", "user_return_to" => "/jobs/new", "user_token" => <<166, 73, 254, 184, 198, 49, 133, 160, 145, 105, 135, 180, 79, 150, 50, 39, 205, 123, 174, 175, 250, 198, 201, 193, 88, 182, 50, 40, 226, 128, 98, 241>>} | |
[debug] QUERY OK source="users_tokens" db=5.9ms idle=1295.2ms | |
SELECT u1."id", u1."first_name", u1."last_name", u1."email", u1."hashed_password", u1."confirmed_at", u1."inserted_at", u1."updated_at" FROM "users_tokens" AS u0 INNER JOIN "users" AS u1 ON u1."id" = u0."user_id" WHERE ((u0."token" = $1) AND (u0."context" = $2)) AND (u0."inserted_at" > $3::timestamp + (-(60)::numeric * interval '1 day')) [<<166, 73, 254, 184, 198, 49, 133, 160, 145, 105, 135, 180, 79, 150, 50, 39, 205, 123, 174, 175, 250, 198, 201, 193, 88, 182, 50, 40, 226, 128, 98, 241>>, "session", ~U[2025-04-09 18:08:57.833489Z]] | |
↳ Phoenix.LiveView.Utils.assign_new/3, at: lib/phoenix_live_view/utils.ex:79 | |
[debug] Replied in 6ms | |
[info] GET / | |
[debug] Processing with MarketplaceWeb.RedirectController.index/2 | |
Parameters: %{} | |
Pipelines: [:browser] | |
[debug] QUERY OK source="users_tokens" db=4.5ms idle=1077.7ms | |
SELECT u1."id", u1."first_name", u1."last_name", u1."email", u1."hashed_password", u1."confirmed_at", u1."inserted_at", u1."updated_at" FROM "users_tokens" AS u0 INNER JOIN "users" AS u1 ON u1."id" = u0."user_id" WHERE ((u0."token" = $1) AND (u0."context" = $2)) AND (u0."inserted_at" > $3::timestamp + (-(60)::numeric * interval '1 day')) [<<166, 73, 254, 184, 198, 49, 133, 160, 145, 105, 135, 180, 79, 150, 50, 39, 205, 123, 174, 175, 250, 198, 201, 193, 88, 182, 50, 40, 226, 128, 98, 241>>, "session", ~U[2025-04-09 18:09:23.557319Z]] | |
↳ MarketplaceWeb.UserAuth.fetch_current_user/2, at: lib/marketplace_web/user_auth.ex:96 | |
[info] Sent 302 in 21ms | |
[info] GET /marketplace | |
[debug] Processing with MarketplaceWeb.MarketplaceLive.Index.index/2 | |
Parameters: %{} | |
Pipelines: [:browser] | |
[debug] QUERY OK source="users_tokens" db=4.1ms idle=1100.6ms | |
SELECT u1."id", u1."first_name", u1."last_name", u1."email", u1."hashed_password", u1."confirmed_at", u1."inserted_at", u1."updated_at" FROM "users_tokens" AS u0 INNER JOIN "users" AS u1 ON u1."id" = u0."user_id" WHERE ((u0."token" = $1) AND (u0."context" = $2)) AND (u0."inserted_at" > $3::timestamp + (-(60)::numeric * interval '1 day')) [<<166, 73, 254, 184, 198, 49, 133, 160, 145, 105, 135, 180, 79, 150, 50, 39, 205, 123, 174, 175, 250, 198, 201, 193, 88, 182, 50, 40, 226, 128, 98, 241>>, "session", ~U[2025-04-09 18:09:23.580639Z]] | |
↳ MarketplaceWeb.UserAuth.fetch_current_user/2, at: lib/marketplace_web/user_auth.ex:96 | |
[info] Sent 200 in 13ms | |
[info] CONNECTED TO Phoenix.LiveView.Socket in 15µs | |
Transport: :websocket | |
Serializer: Phoenix.Socket.V2.JSONSerializer | |
Parameters: %{"_csrf_token" => "ERweJTc7aiQDOyIhMAE6EVZ5WR01Lgk_Uidfgm-bPvjQBEh_72tDreEm", "_live_referer" => "undefined", "_mounts" => "0", "_track_static" => %{"0" => "http://localhost:4000/assets/app.css", "1" => "http://localhost:4000/assets/app.js"}, "vsn" => "2.0.0"} | |
[debug] MOUNT MarketplaceWeb.MarketplaceLive.Index | |
Parameters: %{} | |
Session: %{"_csrf_token" => "DuzCPVGFSMHprDRNaK-YGKLR", "current_path" => "marketplace", "live_socket_id" => "users_sessions:pkn-uMYxhaCRaYe0T5YyJ817rq_6xsnBWLYyKOKAYvE=", "user_return_to" => "/jobs/new", "user_token" => <<166, 73, 254, 184, 198, 49, 133, 160, 145, 105, 135, 180, 79, 150, 50, 39, 205, 123, 174, 175, 250, 198, 201, 193, 88, 182, 50, 40, 226, 128, 98, 241>>} | |
[debug] QUERY OK source="users_tokens" db=4.8ms idle=1196.9ms | |
SELECT u1."id", u1."first_name", u1."last_name", u1."email", u1."hashed_password", u1."confirmed_at", u1."inserted_at", u1."updated_at" FROM "users_tokens" AS u0 INNER JOIN "users" AS u1 ON u1."id" = u0."user_id" WHERE ((u0."token" = $1) AND (u0."context" = $2)) AND (u0."inserted_at" > $3::timestamp + (-(60)::numeric * interval '1 day')) [<<166, 73, 254, 184, 198, 49, 133, 160, 145, 105, 135, 180, 79, 150, 50, 39, 205, 123, 174, 175, 250, 198, 201, 193, 88, 182, 50, 40, 226, 128, 98, 241>>, "session", ~U[2025-04-09 18:09:23.677032Z]] | |
↳ Phoenix.LiveView.Utils.assign_new/3, at: lib/phoenix_live_view/utils.ex:79 | |
[debug] Replied in 5ms | |
[info] GET /marketplace | |
[debug] Processing with MarketplaceWeb.MarketplaceLive.Index.index/2 | |
Parameters: %{} | |
Pipelines: [:browser] | |
[debug] QUERY OK source="users_tokens" db=4.4ms idle=1635.3ms | |
SELECT u1."id", u1."first_name", u1."last_name", u1."email", u1."hashed_password", u1."confirmed_at", u1."inserted_at", u1."updated_at" FROM "users_tokens" AS u0 INNER JOIN "users" AS u1 ON u1."id" = u0."user_id" WHERE ((u0."token" = $1) AND (u0."context" = $2)) AND (u0."inserted_at" > $3::timestamp + (-(60)::numeric * interval '1 day')) [<<166, 73, 254, 184, 198, 49, 133, 160, 145, 105, 135, 180, 79, 150, 50, 39, 205, 123, 174, 175, 250, 198, 201, 193, 88, 182, 50, 40, 226, 128, 98, 241>>, "session", ~U[2025-04-09 18:09:27.115673Z]] | |
↳ MarketplaceWeb.UserAuth.fetch_current_user/2, at: lib/marketplace_web/user_auth.ex:96 | |
[info] Sent 200 in 5ms | |
[info] CONNECTED TO Phoenix.LiveView.Socket in 27µs | |
Transport: :websocket | |
Serializer: Phoenix.Socket.V2.JSONSerializer | |
Parameters: %{"_csrf_token" => "cg9JFRpgNTIQJnAFOR0WIS5zVAMoDhg16z3VJ6rtCk8uKYDoO8yZoETg", "_live_referer" => "undefined", "_mounts" => "0", "_track_static" => %{"0" => "http://localhost:4000/assets/app.css", "1" => "http://localhost:4000/assets/app.js"}, "vsn" => "2.0.0"} | |
[debug] MOUNT MarketplaceWeb.MarketplaceLive.Index | |
Parameters: %{} | |
Session: %{"_csrf_token" => "DuzCPVGFSMHprDRNaK-YGKLR", "current_path" => "marketplace", "live_socket_id" => "users_sessions:pkn-uMYxhaCRaYe0T5YyJ817rq_6xsnBWLYyKOKAYvE=", "user_return_to" => "/jobs/new", "user_token" => <<166, 73, 254, 184, 198, 49, 133, 160, 145, 105, 135, 180, 79, 150, 50, 39, 205, 123, 174, 175, 250, 198, 201, 193, 88, 182, 50, 40, 226, 128, 98, 241>>} | |
[debug] QUERY OK source="users_tokens" db=4.7ms idle=1725.8ms | |
SELECT u1."id", u1."first_name", u1."last_name", u1."email", u1."hashed_password", u1."confirmed_at", u1."inserted_at", u1."updated_at" FROM "users_tokens" AS u0 INNER JOIN "users" AS u1 ON u1."id" = u0."user_id" WHERE ((u0."token" = $1) AND (u0."context" = $2)) AND (u0."inserted_at" > $3::timestamp + (-(60)::numeric * interval '1 day')) [<<166, 73, 254, 184, 198, 49, 133, 160, 145, 105, 135, 180, 79, 150, 50, 39, 205, 123, 174, 175, 250, 198, 201, 193, 88, 182, 50, 40, 226, 128, 98, 241>>, "session", ~U[2025-04-09 18:09:27.206301Z]] | |
↳ Phoenix.LiveView.Utils.assign_new/3, at: lib/phoenix_live_view/utils.ex:79 | |
[debug] Replied in 5ms | |
[info] GET /marketplace | |
[debug] Processing with MarketplaceWeb.MarketplaceLive.Index.index/2 | |
Parameters: %{} | |
Pipelines: [:browser] | |
[debug] QUERY OK source="users_tokens" db=4.7ms idle=870.6ms | |
SELECT u1."id", u1."first_name", u1."last_name", u1."email", u1."hashed_password", u1."confirmed_at", u1."inserted_at", u1."updated_at" FROM "users_tokens" AS u0 INNER JOIN "users" AS u1 ON u1."id" = u0."user_id" WHERE ((u0."token" = $1) AND (u0."context" = $2)) AND (u0."inserted_at" > $3::timestamp + (-(60)::numeric * interval '1 day')) [<<166, 73, 254, 184, 198, 49, 133, 160, 145, 105, 135, 180, 79, 150, 50, 39, 205, 123, 174, 175, 250, 198, 201, 193, 88, 182, 50, 40, 226, 128, 98, 241>>, "session", ~U[2025-04-09 18:09:27.984689Z]] | |
↳ MarketplaceWeb.UserAuth.fetch_current_user/2, at: lib/marketplace_web/user_auth.ex:96 | |
[info] Sent 200 in 6ms | |
[info] CONNECTED TO Phoenix.LiveView.Socket in 13µs | |
Transport: :websocket | |
Serializer: Phoenix.Socket.V2.JSONSerializer | |
Parameters: %{"_csrf_token" => "dAQuOTQVIg8JAgAaXwY0GAY5Rg4_LHs40qTzdCeIZOHj-BfVgrkWxg7j", "_live_referer" => "undefined", "_mounts" => "0", "_track_static" => %{"0" => "http://localhost:4000/assets/app.css", "1" => "http://localhost:4000/assets/app.js"}, "vsn" => "2.0.0"} | |
[debug] MOUNT MarketplaceWeb.MarketplaceLive.Index | |
Parameters: %{} | |
Session: %{"_csrf_token" => "DuzCPVGFSMHprDRNaK-YGKLR", "current_path" => "marketplace", "live_socket_id" => "users_sessions:pkn-uMYxhaCRaYe0T5YyJ817rq_6xsnBWLYyKOKAYvE=", "user_return_to" => "/jobs/new", "user_token" => <<166, 73, 254, 184, 198, 49, 133, 160, 145, 105, 135, 180, 79, 150, 50, 39, 205, 123, 174, 175, 250, 198, 201, 193, 88, 182, 50, 40, 226, 128, 98, 241>>} | |
[debug] QUERY OK source="users_tokens" db=1.3ms idle=953.9ms | |
SELECT u1."id", u1."first_name", u1."last_name", u1."email", u1."hashed_password", u1."confirmed_at", u1."inserted_at", u1."updated_at" FROM "users_tokens" AS u0 INNER JOIN "users" AS u1 ON u1."id" = u0."user_id" WHERE ((u0."token" = $1) AND (u0."context" = $2)) AND (u0."inserted_at" > $3::timestamp + (-(60)::numeric * interval '1 day')) [<<166, 73, 254, 184, 198, 49, 133, 160, 145, 105, 135, 180, 79, 150, 50, 39, 205, 123, 174, 175, 250, 198, 201, 193, 88, 182, 50, 40, 226, 128, 98, 241>>, "session", ~U[2025-04-09 18:09:28.074138Z]] | |
↳ Phoenix.LiveView.Utils.assign_new/3, at: lib/phoenix_live_view/utils.ex:79 | |
[debug] Replied in 1ms | |
[debug] HANDLE PARAMS in MarketplaceWeb.MarketplaceLive.Index | |
Parameters: %{} | |
[error] GenServer #PID<0.686.0> terminating | |
** (UndefinedFunctionError) function MarketplaceWeb.MarketplaceLive.Index.handle_params/3 is undefined or private | |
(marketplace 0.0.1) MarketplaceWeb.MarketplaceLive.Index.handle_params(%{}, "http://localhost:4000/jobs/new", #Phoenix.LiveView.Socket<id: "phx-GDS40gxlijESHQMC", endpoint: MarketplaceWeb.Endpoint, view: MarketplaceWeb.MarketplaceLive.Index, parent_pid: nil, root_pid: #PID<0.686.0>, router: MarketplaceWeb.Router, assigns: %{__changed__: %{}, flash: %{}, current_user: nil, current_path: "marketplace", live_action: :index, streams: %{__changed__: MapSet.new([]), __configured__: %{devices: [dom_id: #Function<0.127681681/1 in MarketplaceWeb.MarketplaceLive.Index.mount/3>]}, __ref__: 1, devices: %Phoenix.LiveView.LiveStream{name: :devices, dom_id: #Function<0.127681681/1 in MarketplaceWeb.MarketplaceLive.Index.mount/3>, ref: "0", inserts: [], deletes: [], reset?: false, consumable?: false}}}, transport_pid: #PID<0.678.0>, ...>) | |
(phoenix_live_view 0.19.5) lib/phoenix_live_view/utils.ex:462: anonymous fn/5 in Phoenix.LiveView.Utils.call_handle_params!/5 | |
(telemetry 1.3.0) /Users/rodrigodesouzavaleri/Projects/il/marketplace/deps/telemetry/src/telemetry.erl:324: :telemetry.span/3 | |
(phoenix_live_view 0.19.5) lib/phoenix_live_view/channel.ex:123: Phoenix.LiveView.Channel.handle_info/2 | |
(stdlib 5.2.3) gen_server.erl:1095: :gen_server.try_handle_info/3 | |
(stdlib 5.2.3) gen_server.erl:1183: :gen_server.handle_msg/6 | |
(stdlib 5.2.3) proc_lib.erl:241: :proc_lib.init_p_do_apply/3 | |
Last message: %Phoenix.Socket.Message{topic: "lv:phx-GDS40gxlijESHQMC", event: "live_patch", payload: %{"url" => "http://localhost:4000/jobs/new"}, ref: "8", join_ref: "4"} | |
State: %{socket: #Phoenix.LiveView.Socket<id: "phx-GDS40gxlijESHQMC", endpoint: MarketplaceWeb.Endpoint, view: MarketplaceWeb.MarketplaceLive.Index, parent_pid: nil, root_pid: #PID<0.686.0>, router: MarketplaceWeb.Router, assigns: %{__changed__: %{}, flash: %{}, current_user: nil, current_path: "marketplace", live_action: :index, streams: %{__changed__: MapSet.new([]), __configured__: %{devices: [dom_id: #Function<0.127681681/1 in MarketplaceWeb.MarketplaceLive.Index.mount/3>]}, __ref__: 1, devices: %Phoenix.LiveView.LiveStream{name: :devices, dom_id: #Function<0.127681681/1 in MarketplaceWeb.MarketplaceLive.Index.mount/3>, ref: "0", inserts: [], deletes: [], reset?: false, consumable?: false}}}, transport_pid: #PID<0.678.0>, ...>, components: {%{1 => {MarketplaceWeb.HeaderLive, "header", %{id: "header", __changed__: %{}, flash: %{}, current_user: nil, current_path: "marketplace", myself: %Phoenix.LiveComponent.CID{cid: 1}}, %{__temp__: %{}, lifecycle: %Phoenix.LiveView.Lifecycle{handle_event: [], handle_info: [], handle_params: [], mount: [], after_render: []}, root_view: MarketplaceWeb.MarketplaceLive.Index}, {110780648122682925383448404692464318773, %{1 => {190482155124290518511194887294476492040, %{5 => {1873491144137521330866687101703799725, %{}}}}, 3 => {273803352251026699656418803116144363706, %{0 => {190482155124290518511194887294476492040, %{5 => {293773376688266407859657438124511381083, %{}}}}, 1 => {190482155124290518511194887294476492040, %{5 => {288985528376126579844571379241761732795, %{}}}}}}}}}}, %{MarketplaceWeb.HeaderLive => %{"header" => 1}}, 2}, topic: "lv:phx-GDS40gxlijESHQMC", serializer: Phoenix.Socket.V2.JSONSerializer, join_ref: "4", upload_names: %{}, upload_pids: %{}} | |
[info] GET /jobs/new | |
[debug] Processing with MarketplaceWeb.MarketplaceLive.Index.index/2 | |
Parameters: %{} | |
Pipelines: [:browser, :require_authenticated_user] | |
[debug] QUERY OK source="users_tokens" db=1.2ms idle=664.1ms | |
SELECT u1."id", u1."first_name", u1."last_name", u1."email", u1."hashed_password", u1."confirmed_at", u1."inserted_at", u1."updated_at" FROM "users_tokens" AS u0 INNER JOIN "users" AS u1 ON u1."id" = u0."user_id" WHERE ((u0."token" = $1) AND (u0."context" = $2)) AND (u0."inserted_at" > $3::timestamp + (-(60)::numeric * interval '1 day')) [<<166, 73, 254, 184, 198, 49, 133, 160, 145, 105, 135, 180, 79, 150, 50, 39, 205, 123, 174, 175, 250, 198, 201, 193, 88, 182, 50, 40, 226, 128, 98, 241>>, "session", ~U[2025-04-09 18:09:48.143516Z]] | |
↳ MarketplaceWeb.UserAuth.fetch_current_user/2, at: lib/marketplace_web/user_auth.ex:96 | |
[info] Sent 302 in 2ms | |
[debug] Phoenix.Router halted in :require_authenticated_user/2 | |
[info] GET /users/log_in | |
[debug] Processing with MarketplaceWeb.UserLoginLive.new/2 | |
Parameters: %{} | |
Pipelines: [:browser, :redirect_if_user_is_authenticated] | |
[debug] QUERY OK source="users_tokens" db=0.8ms idle=689.1ms | |
SELECT u1."id", u1."first_name", u1."last_name", u1."email", u1."hashed_password", u1."confirmed_at", u1."inserted_at", u1."updated_at" FROM "users_tokens" AS u0 INNER JOIN "users" AS u1 ON u1."id" = u0."user_id" WHERE ((u0."token" = $1) AND (u0."context" = $2)) AND (u0."inserted_at" > $3::timestamp + (-(60)::numeric * interval '1 day')) [<<166, 73, 254, 184, 198, 49, 133, 160, 145, 105, 135, 180, 79, 150, 50, 39, 205, 123, 174, 175, 250, 198, 201, 193, 88, 182, 50, 40, 226, 128, 98, 241>>, "session", ~U[2025-04-09 18:09:48.168729Z]] | |
↳ MarketplaceWeb.UserAuth.fetch_current_user/2, at: lib/marketplace_web/user_auth.ex:96 | |
[info] Sent 200 in 1ms | |
[info] CONNECTED TO Phoenix.LiveView.Socket in 17µs | |
Transport: :websocket | |
Serializer: Phoenix.Socket.V2.JSONSerializer | |
Parameters: %{"_csrf_token" => "CgQecGMjFDQafSEeIDNhJy08GxItAgMjNqd33uSrI0inRw3iLw6KjIOq", "_live_referer" => "undefined", "_mounts" => "0", "_track_static" => %{"0" => "http://localhost:4000/assets/app.css", "1" => "http://localhost:4000/assets/app.js"}, "vsn" => "2.0.0"} | |
[debug] MOUNT MarketplaceWeb.UserLoginLive | |
Parameters: %{} | |
Session: %{"_csrf_token" => "DuzCPVGFSMHprDRNaK-YGKLR", "current_path" => "users", "live_socket_id" => "users_sessions:pkn-uMYxhaCRaYe0T5YyJ817rq_6xsnBWLYyKOKAYvE=", "user_return_to" => "/jobs/new", "user_token" => <<166, 73, 254, 184, 198, 49, 133, 160, 145, 105, 135, 180, 79, 150, 50, 39, 205, 123, 174, 175, 250, 198, 201, 193, 88, 182, 50, 40, 226, 128, 98, 241>>} | |
[debug] QUERY OK source="users_tokens" db=1.5ms idle=780.7ms | |
SELECT u1."id", u1."first_name", u1."last_name", u1."email", u1."hashed_password", u1."confirmed_at", u1."inserted_at", u1."updated_at" FROM "users_tokens" AS u0 INNER JOIN "users" AS u1 ON u1."id" = u0."user_id" WHERE ((u0."token" = $1) AND (u0."context" = $2)) AND (u0."inserted_at" > $3::timestamp + (-(60)::numeric * interval '1 day')) [<<166, 73, 254, 184, 198, 49, 133, 160, 145, 105, 135, 180, 79, 150, 50, 39, 205, 123, 174, 175, 250, 198, 201, 193, 88, 182, 50, 40, 226, 128, 98, 241>>, "session", ~U[2025-04-09 18:09:48.260269Z]] | |
↳ Phoenix.LiveView.Utils.assign_new/3, at: lib/phoenix_live_view/utils.ex:79 | |
[debug] Replied in 1ms |
Author
rsvalerio
commented
Apr 9, 2025

Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment