36 lines
4.7 KiB
Plaintext
36 lines
4.7 KiB
Plaintext
[error] `inotify-tools` is needed to run `file_system` for your system, check https://github.com/rvoicilas/inotify-tools/wiki for more information about how to install it. If it's already installed but not be found, appoint executable file with `config.exs` or `FILESYSTEM_FSINOTIFY_EXECUTABLE_FILE` env.
|
|
[warning] Not able to start file_system worker, reason: {:error, :fs_inotify_bootstrap_error}
|
|
[warning] Could not start Phoenix live-reload because we cannot listen to the file system.
|
|
You don't need to worry! This is an optional feature used during development to
|
|
refresh your browser when you save files and it does not affect production.
|
|
|
|
[info] Running ApiWeb.Endpoint with cowboy 2.13.0 at 127.0.0.1:4001 (http)
|
|
[info] Access ApiWeb.Endpoint at https://127.0.0.1:80
|
|
[error] `inotify-tools` is needed to run `file_system` for your system, check https://github.com/rvoicilas/inotify-tools/wiki for more information about how to install it. If it's already installed but not be found, appoint executable file with `config.exs` or `FILESYSTEM_FSINOTIFY_EXECUTABLE_FILE` env.
|
|
[warning] Not able to start file_system worker, reason: {:error, :fs_inotify_bootstrap_error}
|
|
[warning] Could not start Phoenix live-reload because we cannot listen to the file system.
|
|
You don't need to worry! This is an optional feature used during development to
|
|
refresh your browser when you save files and it does not affect production.
|
|
|
|
[info] Running ApiWeb.Endpoint with cowboy 2.13.0 at 127.0.0.1:4001 (http)
|
|
[info] Access ApiWeb.Endpoint at https://127.0.0.1:80
|
|
[info] GET /api/redirect/1599
|
|
[info] parametros: "1599"
|
|
[info] Sent 302 in 5ms
|
|
[info] GET /api/redirect/2
|
|
[info] parametros: "2"
|
|
[info] Sent 200 in 2ms
|
|
[error] #PID<0.2418.0> running ApiWeb.Endpoint (connection #PID<0.2417.0>, stream id 1) terminated
|
|
Server: 127.0.0.1:4001 (http)
|
|
Request: GET /api/redirect/2
|
|
** (exit) an exception was raised:
|
|
** (FunctionClauseError) no function clause matching in Plug.HTML.html_escape/1
|
|
(plug 1.17.0) lib/plug/html.ex:19: Plug.HTML.html_escape(%Plug.Conn{adapter: {Plug.Cowboy.Conn, :...}, assigns: %{}, body_params: %{}, cookies: %{"_api_key" => "SFMyNTY.g3QAAAABbQAAAAtfY3NyZl90b2tlbm0AAAAYenZhWDNRc242ajVydXFEVUtlZkI0a0NO.u4wYUsiSKfptx0c0L1H_nOhZEQ24AbmVmcApfoozbfI"}, halted: false, host: "127.0.0.1", method: "GET", owner: #PID<0.2418.0>, params: %{"accession" => "2"}, path_info: ["api", "redirect", "2"], path_params: %{"accession" => "2"}, port: 4001, private: %{ApiWeb.Router => ["api"], :phoenix_view => %{"html" => ApiWeb.RedirectHTML, "json" => ApiWeb.RedirectJSON}, :plug_session_fetch => #Function<1.49469887/1 in Plug.Session.fetch_session/1>, :before_send => [#Function<0.106864063/1 in Plug.Telemetry.call/2>], :phoenix_action => :index, :phoenix_format => "json", :phoenix_controller => ApiWeb.Redirect, :phoenix_endpoint => ApiWeb.Endpoint, :phoenix_layout => %{"html" => {ApiWeb.Layouts, :app}}, :phoenix_router => ApiWeb.Router, :phoenix_request_logger => {"request_logger", "request_logger"}}, query_params: %{}, query_string: "", remote_ip: {127, 0, 0, 1}, req_cookies: %{"_api_key" => "SFMyNTY.g3QAAAABbQAAAAtfY3NyZl90b2tlbm0AAAAYenZhWDNRc242ajVydXFEVUtlZkI0a0NO.u4wYUsiSKfptx0c0L1H_nOhZEQ24AbmVmcApfoozbfI"}, req_headers: [{"accept", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"}, {"accept-encoding", "gzip, deflate, br, zstd"}, {"accept-language", "es-AR,es;q=0.8,en-US;q=0.5,en;q=0.3"}, {"connection", "keep-alive"}, {"cookie", "_api_key=SFMyNTY.g3QAAAABbQAAAAtfY3NyZl90b2tlbm0AAAAYenZhWDNRc242ajVydXFEVUtlZkI0a0NO.u4wYUsiSKfptx0c0L1H_nOhZEQ24AbmVmcApfoozbfI"}, {"host", "127.0.0.1:4001"}, {"priority", "u=0, i"}, {"sec-fetch-dest", "document"}, {"sec-fetch-mode", "navigate"}, {"sec-fetch-site", "none"}, {"sec-fetch-user", "?1"}, {"upgrade-insecure-requests", "1"}, {"user-agent", "Mozilla/5.0 (X11; Linux x86_64; rv:136.0) Gecko/20100101 Firefox/136.0"}], request_path: "/api/redirect/2", resp_body: nil, resp_cookies: %{}, resp_headers: [{"content-type", "text/plain; charset=utf-8"}, {"cache-control", "max-age=0, private, must-revalidate"}, {"x-request-id", "GDcmE-rih8OYx_AAAAIC"}], scheme: :http, script_name: ["api"], secret_key_base: :..., state: :sent, status: 200})
|
|
(phoenix 1.7.21) lib/phoenix/controller.ex:491: Phoenix.Controller.redirect/2
|
|
(api 0.1.0) lib/api_web/controllers/redirect.ex:1: ApiWeb.Redirect.action/2
|
|
(api 0.1.0) lib/api_web/controllers/redirect.ex:1: ApiWeb.Redirect.phoenix_controller_pipeline/2
|
|
(phoenix 1.7.21) lib/phoenix/router.ex:484: Phoenix.Router.__call__/5
|
|
(api 0.1.0) lib/api_web/endpoint.ex:1: ApiWeb.Endpoint.plug_builder_call/2
|
|
(api 0.1.0) lib/api_web/endpoint.ex:1: ApiWeb.Endpoint.call/2
|
|
(plug_cowboy 2.7.3) lib/plug/cowboy/handler.ex:11: Plug.Cowboy.Handler.init/2
|