Skip to content

Discovery periodically returns 503 error #41

@0xRabbidfly

Description

@0xRabbidfly

probably happens 25% of the time. here is the trace

[2025-08-19 20:15:50] INFO: Starting Twitter discovery cycle...
Search error: 99 | }
100 | else {
101 | errorString += ' - ' + this.formatV2Error(data);
102 | }
103 | }
104 | return new types_1.ApiResponseError(errorString, {
^
error: Request failed with code 503
error: true,
type: "response",
code: 503,
headers: {
date: "Tue, 19 Aug 2025 20:15:50 GMT",
"content-type": "application/json; charset=utf-8",
"content-length": "94",
connection: "keep-alive",
"cache-control": "no-cache, no-store, max-age=0",
"x-frame-options": "SAMEORIGIN",
"content-encoding": "gzip",
"x-xss-protection": "0",
"content-disposition": "attachment; filename=json.json",
"x-content-type-options": "nosniff",
"strict-transport-security": "max-age=631138519; includeSubdomains",
vary: "accept-encoding",
"set-cookie": [ "guest_id=v1%3A175563455035592108; Max-Age=34214400; Expires=Sat, 19 Sep 2026 20:15:50 GMT; Path=/; Domain=.x.com; Secure; SameSite=None",
"__cf_bm=2bJxVcLIQmQ0717Gb.TB4qZn6r9bR4LFdWn2pNdsjIE-1755634550-1.0.1.1-RkHwC6QtEfFJb13cIvhhd5qZjVwuN4wEBIHZ7TOk9ZZ3RUMrO8zmSSitgJjfSYE0lqsn9tNpBUHKAD6x1.0zFtCY230GQnJZT715_lGvBVo; path=/; expires=Tue, 19-Aug-25 20:45:50 GMT; domain=.x.com; HttpOnly; Secure; SameSite=None"
],
"cf-ray": "971c53434d3ca5c5-AMS",
perf: "7402827104",
"api-version": "2.146",
"x-access-level": "read-write",
"x-transaction-id": "ec3a1be990a89087",
"x-rate-limit-limit": "60",
"x-rate-limit-reset": "1755635408",
"x-rate-limit-remaining": "55",
"x-response-time": "31",
"x-connection-hash": "2161304ebaf02613f35eaf990384f2855f684450a64605f67cd4dc2524c7a52b",
"cf-cache-status": "DYNAMIC",
server: "cloudflare tsa_b",
},
rateLimit: {
limit: 60,
remaining: 55,
reset: 1755635408,
},
data: {
title: "Service Unavailable",
detail: "Service Unavailable",
type: "about:blank",
status: 503,
},

  at createResponseError (/mnt/z/Projects/eliza/regcheck-9/node_modules/twitter-api-v2/dist/cjs/client-mixins/request-handler.helper.js:104:16)
  at onResponseEndHandler (/mnt/z/Projects/eliza/regcheck-9/node_modules/twitter-api-v2/dist/cjs/client-mixins/request-handler.helper.js:262:25)
  at emit (node:events:92:22)
  at endReadableNT (internal:streams/readable:862:50)

[2025-08-19 20:15:51] ERROR: Failed to search topic cloud and container security:
message: "(Error) Request failed with code 503"
stack: [
"Error: Request failed with code 503",
"at createResponseError (/mnt/z/Projects/eliza/regcheck-9/node_modules/twitter-api-v2/dist/cjs/client-mixins/request-handler.helper.js:104:28)",
"at onResponseEndHandler (/mnt/z/Projects/eliza/regcheck-9/node_modules/twitter-api-v2/dist/cjs/client-mixins/request-handler.helper.js:262:25)",
"at emit (node:events:92:22)",
"at endReadableNT (internal:streams/readable:862:50)",
"at processTicksAndRejections (native:7:39)"
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions