17 Apr 2024 02:02 PM - last edited on 10 May 2024 03:49 PM by Michal_Gebacki
Hello all,
I created several http Monitors, each with 10 to 20 HTTP Requests. These http requests are linked between them and simulate http requests of some mobile applications.
All http monitors are run from a public location.
We already use this public location for other synthetic browser monitors.
The issue is that we have a recurring error, "Connection refused" coming every day, completely randomly.
Never the same HTTP Request, never the same timeline. Currently, impossible to find a pattern.
So, I have some questions:
- As the public location has several IP addresses, during one run, is it always one unique IP address used or not?
- How can we get which IP address is used during the run? (In execution detail, we have the public location name and id and that's all).
- Is it possible to get the execution detail of other failed run than only the last one? (Or if we can receive it by mail, via notification menu...)
- Any idea on how to resolve it?
Many thanks for your help.
Sabine
Solved! Go to Solution.
17 Apr 2024 03:20 PM
Hi @SabineR for me a good starting point is this great guide from @HannahM . Please check if the public IP's are whitelisted in the app?
17 Apr 2024 04:28 PM
I will check on our side, yes.
>If a public location, is this endpoint available?
What is the consequence of not having an endpoint?
17 Apr 2024 03:58 PM
17 Apr 2024 04:40 PM
Thank you for your answer.
For the engineID, I just checked some case (failed run I downloaded and the last one) : unfortunately, there is no unique engineID which is responsible of all the errors.
The engineID of the last successfull run had returned an error previously.
>Only the last failed, and last successful, execution details can be seen at any point in time.
It would be great to have more...
17 Apr 2024 04:47 PM
I recommend that you vote for this Product Idea if you would like to see the details for more executions. 🙂
17 Apr 2024 09:58 PM
Those are really tricky to find. Here's my reasoning.
So, if you have the chance to have a OneAgent server side, check connectivity of the process. If not, might be better to diagnose network level. See if you can get a network trace of some type, any connection refused will be immediately visible.
25 Apr 2024 01:28 PM
As I have more questions linked directly to our environment/network, I'm creating a ticket...
Thank you all!
18 Jun 2024 08:27 AM
Hello all,
We have still issues with this.
We are investigating on our network side, but it's long and we must track all other errors (we get timeout, unauthorized etc...).
I have 2 http calls (POST mode) which generate the most these "Connection Refused" errors.
And I would like to do a re-run of these 2 http calls, when it happens.
Here is the scenario, I want to put:
I duplicate the request, and in 1st post execution script:
if status 200, we skip the next request.
if status 0, we do the next request (ie the same request)
if status >=400, run is in error.
Do you think it's possible?
Any other idea?
Many thanks for your help
Sabine
18 Jun 2024 08:58 AM
If the error is a network error, like connection refused, then no, this will not work. You can ignore status codes and continue but not network level errors.
You can increase the threshold that you have outage handling set for, so you don't alert as early, or you could use Workflows to do this.
18 Jun 2024 09:12 AM
Thank you for the confirmation, Hannah.
14 Aug 2024 01:31 PM
Issue resolved: in HTTP Monitor scripts, connections are default automatically closed.
Or persistent connections are the default behavior of any connection in HTTP 1.1.
I forced connection to be persistent for some HTTP requests and the number of connection refused has drastically regressed.