On the validated transactions page, click the block to display internal server error
Dawn-githup opened this issue · comments
Dawn commented
e00dan commented
I've deployed Axon Explorer for our own Axon deployment but very often homepage of the explorer is showing just "Internal Server Error":
URL: https://axon-explorer.digipnyx.org/
On the other hand going to different site than main page works, eg. https://axon-explorer.digipnyx.org/address/0xBC71BE5E1d0bf8A939544c804E3337DCc347Fd46
Logs:
blockscan | 2022-11-01T09:50:58.240 application=indexer fetcher=block_catchup first_block_number=131248 last_block_number=0 missing_block_count=6 shrunk=false [info] Index had to catch up.
blockscan | 2022-11-01T09:50:58.240 application=indexer fetcher=block_catchup [info] Checking if index needs to catch up in 2500ms.
blockscan | 2022-11-01T09:51:00.245 application=phoenix [info] CONNECTED TO BlockScoutWeb.UserSocket in 65µs
blockscan | Transport: :websocket
blockscan | Serializer: Phoenix.Socket.V2.JSONSerializer
blockscan | Parameters: %{"locale" => "en", "vsn" => "2.0.0"}
blockscan | 2022-11-01T09:51:00.335 application=plug request_id=FyNtHXSfFY2PIswAPDBE [info] GET /
blockscan | 2022-11-01T09:51:00.339 application=plug request_id=FyNtHXSfFY2PIswAPDBE [info] Sent 500 in 3ms
blockscan | 2022-11-01T09:51:00.339 [error] #PID<0.23265.12> running BlockScoutWeb.Endpoint (connection #PID<0.23267.12>, stream id 1) terminated
blockscan | Server: axon-explorer.digipnyx.org:80 (http)
blockscan | Request: GET /
blockscan | ** (exit) an exception was raised:
blockscan | ** (FunctionClauseError) no function clause matching in Gettext.dpngettext/7
blockscan | (gettext 0.18.2) lib/gettext.ex:868: Gettext.dpngettext(Timex.Gettext, "units", nil, "%{count} second", "%{count} seconds", 3.0, %{})
blockscan | (gettext 0.18.2) lib/gettext.ex:1013: Gettext.with_locale/3
blockscan | (block_scout_web 0.0.1) lib/block_scout_web/templates/chain/show.html.eex:118: BlockScoutWeb.ChainView."show.html"/1
blockscan | (phoenix 1.5.13) lib/phoenix/view.ex:310: Phoenix.View.render_within/3
blockscan | (phoenix 1.5.13) lib/phoenix/view.ex:472: Phoenix.View.render_to_iodata/3
blockscan | (phoenix 1.5.13) lib/phoenix/controller.ex:777: Phoenix.Controller.render_and_send/4
blockscan | (block_scout_web 0.0.1) lib/block_scout_web/controllers/chain_controller.ex:1: BlockScoutWeb.ChainController.action/2
blockscan | (block_scout_web 0.0.1) lib/block_scout_web/controllers/chain_controller.ex:1: BlockScoutWeb.ChainController.phoenix_controller_pipeline/2
blockscan | 2022-11-01T09:51:00.668 application=phoenix [info] CONNECTED TO BlockScoutWeb.UserSocket in 45µs
blockscan | Transport: :websocket
blockscan | Serializer: Phoenix.Socket.V2.JSONSerializer
blockscan | Parameters: %{"locale" => "en", "vsn" => "2.0.0"}
blockscan | 2022-11-01T09:51:00.686 application=indexer fetcher=empty_blocks_to_refetch [info] Start sanitizing of empty blocks. Batch size is 100
blockscan | 2022-11-01T09:51:00.724 application=indexer fetcher=empty_blocks_to_refetch [info] Batch of empty blocks is sanitized
blockscan | 2022-11-01T09:51:00.934 application=indexer fetcher=block_catchup first_block_number=5 last_block_number=0 step=receipts [error] failed to
...
is sanitized
blockscan | 2022-11-01T09:51:00.934 application=indexer fetcher=block_catchup first_block_number=5 last_block_number=0 step=receipts [error] failed to fetch: [%{code: -32602, data: %{block_hash: "0x03b46bcebf4b6e984342f10211fb95c805044e85de1fd2c9de6c29e8f941c929", block_number: 0, from_address_hash: "0x7833074e29e05195c6195cc88139895e0fc52d3e", gas: 0, gas_price: 0, hash: "0xa405c94e43c9697d4f9bcb62b5bca9038ffaa1bed689c3c426f6f1f74e6337f6", index: 0, input: "0x608060405234801561001057600080fd5b506124d3806100206000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c806333105218146100675780634290d10c1461009757806374ec29a0146100b3578063870aac5c146100e357806394b91deb14610102578063998e84a31461010c575b600080fd5b610081600480360381019061007c9190611a46565b61013c565b60405161008e9190611f10565b60405180910390f35b6100b160048036038101906100ac9190611a6f565b610293565b005b6100cd60048036038101906100c89190611a46565b610953565b6040516100da9190611f10565b60405180910390f35b6100eb610d06565b6040516100f9929190611ee0565b60405180910390f35b61010a610f2b565b005b61012660048036038101906101219190611ab0565b610f5e565b6040516101339190611fcb565b60405180910390f35b600080600080600160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200190815260200160002060020180549050905060005b81811015610287578373ffffffffffffffffffffffffffffffffffffffff16600080600160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff168152602001908152602001600020600201828154811061021d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906003020160020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156102765760019250505061028e565b8061028090612267565b9050610187565b5060009150505b919050565b6000816020015167ffffffffffffffff1610156102e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102dc90611f2b565b60405180910390fd5b6000805b8260a001515181101561038e573373ffffffffffffffffffffffffffffffffffffffff168360a00151828151811061034a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516040015173ffffffffffffffffffffffffffffffffffffffff16141561037b576001915061038e565b808061038690612267565b9150506102e9565b50806103cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103c690611fab565b60405180910390fd5b60008260200151905067ffffffffffffffff8016600160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1614610541578067ffffffffffffffff1660018060009054906101000a900467ffffffffffffffff16610436919061210e565b67ffffffffffffffff1614610480576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161047790611f4b565b60405180910390fd5b6001600080600160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200190815260200160002060000160000160089054906101000a900467ffffffffffffffff166104e3919061210e565b67ffffffffffffffff1683600001516000015167ffffffffffffffff1614610540576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053790611f6b565b60405180910390fd5b5b60008060008367ffffffffffffffff1667ffffffffffffffff168152602001908152602001600020905083600001518160000160008201518160000160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060208201518160000160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555090505083602001518160010160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083604001518160010160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083606001518160010160106101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083608001518160010160186101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508360c001518160030160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508360e001518160030160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508361010001518160030160106101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508361012001518160030160186101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508361014001518160040160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508361016001518160040160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836101800151816005018190555060005b8460a001515181101561092357816002018560a00151828151811061080e" <> ..., max_fee_per_gas: 1337, max_priority_fee_per_gas: 1337, nonce: 0, r: 106484573130664553590950459564053375429283139342853639017885582761711418049617, s: 5755448196716374914459300277547579195158821389109948976330491158207635778407, to_address_hash: nil, transaction_index: 0, type: 2, v: 0, value: 0}, message: "Not Found"}, %{code: -32602, data: %{block_hash: "0x03b46bcebf4b6e984342f10211fb95c805044e85de1fd2c9de6c29e8f941c929", block_number: 0, from_address_hash: "0x769ad11c425a53453f20e64837f94873a3728f37", gas: 0, gas_price: 0, hash: "0xfa7a880a3d15654248c108fc1673eeddd90e5ce480ab53d01db9139372ccb398", index: 1, input: "0x60806040523480156200001157600080fd5b5060405162002f6838038062002f6883398181016040528101906200003791906200044f565b828281600390805190602001906200005192919062000316565b5080600490805190602001906200006a92919062000316565b5050506200008d62000081620000d560201b60201c565b620000dd60201b60201c565b620000b16000801b620000a5620000d560201b60201c565b620001a360201b60201c565b80600660146101000a81548160ff021916908360ff1602179055505050506200066e565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620001b58282620001b960201b60201c565b5050565b620001cb8282620002ab60201b60201c565b620002a75760016005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200024c620000d560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b828054620003249062000579565b90600052602060002090601f01602090048101928262000348576000855562000394565b82601f106200036357805160ff191683800117855562000394565b8280016001018555821562000394579182015b828111156200039357825182559160200191906001019062000376565b5b509050620003a39190620003a7565b5090565b5b80821115620003c2576000816000905550600101620003a8565b5090565b6000620003dd620003d78462000500565b620004d7565b905082815260208101848484011115620003f657600080fd5b6200040384828562000543565b509392505050565b600082601f8301126200041d57600080fd5b81516200042f848260208601620003c6565b91505092915050565b600081519050620004498162000654565b92915050565b6000806000606084860312156200046557600080fd5b600084015167ffffffffffffffff8111156200048057600080fd5b6200048e868287016200040b565b935050602084015167ffffffffffffffff811115620004ac57600080fd5b620004ba868287016200040b565b9250506040620004cd8682870162000438565b9150509250925092565b6000620004e3620004f6565b9050620004f18282620005af565b919050565b6000604051905090565b600067ffffffffffffffff8211156200051e576200051d62000614565b5b620005298262000643565b9050602081019050919050565b600060ff82169050919050565b60005b838110156200056357808201518184015260208101905062000546565b8381111562000573576000848401525b50505050565b600060028204905060018216806200059257607f821691505b60208210811415620005a957620005a8620005e5565b5b50919050565b620005ba8262000643565b810181811067ffffffffffffffff82111715620005dc57620005db62000614565b5b80604052505050565b7f4e487b710000000000 (truncated)
blockscan | 2022-11-01T09:51:00.934 application=indexer fetcher=block_catchup first_block_number=131249 last_block_number=0 missing_block_count=6 shrunk=false [info] Index had to catch up.
blockscan | 2022-11-01T09:51:00.934 application=indexer fetcher=block_catchup [info] Checking if index needs to catch up in 2500ms.
Naupio commented
seems cause error with 3.0
args for Gettext.dpngettext(Timex.Gettext, "units", nil, "%{count} second", "%{count} seconds", 3.0, %{})
, the position of 3.0
must use integer
type value.