Magickbase / godwoken_explorer

Godwoken Explorer
https://v1.gwscan.com
18 stars 9 forks source link

Fix duplicate error from log file #1057

Closed zmcNotafraid closed 2 years ago

zmcNotafraid commented 2 years ago

Check server error.log and find errors that appear many times

zmcNotafraid commented 2 years ago

%{conn: %Plug.Conn{adapter: {Plug.Cowboy.Conn, :...}, assigns: %{kind: :error, layout: false, reason: %Phoenix.Router.NoRouteError{conn: %Plug.Conn{adapter: {Plug.Cowboy.Conn, :...}, assigns: %{}, body_params: %{}, cookies: %{}, halted: false, host: "api.v1.gwscan.com", method: "GET", owner: #PID<0.18308.0>, params: %{}, path_info: ["Templates", "user", "finance", "css", "userPay.css"], path_params: %{}, port: 80, private: %{GodwokenExplorerWeb.Router => {[], %{GodwokenExplorerWeb.API.RPC.RPCTranslator => []}}, :before_send => [#Function<0.23023616/1 in Plug.Telemetry.call/2>], :phoenix_endpoint => GodwokenExplorerWeb.Endpoint, :phoenix_request_logger => {"request_logger", "request_logger"}, :phoenix_router => GodwokenExplorerWeb.Router, :plug_session_fetch => #Function<1.77458138/1 in Plug.Session.fetch_session/1>}, query_params: %{}, query_string: "", remote_ip: {172, 19, 0, 1}, req_cookies: %{}, req_headers: [{"accept", "application/json,/"}, {"accept-encoding", "gzip, deflate"}, {"accept-language", "zh"}, {"connection", "close"}, {"content-type", "application/x-www-form-urlencoded"}, {"host", "api.v1.gwscan.com"}, {"referer", "https://api.v1.gwscan.com:443/Templates/user/finance/css/userPay.css"}, {"user-agent", "Mozilla/5.0 (Linux; Android 8.1; EML-L29 Build/HUAWEIEML-L29; xx-xx) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/65.0.3325.109 Mobile Safari/537.36 (iPad; iPhone; CPU iPhone OS 13_2_3 like Mac OS X)"}, {"x-forwarded-for", "152.32.251.68, 172.31.4.230"}, {"x-forwarded-proto", "https"}, {"x-real-ip", "172.31.4.230"}], request_path: "/Templates/user/finance/css/userPay.css", resp_body: nil, resp_cookies: %{}, resp_headers: [{"cache-control", "max-age=0, private, must-revalidate"}, {"x-request-id", "FxVsIgD6w23a1P0ADWOC"}, {"access-control-allow-origin", "*"}, {"access-control-expose-headers", ""}, {"access-control-allow-credentials", "true"}], scheme: :http, script_name: [], secret_key_base: :..., state: :unset, status: nil}, message: "no route found for GET /Templates/user/finance/css/userPay.css (GodwokenExplorerWeb.Router)", plug_status: 404, router: GodwokenExplorerWeb.Router}, stack: [{GodwokenExplorerWeb.Router, :call, 2, [file: 'lib/phoenix/router.ex', line: 406]}, {GodwokenExplorerWeb.Endpoint, :plug_builder_call, 2, [file: 'lib/godwoken_explorer_web/endpoint.ex', line: 1]}, {GodwokenExplorerWeb.Endpoint, :"call (overridable 3)", 2, [file: 'lib/godwoken_explorer_web/endpoint.ex', line: 1]}, {GodwokenExplorerWeb.Endpoint, :call, 2, [file: 'lib/godwoken_explorer_web/endpoint.ex', line: 1]}, {Phoenix.Endpoint.Cowboy2Handler, :init, 4, [file: 'lib/phoenix/endpoint/cowboy2_handler.ex', line: 54]}, {:cowboy_handler, :execute, 2, [file: '/app/deps/cowboy/src/cowboy_handler.erl', line: 37]}, {:cowboy_stream_h, :execute, 3, [file: '/app/deps/cowboy/src/cowboy_stream_h.erl', line: 306]}, {:cowboy_stream_h, :request_process, 3, [file: '/app/deps/cowboy/src/cowboy_stream_h.erl', line: 295]}], status: 404}, body_params: %{}, cookies: %{}, halted: false, host: "api.v1.gwscan.com", meth

zmcNotafraid commented 2 years ago
zmcNotafraid commented 2 years ago