Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{{%Phoenix.Router.NoRouteError{conn: %Plug.Conn{adapter: {Plug.Cowboy.Conn, :...}, assigns: %{}, ... #15

Open
appsignal bot opened this issue Jan 20, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@appsignal
Copy link

appsignal bot commented Jan 20, 2019

Message

  Process #PID<0.397.0> terminating: {{{%Phoenix.Router.NoRouteError{conn: %Plug.Conn{adapter: {Plug.Cowboy.Conn, :...}, assigns: %{}, before_send: [#Function<1.112466771/1 in Plug.Logger.call/2>], body_params: %{}, cookies: %Plug.Conn.Unfetched{aspect: :cookies}, halted: false, host: "admissions.elixirschool.com", method: "GET", owner: #PID<0.397.0>, params: %{}, path_info: ["apple-touch-icon-precomposed.png"], path_params: %{}, port: 80, private: %{AdmissionsWeb.Router => {[], %{}}, :appsignal_transaction => AppSignal.Transaction{vpv518oa5kj98}, :phoenix_endpoint => AdmissionsWeb.Endpoint, :phoenix_router => AdmissionsWeb.Router, :plug_session_fetch => #Function<1.58261320/1 in Plug.Session.fetch_session/1>}, query_params: %{}, query_string: "", remote_ip: {0, 0, 0, 0, 0, 65535, 2629, 29054}, req_cookies: %Plug.Conn.Unfetched{aspect: :cookies}, req_headers: [{"accept", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"}, {"accept-encoding", "gzip"}, {"accept-language", "en-us"}, {"cdn-loop", "cloudflare"}, {"cf-connecting-ip", "73.229.142.20"}, {"cf-ipcountry", "US"}, {"cf-ray", "49c4efbd6530c7db-DEN"}, {"cf-visitor", "{\"scheme\":\"http\"}"}, {"connect-time", "1"}, {"connection", "close"}, {"cookie", "__cfduid=df359d798cdb11ef9ad0014d27e7622d81548022897"}, {"dnt", "1"}, {"host", "admissions.elixirschool.com"}, {"total-route-time", "0"}, {"upgrade-insecure-requests", "1"}, {"user-agent", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/601.2.4 (KHTML, like Gecko) Version/9.0.1 Safari/601.2.4 facebookexternalhit/1.1 Facebot Twitterbot/1.0"}, {"via", "1.1 vegur"}, {"x-forwarded-for", "73.229.142.20, 172.68.34.33"}, {"x-forwarded-port", "80"}, {"x-forwarded-proto", "http"}, {"x-request-id", "3e84ef6f-9bd7-41d9-a6b2-48f02b7340e8"}, {"x-request-start", "1548022911671"}], request_path: "/apple-touch-icon-precomposed.png", resp_body: nil, resp_cookies: %{}, resp_headers: [{"cache-control", "max-age=0, private, must-revalidate"}, {"x-request-id", "3e84ef6f-9bd7-41d9-a6b2-48f02b7340e8"}], scheme: :http, script_name: [], secret_key_base: :..., state: :unset, status: nil}, message: "no route found for GET /apple-touch-icon-precomposed.png (AdmissionsWeb.Router)", plug_status: 404, router: AdmissionsWeb.Router}, [{AdmissionsWeb.Router, :__match_route__, 4, [file: 'lib/admissions_web/router.ex', line: 1]}, {AdmissionsWeb.Router, :call, 2, [file: 'lib/phoenix/router.ex', line: 304]}, {AdmissionsWeb.Endpoint, :plug_builder_call, 2, [file: 'lib/admissions_web/endpoint.ex', line: 1]}, {AdmissionsWeb.Endpoint, :"call (overridable 2)", 2, [file: 'lib/admissions_web/endpoint.ex', line: 3]}, {AdmissionsWeb.Endpoint, :call, 2, [file: 'lib/admissions_web/endpoint.ex', line: 1]}, {Phoenix.Endpoint.Cowboy2Handler, :init, 2, [file: 'lib/phoenix/endpoint/cowboy2_handler.ex', line: 34]}, {:cowboy_handler, :execute, 2, [file: '/tmp/build_0ca07e8249d71e08c4e82832d6525e96/deps/cowboy/src/cowboy_handler.erl', line: 41]}, {:cowboy_stream_h, :execute, 3, [file: '/tmp/build_0ca07e8249d71e08c4e82832d6525e96/deps/cowboy/src/cowboy_stream_h.erl', line: 296]}]}, {AdmissionsWeb.Endpoint, :call, [%Plug.Conn{adapter: {Plug.Cowboy.Conn, :...}, assigns: %{}, before_send: [], body_params: %Plug.Conn.Unfetched{aspect: :body_params}, cookies: %Plug.Conn.Unfetched{aspect: :cookies}, halted: false, host: "admissions.elixirschool.com", method: "GET", owner: #PID<0.397.0>, params: %Plug.Conn.Unfetched{aspect: :params}, path_info: ["apple-touch-icon-precomposed.png"], path_params: %{}, port: 80, private: %{}, query_params: %Plug.Conn.Unfetched{aspect: :query_params}, query_string: "", remote_ip: {0, 0, 0, 0, 0, 65535, 2629, 29054}, req_cookies: %Plug.Conn.Unfetched{aspect: :cookies}, req_headers: [{"accept", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"}, {"accept-encoding", "gzip"}, {"accept-language", "en-us"}, {"cdn-loop", "cloudflare"}, {"cf-connecting-ip", "73.229.142.20"}, {"cf-ipcountry", "US"}, {"cf-ray", "49c4efbd6530c7db-DEN"}, {"cf-visitor", "{\"scheme\":\"http\"}"}, {"connect-time", "1"}, {"connection", "close"}, {"cookie", "__cfduid=df359d798cdb11ef9ad0014d27e7622d81548022897"}, {"dnt", "1"}, {"host", "admissions.elixirschool.com"}, {"total-route-time", "0"}, {"upgrade-insecure-requests", "1"}, {"user-agent", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/601.2.4 (KHTML, like Gecko) Version/9.0.1 Safari/601.2.4 facebookexternalhit/1.1 Facebot Twitterbot/1.0"}, {"via", "1.1 vegur"}, {"x-forwarded-for", "73.229.142.20, 172.68.34.33"}, {"x-forwarded-port", "80"}, {"x-forwarded-proto", "http"}, {"x-request-id", "3e84ef6f-9bd7-41d9-a6b2-48f02b7340e8"}, {"x-request-start", "1548022911671"}], request_path: "/apple-touch-icon-precomposed.png", resp_body: nil, resp_cookies: %{}, resp_headers: [{"cache-control", "max-age=0, private, must-revalidate"}], scheme: :http, script_name: [], secret_key_base: nil, state: :unset, status: nil}, []]}}, [{Phoenix.Endpoint.Cowboy2Handler, :init, 2, [file: 'lib/phoenix/endpoint/cowboy2_handler.ex', line: 43]}, {:cowboy_handler, :execute, 2, [file: '/tmp/build_0ca07e8249d71e08c4e82832d6525e96/deps/cowboy/src/cowboy_handler.erl', line: 41]}, {:cowboy_stream_h, :execute, 3, [file: '/tmp/build_0ca07e8249d71e08c4e82832d6525e96/deps/cowboy/src/cowboy_stream_h.erl', line: 296]}, {:cowboy_stream_h, :request_process, 3, [file: '/tmp/build_0ca07e8249d71e08c4e82832d6525e96/deps/cowboy/src/cowboy_stream_h.erl', line: 274]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 249]}]}

Backtrace (last 10 lines)

(phoenix) lib/phoenix/endpoint/cowboy2_handler.ex:43: Phoenix.Endpoint.Cowboy2Handler.init/2
(cowboy) /tmp/build_0ca07e8249d71e08c4e82832d6525e96/deps/cowboy/src/cowboy_handler.erl:41: :cowboy_handler.execute/2
(cowboy) /tmp/build_0ca07e8249d71e08c4e82832d6525e96/deps/cowboy/src/cowboy_stream_h.erl:296: :cowboy_stream_h.execute/3
(cowboy) /tmp/build_0ca07e8249d71e08c4e82832d6525e96/deps/cowboy/src/cowboy_stream_h.erl:274: :cowboy_stream_h.request_process/3
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3

View on AppSignal: https://appsignal.com/elixirschool/sites/5c034f6101925b44366abac1/incidents/7?timestamp=2019-01-20T22:21:51Z

@doomspork doomspork added the bug Something isn't working label Jan 20, 2019
@fabianskier
Copy link

It appears that the apple-touch-icon-precomposed.png file, which the Phoenix application is attempting to serve, is not currently located in the priv/static directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants