You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary
ECS Fargate Service App tries to send E-Mails via SMTP server running in ECS Fargate Service Mailhog. Connection fails with "Unexpected socket close"
Removing envoy and proxy configuration from the Mailhog service fixes the issue
Steps to Reproduce
Create task definitions for the app service that sends the mail and the Mailhog service. The task definitions have to include the envoy container definitions as well as the proxy configurations.
Create virtual services, virtual routers and virtual nodes for both. Add the Mailhog service as a backend to the app virtual node.
When everything is started, try to send an email from the app to Mailhog - it will fail. The envoy proxy of the app task will show that it tries to connect to the Mailhog task but in the Mailhog envoy log, there is nothing regarding an incoming connection.
Remove just the proxy configuration and envoy container definition from the Mailhog task definition but leave the app mesh configuration untouched -> it will start working
The HTTP connection from the app task to the Mailhog UI on port 8025 always works
The security group allows all inbound traffic from the VPC
Are you currently working around this issue?
I've removed the envoy container and the proxy configuration from the Mailhog task definition
Summary
ECS Fargate Service App tries to send E-Mails via SMTP server running in ECS Fargate Service Mailhog. Connection fails with "Unexpected socket close"
Removing envoy and proxy configuration from the Mailhog service fixes the issue
Steps to Reproduce
Are you currently working around this issue?
I've removed the envoy container and the proxy configuration from the Mailhog task definition
Attachments
Virtual Node App
Virtual Node Mailhog
Virtual Router Mailhog
Route Mailhog 1025
Route Mailhog 8025
Virtual Service Mailhog
Task definition App
Task definition Mailhog
Log from app-envoy
IP 10.0.1.55 is the IP address of the App Task
Context
Potentially related to #425
The text was updated successfully, but these errors were encountered: