4 months ago
I'm using Nodemailer with Brevo as my SMTP provider, and while everything works fine locally in my Docker container, the deployed version recently started having issues where it gets stuck and fails to send emails. This was working without any problems before, and I haven’t made any changes to the code. I’ve verified the Brevo SMTP credentials. Does anyone know what could be causing this or how to fix it?
Also i get only the timeout error in the deploy logs.
```
Something went wrong Network.enable timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.
```
I'm no expert, but i think railway is somehow blocking to send emails through the server maybe for some security reasons.
5 Replies
4 months ago
Hello,
We do not block any outbound traffic of any kind, this would most likely be your Email provider blocking your connection, you would want to get in contact with them.
Best,
Brody
Status changed to Awaiting User Response railway[bot] • 4 months ago
4 months ago
The problem is i was using gmail smtp before through nodemailer now i've shifted completely to using brevo api, everything works just fine in my local environment, and these things were working perfectly fine last month and i haven't changed a single line of code since then, now i just get a timeout error in my deploy logs.
Attachments
Status changed to Awaiting Railway Response railway[bot] • 4 months ago
brody
Hello,We do not block any outbound traffic of any kind, this would most likely be your Email provider blocking your connection, you would want to get in contact with them.Best,Brody
4 months ago
The problem is everything was working last month and since then i haven't changed a single line of code now i just get a timeout error in my deploy logs. I was using gmail smtp before through nodemailer now i've shifted completely to using brevo api, everything works fine in my local environment.
brody
Hello,We do not block any outbound traffic of any kind, this would most likely be your Email provider blocking your connection, you would want to get in contact with them.Best,Brody
4 months ago
Hey Brody, thank you so much for your support, the problem in my case was with puppeteer it has some weird issues in containerized env in railway, i came across your thread and found a solution to use browserless template to run puppeteer and it worked.
THANK YOU SOOOO MUCHHH, you literally saved my rest of the weekend you are a angel.
Status changed to Awaiting User Response railway[bot] • 4 months ago
Status changed to Solved brody • 4 months ago