Http-poller input-plugin "Connection timed out: connect"


(priti bhangale) #1

Hi,

When i am hitting URL from my local machine it is giving 200 response but same http_poller input when i tried to run from server, I am getting "Connection timed out: connect" error. Please help me to solve this issue.

Thanks,
Priti


Logstash Http_Poller : Connection Timed out while connecting to Azure application Insight API
(priti bhangale) #2

This is my configuration file.


(Magnus Bäck) #3

Seems like your server has network connectivity issues that your own machine doesn't have. That doesn't strike me as a Logstash problem.


(priti bhangale) #4

How can we verify, this issue happen due to network connectivity?
because when i open URL through browser on my local machine & Server both giving same response.


(Magnus Bäck) #5

How can we verify, this issue happen due to network connectivity?

Use a lowlevel tool outside of Logstash, e.g. telnet or netcat.

because when i open URL through browser on my local machine & Server both giving same response.

Your browsers might be configured to use a proxy.


(priti bhangale) #6

There is no proxy set on the server.Is there any way where we get detail information(logs) about error? what causing for "Connection timed out" error?


(Magnus Bäck) #7

You could use e.g. Wireshark to capture the network traffic. Then you'll see exactly which host it's trying to connect to and you can compare it to your own successful attempts.


(system) #8

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.