botblock / BLAPI

A package to handle posting your discord bot stats to all botlists [Typescript (and JavaScript) - maintained by @maybeanerd]
MIT License
29 stars 12 forks source link

BLAPI Error: connect ETIMEDOUT #75

Closed sawa-ko closed 3 years ago

sawa-ko commented 3 years ago

Describe the bug I can't send my bot stats because I get an error.

To Reproduce Steps to reproduce the behavior:

  1. Post new stats

Expected behavior That the statistics are posted correctly.

Screenshots image

Additional context

[ERROR] BLAPI Error: connect ETIMEDOUT 172.67.175.211:443
maybeanerd commented 3 years ago

What lists are you posting to? Did you turn off the use of botblock? Could you turn on extended logging? That might help with some information as to when exactly this is happening.

Could be that just a specific list is down, which doesn't have to do with any issues on our side.

But after seeing this we should definitely add which endpoint is failing to the errors, to make finding the source of the error easier.

sawa-ko commented 3 years ago
const apiKeys = {
      'discord.bots.gg': 'token',
      'discordbotlist.com': 'token',
      'discord.boats': 'token',
      'bots.ondiscord.xyz': 'token',
      'voidbots.net': 'token',
      'bots.discordlabs.org': 'token',
      'top.gg': 'token',
    };

await manualPost(guildsCountShards, this.client.user.id, apiKeys, this.client.shardId, this.client.shard.count);
maybeanerd commented 3 years ago

Could you turn on extended logging and see what it logs before the error is thrown?

sawa-ko commented 3 years ago

The problem seems to have stopped, I have not received that error message again.