uaktags / explorer

An open source block explorer
BSD 3-Clause "New" or "Revised" License
6 stars 8 forks source link

node scripts/peers.js not working #40

Open minkcrypto-zz opened 5 years ago

minkcrypto-zz commented 5 years ago

No data available in table although it has 22 peers connected https://explorer.cpuchain.org/network

uaktags commented 5 years ago

hmm, try setting in your settings.json: "peers": { "use_IPStack": false, "purge_on_run": false },

My theory is that we're having issues with the request to IPStack

minkcrypto-zz commented 5 years ago

Works now, can you fix them later?

uaktags commented 5 years ago

I'm working on figuring out why Request doesn't work at all. Seems really strange since it's a very simple request to make.

I've also tried playing with the idea of using MaxMind's GeoIP-Country database, but for whatever reason, I can't get npm i maxmind to install fully for me on my Win Devbox. Using MaxMind would probably be ideal since it will remove some of the external connections and people can then choose to get a subscription if they want a more updated database.

On Fri, Jul 12, 2019 at 12:37 PM Min Khang Aung notifications@github.com wrote:

Works now, can you fix them later?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/uaktags/explorer/issues/40?email_source=notifications&email_token=AAG2F5GIUPPGVZ6YV7EDXGDP7CXMNA5CNFSM4H6U32TKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ2IHSI#issuecomment-510952393, or mute the thread https://github.com/notifications/unsubscribe-auth/AAG2F5FX7OUZVQOFVDTPNGLP7CXMNANCNFSM4H6U32TA .