Email aren't sending in production

so i am using nextauth for my authentication as part of this users can signin using an email, this will then send them an email with the login code or a link to signin. these emails send in both dev and prod enviorments locally, but won't send on vercel. these are the logs:
{
"TimeUTC": "2023-11-15 09:31:24",
"timestampInMs": 1700040684034,
"requestPath": "www.meally.com.au/api/auth/signin/email",
"requestMethod": "POST",
"responseStatusCode": -10,
"requestId": "syd1::syd1::7mqhv-1700040673960-095158d1f055",
"requestUserAgent": [
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"
],
"level": "error",
"environment": "production",
"branch": "master",
"vercelCache": "-",
"type": "lambda",
"function": "/api/auth/[...nextauth]",
"deploymentId": "dpl_Fw4xNjZnsFyQPWbP3sHwL4vrrLAK",
"lambdaDurationInMs": -1,
"lambdaRegion": "syd1",
"lambdaMaxMemoryUsed": -1,
"lambdaMemorySize": -1,
"message": "Task timed out after 10.05 seconds\n",
"projectId": "prj_QZSATJpQEdlMJhwMcZbI2XaNL03r",
"projectName": ""
},
{
"TimeUTC": "2023-11-15 09:31:24",
"timestampInMs": 1700040684034,
"requestPath": "www.meally.com.au/api/auth/signin/email",
"requestMethod": "POST",
"responseStatusCode": -10,
"requestId": "syd1::syd1::7mqhv-1700040673960-095158d1f055",
"requestUserAgent": [
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"
],
"level": "error",
"environment": "production",
"branch": "master",
"vercelCache": "-",
"type": "lambda",
"function": "/api/auth/[...nextauth]",
"deploymentId": "dpl_Fw4xNjZnsFyQPWbP3sHwL4vrrLAK",
"lambdaDurationInMs": -1,
"lambdaRegion": "syd1",
"lambdaMaxMemoryUsed": -1,
"lambdaMemorySize": -1,
"message": "Task timed out after 10.05 seconds\n",
"projectId": "prj_QZSATJpQEdlMJhwMcZbI2XaNL03r",
"projectName": ""
},
0 Replies
No replies yetBe the first to reply to this messageJoin