pull down to refresh

Sigh, my bot stopped working. I’ll have to check logs again

100 sats \ 5 replies \ @ek 1 Dec 2024

235 days without an incident involving @hn 👀.

Let me know what the problem was once you found it.

reply

Will do. Probably another unnecessary field in my API calls that changed or was removed

Edit: or maybe my server died. Who knows lol

reply

Gah, issue calling braiins' API

Error: getaddrinfo EAI_AGAIN pool.braiins.com
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {
     errno: -3001,
     code: 'EAI_AGAIN',
     syscall: 'getaddrinfo',
     hostname: 'pool.braiins.com'
}

Edit: seems to be a DNS issue on my server

reply

No idea why this randomly stopped working, but should be back in business now

reply
100 sats \ 1 reply \ @ek 1 Dec 2024

does that mean your miner also stopped working?

reply

It was still sending shares to the pool, which is interesting. Maybe there’s some DNS resolution caching in the miner process

Also only one of my miners is connected to this server, so only one would have been impacted, fortunately

reply

Do you mind sharing where or how you leaned to make bots?

reply

I’m a Software engineer by trade, so lots of experience in general. I also contributed a fair amount to stacker news itself last year, so i was pretty familiar with the API

reply