Coder Social home page Coder Social logo

Comments (7)

PatrickZGW avatar PatrickZGW commented on July 4, 2024 1

Thank you very much, this solved the issue for me.

from btc-rpc-explorer.

dawiepoolman avatar dawiepoolman commented on July 4, 2024

I have the same setup and I also get timeouts when trying to connect to my RPi3 from my laptop.
The timeout messages occur when I run on my laptop:
npm start

from btc-rpc-explorer.

dawiepoolman avatar dawiepoolman commented on July 4, 2024

I have also tried changing the bitcoin port to 8333 in credentials.js (instead of the 8332 as the default) but no luck yet. I doubt it can be a timeout because of speed. It might be related to rpc credentials/config..

from btc-rpc-explorer.

dawiepoolman avatar dawiepoolman commented on July 4, 2024

My bad. Seems like 8332 is reserved as the rpc port for bitcoin. We might have to give it explicit firewall access on the RPi..

from btc-rpc-explorer.

PatrickZGW avatar PatrickZGW commented on July 4, 2024

It does work for me if I select /peers for example. I think it is just a timeout error with the requests module of nodejs

from btc-rpc-explorer.

dawiepoolman avatar dawiepoolman commented on July 4, 2024

I have managed to run it by referencing my full node on my laptop but I cant seem to get it running when pointing to the RPi LAN IP and rpc credentials of the pi. I have also explicitly gave only my laptop LAN ip access through my Pis firewall but no joy.

I think you are right that it is highly likely to be the request.js module somewhere around line 843 being too aggressive with the timeout logic.

from btc-rpc-explorer.

gdassori avatar gdassori commented on July 4, 2024

The RPC timeout is quite strict. I would love to customize it. Thanks.

Edit:
Found how to do it, this may help with timeouts in raspberry:
It is expressed in milliseconds, increase it and should work.

timeout: 5000

from btc-rpc-explorer.

Related Issues (20)

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.