Network Management
"Failed to execute HTTP request" error in alerts when trigger actions are sent to LINE
This article provides the step-by-step process in resolving the error for "Failed to execute HTTP request" when trigger actions are sent to LINE for the alert that you have created in SolarWinds.
First published date
Last published date
Overview
When simulating the alert, you see the error for "Failed to execute HTTP request" when trigger actions are sent to LINE.
You can also use Orion Insights to check the alert action failures.
Product section
Cause
From the errors, the LINE integration is not accepting HTTP connections and prefers HTTPS connections.
- From HTTP, the error is method not allowed.
- From HTTPS, the error is too many requests.
Resolution
- Log in to the SolarWinds Platform Web Console and navigate to Settings > All Settings > Manage Alerts > Action Manager
- Disable all HTTP request actions during this troubleshooting phase
- Check which is the correct Line connection to use
- http://linenotify.com/notify.php?token=<messagetokencode>&messag
- or
- https://api.line.me/v2/bot/message/push, ContentType: application/json
- If https://api.line.me is correct, enable 1 alert action. Simulate the alert action or wait for a new alert to be trigger
- does it work now?
- If yes, slowly enable all alerts for https://api.line.me/v2/bot/message/push
- Edit all all HTTP to HTTPS