Giter Club home page Giter Club logo

Comments (8)

ozgrakkurt avatar ozgrakkurt commented on July 24, 2024

Hey, can you share all of the logs? I tried it locally, and there doesn't seem to be any problem with handling ports in the URL string.

from eth-archive.

metmirr avatar metmirr commented on July 24, 2024

Sure

[2023-02-08T12:07:07Z WARN  eth_archive_core::eth_client] excluding rpc url http://127.0.0.1:9650/ext/bc/2s8sfTnx6K5kEanTnaZcKVK6uvBnFPGC74g7CbYgPGphRkXnkZ/rpc because couldn't get best block:
    failed to execute http request:
    error sending request for url (http://127.0.0.1:9650/ext/bc/2s8sfTnx6K5kEanTnaZcKVK6uvBnFPGC74g7CbYgPGphRkXnkZ/rpc): connection closed before message completed
[2023-02-08T12:07:07Z ERROR eth_archive_core::retry] failed to run operation: no healthy rpc url found., retrying
[2023-02-08T12:07:20Z WARN  eth_archive_core::eth_client] excluding rpc url http://127.0.0.1:9650/ext/bc/2s8sfTnx6K5kEanTnaZcKVK6uvBnFPGC74g7CbYgPGphRkXnkZ/rpc because couldn't get best block:
    failed to execute http request:
    error sending request for url (http://127.0.0.1:9650/ext/bc/2s8sfTnx6K5kEanTnaZcKVK6uvBnFPGC74g7CbYgPGphRkXnkZ/rpc): connection error: Connection reset by peer (os error 54)
[2023-02-08T12:07:20Z ERROR eth_archive_core::retry] failed to run operation: no healthy rpc url found., retrying

Rpc endpoint is working, I checked it with postman:

Screenshot 2023-02-08 at 2 09 56 PM

from eth-archive.

ozgrakkurt avatar ozgrakkurt commented on July 24, 2024

thanks! can you send me your setup to reproduce this?

from eth-archive.

metmirr avatar metmirr commented on July 24, 2024

You can use this repo, I am testing eth-archive with it: https://github.com/metmirr/mini-network/. You need to install avalanchego binary https://github.com/ava-labs/avalanchego/releases/tag/v1.9.8 scripts/node*.sh assume the binary is installed globally but you can refer to the exact location by editing the scripts.

Only do this step: running nodes that all you need: https://github.com/metmirr/mini-network/#run-network

Optional Avalanche will not produce blocks without txs so if you want to test that just run npm hardhat run ./scripts/deploy.ts

from eth-archive.

ozgrakkurt avatar ozgrakkurt commented on July 24, 2024

It works on my m1 mac if I follow these steps

nevermind, It reproduces. sorry for impatience :)

from eth-archive.

ozgrakkurt avatar ozgrakkurt commented on July 24, 2024

I have found that the issue is because it has intermittent connection problems. Everything seems to be functional even though there are errors. It seems to be related to connection pooling and keep-alive configurations.

from eth-archive.

metmirr avatar metmirr commented on July 24, 2024

Glad that helped :)

from eth-archive.

ozgrakkurt avatar ozgrakkurt commented on July 24, 2024

thank you! closing this

from eth-archive.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.