Open holtgrewe opened 2 years ago
I am using Manta v1.6.0. My manta workflow script runs hang. Running things through strace -f, I found the following.
v1.6.0
strace -f
socket(AF_INET, SOCK_STREAM, IPPROTO_TCP) = 3 connect(3, {sa_family=AF_INET, sin_port=htons(25), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 recvfrom(3,
The server (Rocky Linux 7) uses no firewall but also does not run an SMTP server.
I suggest changing the following
def isLocalSmtp() : import smtplib try : smtplib.SMTP('localhost') except : return False return True
to
def isLocalSmtp() : import smtplib try : smtplib.SMTP('localhost', timeout=2) except : return False return True
or similar.
I am using Manta
v1.6.0
. My manta workflow script runs hang. Running things throughstrace -f
, I found the following.The server (Rocky Linux 7) uses no firewall but also does not run an SMTP server.
I suggest changing the following
to
or similar.