crypto/tls: SMTP connection timeout in Go Version 1.23 #71257
Labels
BugReport
Issues describing a possible bug in the Go implementation.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Go version
go version go1.23.2 darwin/arm64
Output of
go env
in your module/workspace:What did you do?
Was using library
crypto/tls
andnet
for smtp dialing and communicationthe code is working fine in MacOs arm64 system. However the binary file built by command
env GOOS=linux GOARCH=amd64 go build -o
and run in AWS Linux EC2 instance will receiveread tcp: timeout
issue. This issue is resolved by downgrading the Go version to 1.22.What did you see happen?
What did you expect to see?
AUTH LOGIN
command successfully send afterSTARTTLS
command and receive the request for username and password for further authenticationThe text was updated successfully, but these errors were encountered: