Everyday at the same hour my whatsapp bot can't send stickers #3135
luizbizzio
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Every day around the same time my whastapp bot gives an error when trying to make/send a sticker, the time is around 01:55, this only happens on Windows, I use the Bot on Windows and Linux, this error is not because of code, as on other Windows computers it still works, even if I install modules again, restart bot, restart computer, the error still for one hour.
Error: connect ETIMEDOUT 2a03:2880:f248:1cd:face:b00c:0:167:443
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) {
errno: -4039,
code: 'ETIMEDOUT',
syscall: 'connect',
address: '2a03:2880:f248:1cd:face:b00c:0:167',
port: 443,
config: {
transitional: {
silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false
},
adapter: [Function: httpAdapter],
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
validateStatus: [Function: validateStatus],
headers: {
Accept: 'application/json, text/plain, /',
'User-Agent': 'WhatsApp/2.16.352 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.92 Safari/537.36',
DNT: 1,
'Upgrade-Insecure-Requests': 1,
origin: 'https://web.whatsapp.com/',
referer: 'https://web.whatsapp.com/'
},
responseType: 'arraybuffer',
method: 'get',
url: 'https://mmg.whatsapp.net/o1/v/t62.7118-24/f1/m230/up-oil-image-78b6144f-ee94-4f99-88f8-535a651521f8?ccb=9-4&oh=01_AdSY-WmaVObGSVmO6OGJauxCF9D1lbP1M6YQfuSne3gdqg&oe=64AE07DD&mms3=true',
data: undefined
},
request: <ref *1> Writable {
_writableState: WritableState {
objectMode: false,
highWaterMark: 16384,
finalCalled: false,
needDrain: false,
ending: false,
ended: false,
finished: false,
destroyed: false,
decodeStrings: true,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: true,
bufferProcessing: false,
onwrite: [Function: bound onwrite],
writecb: null,
writelen: 0,
afterWriteTickInfo: null,
buffered: [],
bufferedIndex: 0,
allBuffers: true,
allNoop: true,
pendingcb: 0,
constructed: true,
prefinished: false,
errorEmitted: false,
emitClose: true,
autoDestroy: true,
errored: null,
closed: false,
closeEmitted: false,
[Symbol(kOnFinished)]: []
},
_events: [Object: null prototype] {
response: [Function: handleResponse],
error: [Function: handleRequestError],
socket: [Function: handleRequestSocket]
},
_eventsCount: 3,
_maxListeners: undefined,
_options: {
maxRedirects: 21,
maxBodyLength: 10485760,
protocol: 'https:',
path: '/o1/v/t62.7118-24/f1/m230/up-oil-image-78b6144f-ee94-4f99-88f8-535a651521f8?ccb=9-4&oh=01_AdSY-WmaVObGSVmO6OGJauxCF9D1lbP1M6YQfuSne3gdqg&oe=64AE07DD&mms3=true',
method: 'GET',
headers: [Object],
agent: undefined,
agents: [Object],
auth: undefined,
hostname: 'mmg.whatsapp.net',
port: null,
nativeProtocols: [Object],
pathname: '/o1/v/t62.7118-24/f1/m230/up-oil-image-78b6144f-ee94-4f99-88f8-535a651521f8',
search: '?ccb=9-4&oh=01_AdSY-WmaVObGSVmO6OGJauxCF9D1lbP1M6YQfuSne3gdqg&oe=64AE07DD&mms3=true'
},
_ended: true,
_ending: true,
_redirectCount: 0,
_redirects: [],
_requestBodyLength: 0,
_requestBodyBuffers: [],
_onNativeResponse: [Function (anonymous)],
_currentRequest: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: false,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: false,
socket: [TLSSocket],
_header: 'GET /o1/v/t62.7118-24/f1/m230/up-oil-image-78b6144f-ee94-4f99-88f8-535a651521f8?ccb=9-4&oh=01_AdSY-WmaVObGSVmO6OGJauxCF9D1lbP1M6YQfuSne3gdqg&oe=64AE07DD&mms3=true HTTP/1.1\r\n' +
'Accept: application/json, text/plain, /\r\n' +
'User-Agent: WhatsApp/2.16.352 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.92 Safari/537.36\r\n' +
'DNT: 1\r\n' +
'Upgrade-Insecure-Requests: 1\r\n' +
'origin: https://web.whatsapp.com/\r\n' +
'referer: https://web.whatsapp.com/\r\n' +
'Host: mmg.whatsapp.net\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/o1/v/t62.7118-24/f1/m230/up-oil-image-78b6144f-ee94-4f99-88f8-535a651521f8?ccb=9-4&oh=01_AdSY-WmaVObGSVmO6OGJauxCF9D1lbP1M6YQfuSne3gdqg&oe=64AE07DD&mms3=true',
_ended: false,
res: null,
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'mmg.whatsapp.net',
protocol: 'https:',
_redirectable: [Circular *1],
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kUniqueHeaders)]: null
},
_currentUrl: 'https://mmg.whatsapp.net/o1/v/t62.7118-24/f1/m230/up-oil-image-78b6144f-ee94-4f99-88f8-535a651521f8?ccb=9-4&oh=01_AdSY-WmaVObGSVmO6OGJauxCF9D1lbP1M6YQfuSne3gdqg&oe=64AE07DD&mms3=true',
[Symbol(kCapture)]: false
},
response: undefined,
isAxiosError: true,
toJSON: [Function: toJSON]
}
Beta Was this translation helpful? Give feedback.
All reactions