Timeout connecting to resend from Spring Boot app
israf1l
PROOP

4 months ago

Hello. Since 4-5 hours started getting timeout when connecting to Resend apis from my Spring Boot app. API is live and working from local. Was totally fine before.

2026-03-15T09:02:01.631Z ERROR 1 --- [core] [omcat-handler-0] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: feign.RetryableException: Connect timed out executing POST https://api.resend.com/email] with root cause

java.net.SocketTimeoutException: Connect timed out

Deployment ID: e02c061f-6c5f-45c7-a0bc-4bbc79823e15

Solved

3 Replies

4 months ago

Hey, we've not heard anyone else having issues with Resend and Railway, is it back to normal now?


goktugcy
HOBBY

3 months ago

Yes, I'm experiencing the same problem. I think there's a traffic issue between railway and resend

at Timeout. (/app/node_modules/.pnpm/nodemailer@8.0.4/node_modules/nodemailer/lib/smtp-connection/index.js:363:18)

at listOnTimeout (node:internal/timers:581:17)

at SMTPConnection._formatError (/app/node_modules/.pnpm/nodemailer@8.0.4/node_modules/nodemailer/lib/smtp-connection/index.js:865:19)

at SMTPConnection._onError (/app/node_modules/.pnpm/nodemailer@8.0.4/node_modules/nodemailer/lib/smtp-connection/index.js:846:20)

at SMTPConnection._onConnectionError (/app/node_modules/.pnpm/nodemailer@8.0.4/node_modules/nodemailer/lib/smtp-connection/index.js:383:18)

at MailerService.sendMail (/app/dist/modules/notifications/mailer.service.js:56:19)

at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

at async NotificationsService.sendPasswordReset (/app/dist/modules/notifications/notifications.service.js:89:9)

at async /app/dist/modules/users/users.service.js:269:13

at async EntityManager.transaction (/app/node_modules/.pnpm/typeorm@0.3.28_ioredis@5.10.1_pg@8.20.0_ts-node@10.9.2_@types+node@20.19.37_typescript@5.9.3_/node_modules/typeorm/entity-manager/EntityManager.js:75:28)

Could there be a problem with the SMTP output from railway?


We're aware of intermittent outbound connectivity drops affecting some services, where outbound connections fail while internal networking and DNS keep working, and we're actively investigating. If you hit it, the quickest workaround is to redeploy, which moves your service onto a fresh host and restores connectivity. If it happens again, reply here with the rough time it started and we'll jump on it while it's live. Those real-time reports are exactly what help us track down the cause.


Status changed to Awaiting User Response angelo-railway 24 days ago


Railway
BOT

17 days ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 17 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...