Troubleshooting
Problem
By default there is a 10 second timeout configured for the SMTP server used by API Connect.
In cases when the mail server is slower to respond, the timeout triggers invalidating the invitation. The mail might still deliver to the recipient, but the invitation link is broken due to the timeout.
Symptom
When the mail is sent, you might see a notification like
“A Server Error occurred Error sending mail message using server named Name-of-the-mail-server (Name of the mail server) with host example.mailserver.com and port nn (timeout) 400”
Similar logs also appear in the apim pod log:
For example
2020-10-15T07:31:22.448Z bhendi:error [transaction ID] Error in POST post:/api/consumer-orgs/:org/:catalog/:consumerorg/member-invitations (member_invitation.js:create) - status : 400 - message: Error sending mail message using server named Name-of-the-mail-server (Name of the mail server) with host example.mailserver.com and port nn (Timeout). - stack : Error: Error sending mail message using server named Name-of-the-mail-server (Name of the mail server) with host example.mailserver.com and port nn (Timeout). ... - errors : undefined: { "status": 400, "message": [ "Error sending mail message using server named Name-of-the-mail-server (Name of the mail server) with host example.mailserver.com and port nn (Timeout)." ]
After you click the Activation link for an invitation that timed out, you might see a notification message like: 'Invitation not accepted Not found 400'.
Document Location
Worldwide
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
02 March 2020
UID
ibm15222541