Hello,
For the past 3 days in a row, when I try to update my database I get the error "AxiosError: read ECONNRESET".
I had no issues before. I am under Cloudflare DNS.
This only happens on the "details" endpoints.
Thank you.
AxiosError: read ECONNRESET
at Function.AxiosError.from (/Users/www/back-rc-nest-gql/node_modules/axios/lib/core/AxiosError.js:89:14)
at RedirectableRequest.handleRequestError (/Users/www/back-rc-nest-gql/node_modules/axios/lib/adapters/http.js:610:25)
at RedirectableRequest.emit (node:events:531:35)
at ClientRequest.eventHandlers.<computed> (/Users/www/back-rc-nest-gql/node_modules/follow-redirects/index.js:38:24)
at ClientRequest.emit (node:events:519:28)
at TLSSocket.socketErrorListener (node:_http_client:495:9)
at TLSSocket.emit (node:events:519:28)
at emitErrorNT (node:internal/streams/destroy:169:8)
at emitErrorCloseNT (node:internal/streams/destroy:128:3)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
at Axios.request (/Users/www/back-rc-nest-gql/node_modules/axios/lib/core/Axios.js:45:41)
at processTicksAndRejections (node:internal/process/task_queues:95:5) {
syscall: 'read',
code: 'ECONNRESET',
errno: -54,
config: {
transitional: {
silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false
},
adapter: [ 'xhr', 'http' ],
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 10000,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
env: { FormData: [Function], Blob: [class Blob] },
validateStatus: [Function: validateStatus],
headers: Object [AxiosHeaders] {
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/json;charset=utf-8',
Connection: 'keep-alive',
'User-Agent': 'axios/1.6.8',
'Accept-Encoding': 'gzip, compress, deflate, br'
},
maxRedirects: 10,
params: {
append_to_response: 'credits,changes',
start_date: 2024-04-10T06:34:08.554Z,
end_date: 2024-04-12T06:34:08.554Z,
language: 'fr-FR'
},
method: 'get',
url: 'https://api.themoviedb.org/3/movie/22377',
data: undefined
},
request: <ref *1> Writable {
_events: {
close: undefined,
error: [Function: handleRequestError],
prefinish: undefined,
finish: undefined,
drain: undefined,
response: [Function: handleResponse],
socket: [Array],
timeout: undefined,
abort: undefined
},
_writableState: WritableState {
highWaterMark: 16384,
length: 0,
corked: 0,
onwrite: [Function: bound onwrite],
writelen: 0,
bufferedIndex: 0,
pendingcb: 0,
[Symbol(kState)]: 17580812,
[Symbol(kBufferedValue)]: null
},
_maxListeners: 15,
_options: {
maxRedirects: 10,
maxBodyLength: Infinity,
protocol: 'https:',
path: '/3/movie/22377?append_to_response=credits,changes&start_date=2024-04-10T06:34:08.554Z&end_date=2024-04-12T06:34:08.554Z&language=fr-FR',
method: 'GET',
headers: [Object: null prototype],
agents: [Object],
auth: undefined,
family: undefined,
beforeRedirect: [Function: dispatchBeforeRedirect],
beforeRedirects: [Object],
hostname: 'api.themoviedb.org',
port: '',
agent: undefined,
nativeProtocols: [Object],
pathname: '/3/movie/22377',
search: '?append_to_response=credits,changes&start_date=2024-04-10T06:34:08.554Z&end_date=2024-04-12T06:34:08.554Z&language=fr-FR'
},
_ended: true,
_ending: true,
_redirectCount: 0,
_redirects: [],
_requestBodyLength: 0,
_requestBodyBuffers: [],
_eventsCount: 3,
_onNativeResponse: [Function (anonymous)],
_currentRequest: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 7,
_maxListeners: 15,
outputData: [],
outputSize: 0,
writable: true,
destroyed: false,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: true,
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,
_header: 'GET /3/movie/22377?append_to_response=credits,changes&start_date=2024-04-10T06:34:08.554Z&end_date=2024-04-12T06:34:08.554Z&language=fr-FR HTTP/1.1\r\n' +
'Accept: application/json, text/plain, */*\r\n' +
'Content-Type: application/json;charset=utf-8\r\n' +
'Connection: keep-alive\r\n' +
'User-Agent: axios/1.6.8\r\n' +
'Accept-Encoding: gzip, compress, deflate, br\r\n' +
'Host: api.themoviedb.org\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/3/movie/22377?append_to_response=credits,changes&start_date=2024-04-10T06:34:08.554Z&end_date=2024-04-12T06:34:08.554Z&language=fr-FR',
_ended: false,
res: null,
aborted: false,
timeoutCb: [Function: emitRequestTimeout],
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'api.themoviedb.org',
protocol: 'https:',
_redirectable: [Circular *1],
[Symbol(shapeMode)]: false,
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kChunkedBuffer)]: [],
[Symbol(kChunkedLength)]: 0,
[Symbol(kSocket)]: [TLSSocket],
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
_currentUrl: 'https://api.themoviedb.org/3/movie/22377?append_to_response=credits,changes&start_date=2024-04-10T06:34:08.554Z&end_date=2024-04-12T06:34:08.554Z&language=fr-FR',
_timeout: null,
[Symbol(shapeMode)]: true,
[Symbol(kCapture)]: false
},
cause: Error: read ECONNRESET
at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) {
errno: -54,
code: 'ECONNRESET',
syscall: 'read'
}
}
Не можеш да нађеш филм или серију? Пријави се да додаш.
Желите ли да оцените или додате ову ставку у листу?
Нисте члан?