cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

URL Monitor exception

Hi,

Using the URL monitor plugin to poll web sites, I'm getting this exception when a URL is not responding. Then, all the polling that is being done by the collector is stopped until I restart the collector

I am wondering why the non-responding web site is not correctly handled by the monitor....

Any idea?

2017-05-12 05:00:52 WARNING [UserPluginManager@URL Monitor] com.dynatrace.diagnostics.httpclient.api.DynaTraceHttpClientException - Exception was thrown while executing a HTTP request
com.dynatrace.diagnostics.httpclient.api.DynaTraceHttpClientException: Exception was thrown while executing a HTTP request
at com.dynatrace.diagnostics.httpclient.api.DynaTraceHttpClient.executeRequestReturnCloseable(DynaTraceHttpClient.java:720)
at com.dynatrace.diagnostics.httpclient.api.DynaTraceHttpClient.executeRequestReturnCloseable(DynaTraceHttpClient.java:650)
at com.dynatrace.diagnostics.httpclient.api.DynaTraceHttpClient.executeBigRequest(DynaTraceHttpClient.java:263)
at com.dynatrace.diagnostics.plugin.urlmonitor.UrlMonitor.execute(UrlMonitor.java:133)
at com.dynatrace.diagnostics.sdk.UserPluginManager.a(SourceFile:713)
at com.dynatrace.diagnostics.sdk.UserPluginManager.b(SourceFile:476)
at com.dynatrace.diagnostics.sdk.UserPluginManager.executePlugin(SourceFile:274)
at com.dynatrace.diagnostics.sdk.MonitorPluginExecutor.execute(SourceFile:50)
at com.dynatrace.diagnostics.sdk.MonitorPluginExecutor.execute(SourceFile:26)
at com.dynatrace.diagnostics.schedule.ServerJobCenterRegistry.a(SourceFile:190)
at com.dynatrace.diagnostics.schedule.ServerJobCenterRegistry.a(SourceFile:413)
at com.dynatrace.diagnostics.schedule.ServerJobCenterRegistry.execute(SourceFile:337)
at com.dynatrace.diagnostics.schedule.SchedulerJob.a(SourceFile:101)
at com.dynatrace.diagnostics.schedule.SchedulerJob.work(SourceFile:92)
at com.dynatrace.diagnostics.schedule.SchedulerJob.executeJobInfo(SourceFile:241)
at com.dynatrace.diagnostics.schedule.QuartzJob.execute(SourceFile:45)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at com.dynatrace.diagnostics.schedule.QuartzThreadPool$WorkerThread.run(SourceFile:788)
Caused by: org.apache.http.conn.HttpHostConnectException: Connect to hostname:443 [hostname/104.232.1.12] failed: Connection refused
at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:142)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:319)
at org.apache.http.impl.execchain.Main...

2 REPLIES 2

JamesKitson
Dynatrace Leader
Dynatrace Leader

What version and update of AppMon are you one? This is a DT supported plugin so you'll be able to work with support if necessary.

You may want to try decreasing the timeout, sometimes it seems messy if runs start to overlap before they time out. Maybe there is some output in the collector logs as well.

James

Hi James

We're at version 6.5.7

The stack trace that I pasted is the output from the collector log file

Timeout was set to 30 seconds, but still getting the error message...

I may open a ticket then