'Azure Data factory - Web Activity failed with error code 2108
In ADF I have a pipeline to trigger Power BI Dataflow refresh. In that pipeline we have a web activity to trigger the Dataflow refresh but it keeps getting failed with different error messages with error code 2108 like:-
- User Configuration Issue
- HttpStatusErrorCode - 503 Service Unavailable
Note: The web activity works fine usually but once in a while I am getting these kind of error.
Can anyone provide any fix or hints for this to avoid getting these type of errors in future.
Solution 1:[1]
A 503 Service Unavailable Error is an HTTP response status code that indicates your web server operates properly, but it can't handle a request at the moment. Since it's just a generic error message, it's difficult to pinpoint the issue's exact cause. Still you can try below checks:
- Reboot your server.
- Check to see if your web server is going through maintenance.
- Fix faulty firewall configurations.
- Sift through your server-side logs.
- Comb through your website's code to find bugs.
The web activity will timeout with similar error if it does not receive a response from the endpoint.
Solution 2:[2]
You need two variables like isLong and isShort to figure out whether you are long or short. Then you can replace strategy.position_size >= 0 with isLong and strategy.position_size <= 0 with isShort.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | AbhishekKhandave-MT |
| Solution 2 | vitruvius |
