For arlanix/notification 1.0.1
Troubleshooting
Nothing arrives
Open the Message Log and find the message. What to do next depends on what you see:
- The message is not in the log. Nothing was published. Either the rule did not send it (see A rule did not send), or the topic's Delivers is off.
- No subscribers. No subscription of the topic takes the message. Check that the subscription is Active. Also check that its Gets includes the message's severity. For example, a subscription that gets Errors only does not get warnings.
- On its way for more than a few minutes. Nothing is sending the messages. See The admin says notifications have waited more than 15 minutes.
- Failed. Click View to see the answer from the mail server, Telegram, Slack or Discord. See A delivery failed. If the outcome is Sent but an email did not arrive:
- Look in the spam folder.
- Check the address on the subscription's form for a typo.
- If both are fine, ask your developer. The mail server accepted the email, so the server is probably not allowed to send from the sender address.
If the outcome is Sent but a Telegram, Slack or Discord message did not arrive, check the chat or channel on the subscription. The message went to the chat that the subscription names.
A rule did not send
Check these causes:
- The rule's Active is off, or its topic's Delivers is off.
- The rule's conditions were not met. Compare them with what happened, for example with the order's grand total. Preview on the rule shows the message with sample values, not with the values of a real order.
- The module of the rule's event is not installed. The store events and monitoring are separate modules. The Event list shows only the events of installed modules.
- The event happened before you saved the rule. A rule does not act on past events.
- The rule's event is Export finished or Export failed, and the export is still waiting. A background job makes exports, and this job needs cron. Neither message is sent until the file appears on the Export page.
The admin says notifications have waited more than 15 minutes
The warning looks like this:
Arlanix Notifications: 3 notification(s) have waited more than 15 minutes to be sent. Nothing takes them off the message queue …
The background process that sends notifications is not running. Send this warning to your developer, because it names what to check. When the process runs again, it sends the waiting notifications. No notification is lost.
A delivery failed
The message's page shows the answer for each delivery. The Last delivery column in the subscriptions grid shows it too. After you fix the cause, click Retry now on the message's page.
- Magento's email is switched off. Disable Email Communications is Yes in Stores > Configuration > Advanced > System > Mail Sending Settings. Set it to No. Or, in the Email settings, set Send through to An SMTP server of its own.
- Magento could not send the email: …. The store's own mail failed, and the rest of the text says why. The store's order emails fail in the same way. Ask your developer.
- The SMTP server is not set up yet. You chose an SMTP server of its own, but its settings are missing. Fill in Host and Sender email in Stores > Configuration > Arlanix > Notifications > Email.
- The SMTP server … did not take the email: …. The rest of the text is the server's own answer. An authentication error means a wrong username or password. A connection error means a wrong host or port, or a firewall. Ask your developer.
- The SMTP server … does not offer STARTTLS. The server works without encryption, or with SSL/TLS from the start. Choose that as its Encryption.
Telegram, Slack and Discord
- Telegram answered: …. The rest of the text says what to do. See Telegram.
- The Telegram bot is not set up yet. Paste a bot token in the settings, or give the subscription its own bot.
- Slack answered: …. The rest of the text says what to do. See Slack.
- Discord answered: …. The rest of the text says what to do. See Discord.
- No answer from …. The store could not reach Telegram, Slack or Discord at all. Ask your developer. The store's server may not be allowed to connect to outside services.
Other errors
Something went wrong. Check the log for details. Your developer can find the details in var/log/arlanix.log.
A second subscription to the same address is refused
The error looks like this:
A subscription of this topic to the same address already exists.
A topic can have only one subscription for each address. An address is an email address, a chat or a webhook. Edit the existing subscription instead, for example to change what it Gets. On a topic's page, the error appears at the top of the panel, and the panel stays open.
If you are still stuck, see Get help.