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
Describe the bug
Service A tries to send E-Mails via SMTP server running in Service B. Connection fails with Unexpected socket close
Removing envoy and proxy configuration from the SMTP server task fixes the issue
Platform
ECS Fargate
To Reproduce
Create task definitions for the app task that sends the mail and the SMTP server task that is the SMTP server (I've used mailhog/mailhog:latest for this). 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 SMTP server as a backend to the app virtual node.
When everything is started, try to send an email from the app to the SMTP server - it will fail. The envoy proxy of the app task will show that it tries to connect to the SMTP task but in the SMTP envoy log, there is nothing regarding an incoming connection.
Remove just the proxy configuration and envoy container definition from the SMTP server 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
Expected behavior
Connection should succeed even with envoy sidecar
Describe the bug
Service A tries to send E-Mails via SMTP server running in Service B. Connection fails with Unexpected socket close
Removing envoy and proxy configuration from the SMTP server task fixes the issue
Platform
ECS Fargate
To Reproduce
Expected behavior
Connection should succeed even with envoy sidecar
Config files, and API responses
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
The text was updated successfully, but these errors were encountered: