Next.js application receiving ECONNRESET errors.

Hi! We’ve been getting a TON of ECONNRESET errors in our Next.js application recently.

This is the log we’re seeing with project IDs omitted:

request to <https://codegen.plasmic.app/api/v1/loader/code/versioned?cb=16&platform=nextjs&loaderVersion=9&projectId=><project1>%408.1.0&projectId=<project2>%4062.0.0&projectId=<project3>%4011.1.0&projectId=<project4>%400.3.1 failed, reason: read ECONNRESET request to <https://codegen.plasmic.app/api/v1/loader/code/versioned?cb=16&platform=nextjs&loaderVersion=9&projectId=><project1>%408.1.0&projectId=<project2>%4062.0.0&projectId=<project3>%4011.1.0&projectId=<project4>%400.3.1 failed, reason: read ECONNRESET request to <https://codegen.plasmic.app/api/v1/loader/code/versioned?cb=16&platform=nextjs&loaderVersion=9&projectId=><project1>%408.1.0&projectId=<project2>%4062.0.0&projectId=<project3>%4011.1.0&projectId=<project4>%400.3.1 failed, reason: read ECONNRESET

Does anyone know what may be going on with this?

I saw earlier threads mention that restarting helped and that seems to help us as well. We don’t have a way to automate it with our cloud platform unfortunately. Is there another solution to this problem?

Hi! Where is your app deployed? (vercel, etc.)?

Google Cloud Run

@chungwu do you know what may be causing this?

could you DM me the project IDs and some timestamps?

same problem here. i think this needs a documentation update @chungwu