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

500 Internal server error while opening address view in old UI #2531

Open
SurenFTN opened this issue Jan 24, 2025 · 2 comments
Open

500 Internal server error while opening address view in old UI #2531

SurenFTN opened this issue Jan 24, 2025 · 2 comments
Labels
bug Something isn't working triage Issues and PRs that are needed triage

Comments

@SurenFTN
Copy link

SurenFTN commented Jan 24, 2025

Description

While opening https://www.ftnscan.com/address/0xB79A4F5828eb55c10D7abF4bFe9a9f5d11aA84e0 address's view on old UI receiving an 500 internal server error on old UI

2025-01-23T12:24:00.390 [error] #PID<0.1754175.0> running BlockScoutWeb.Endpoint (connection #PID<0.1754174.0>, stream id 1) terminated
Server: *********** (http)
Request: GET /address/0xB79A4F5828eb55c10D7abF4bFe9a9f5d11aA84e0
** (exit) an exception was raised:
    ** (ArgumentError) construction of binary failed: segment 3 of type 'binary': expected a binary but got: %Explorer.Chain.Hash{byte_count: 20, bytes: <<41, 47, 197, 14, 78, 182, 108, 63, 101, 20, 185, 228, 2, 219, 194, 89, 97, 130, 77, 98>>}
        (block_scout_web 6.10.1) lib/block_scout_web/templates/address/overview.html.eex:139: BlockScoutWeb.AddressView."overview.html"/1
        (block_scout_web 6.10.1) lib/block_scout_web/templates/address_transaction/index.html.eex:5: BlockScoutWeb.AddressTransactionView."index.html"/1
        (block_scout_web 6.10.1) lib/block_scout_web/templates/address/_show_address_transactions.html.eex:1: BlockScoutWeb.AddressView."_show_address_transactions.html"/1
        (phoenix 1.5.14) lib/phoenix/view.ex:310: Phoenix.View.render_within/3
        (phoenix 1.5.14) lib/phoenix/view.ex:472: Phoenix.View.render_to_iodata/3
        (phoenix 1.5.14) lib/phoenix/controller.ex:777: Phoenix.Controller.render_and_send/4
        (block_scout_web 6.10.1) lib/block_scout_web/controllers/address_controller.ex:1: BlockScoutWeb.AddressController.action/2
        (block_scout_web 6.10.1) lib/block_scout_web/controllers/address_controller.ex:1: BlockScoutWeb.AddressController.phoenix_controller_pipeline/2

Meanwhile on same backend running it with new ui there is no any problem https://t3.ftnscan.com/address/0xB79A4F5828eb55c10D7abF4bFe9a9f5d11aA84e0

Link to the page

https://www.ftnscan.com/address/0xB79A4F5828eb55c10D7abF4bFe9a9f5d11aA84e0

Steps to reproduce

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. See error

App version

v6.9.1, v 6.10.1

Browser

Google Chrome

Operating system

Linux

Additional information

same problem is remaing with the backend version 6.9.1 and 6.10.1

@SurenFTN SurenFTN added bug Something isn't working triage Issues and PRs that are needed triage labels Jan 24, 2025
@SurenFTN
Copy link
Author

@vbaranov any ideas ?

@GimluCom
Copy link

This repository is for the new UI. The old UI is still at https://github.com/blockscout/blockscout

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

No branches or pull requests

2 participants