Mirobit / bitcoin-node-manager

:bar_chart: Lightweight dashboard and control system for bitcoin nodes
MIT License
122 stars 62 forks source link

Undefined index error. #25

Closed mcjoshea closed 3 years ago

mcjoshea commented 4 years ago

This bug has been going on for a while but I have never had to forsite to take a screenshot of it until tonight.

image

I'm only interested in the top three lines. The bottom line has already been logged as #22.

If I do a refresh the errors go away and don't come back for a while. I only ever see them when I open the site up after being away from it for for a while.

image

The last time I looked at my node was about a day ago.

I do also get similar errors appearing if a peer with an unknown country IP address connects to my node but it soon catches up and the error vanishes.

I know it's something to do with the IP country code lookup. Any ideas?

Mirobit commented 3 years ago

Thanks for reporting this. This has been going on for a while (#14). There is a bug in caching the geo data. I will try to fix this soon.

Mirobit commented 3 years ago

I hope I finally fixed this bug (0f72f30fb0b76408108a8e864dc433f8c87c6b12). Please let me know if this still happens.