GithubHelp home page GithubHelp logo

AxiosError: read ECONNRESET about amplify-cli HOT 3 OPEN

Sanoodia avatar Sanoodia commented on June 9, 2024 1
AxiosError: read ECONNRESET

from amplify-cli.

Comments (3)

ykethan avatar ykethan commented on June 9, 2024

Hey @Sanoodia, thank you for reaching. Is this occurring on a amplify mock function?
If this is on the Lambda invocation on the console, implementing a error handling and retry logic may help in mitigating this behavior, refer to the Lambda documentation providing additional information. If this does not mitigate the issue, I would suggest reaching out to AWS technical support for Lambda for a deeper investigation.

from amplify-cli.

Sanoodia avatar Sanoodia commented on June 9, 2024

here are the logs of my axio request
Error: read ECONNRESET
at AxiosError.from (/opt/nodejs/node_modules/axios/dist/node/axios.cjs:836:14)
at RedirectableRequest.handleRequestError (/opt/nodejs/node_modules/axios/dist/node/axios.cjs:3086:25)
at RedirectableRequest.emit (node:events:517:28)
at RedirectableRequest.emit (node:domain:489:12)
at eventHandlers. (/opt/nodejs/node_modules/follow-redirects/index.js:38:24)
at ClientRequest.emit (node:events:517:28)
at ClientRequest.emit (node:domain:489:12)
at TLSSocket.socketErrorListener (node:_http_client:501:9)
at TLSSocket.emit (node:events:517:28)
at TLSSocket.emit (node:domain:489:12)
at Axios.request (/opt/nodejs/node_modules/axios/dist/node/axios.cjs:3876:41)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async getPaginatedData (/opt/envHelpers.js:84:22)
at async Object.getLoadById (/var/task/sync_sdk.js:162:16)
at async exports.handler (/var/task/index.js:464:30)

from amplify-cli.

ykethan avatar ykethan commented on June 9, 2024

@Sanoodia thank you for providing the log, the error read ECONNRESET indicated an network/connection to a server was reset while the request was being made on the AWS Lambda. The AWS technical support for Lambda should be able to assist you in diving deeper on the service side.

from amplify-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.