-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows: wrong number of arguments calling peeraddr (1 for 0) #169
Comments
What is your configuration for Log Courier "network" and for Logstash "input"? |
Also, are any logs reported by Logstash? The timeout and refused connection looks to mean the Logstash crashed. |
Are any logs reported by Logstash? The timeout and refused connection looks to mean the Logstash crashed. |
Hi - Did you check Logstash logs? |
This is the information I found in logcourier logs. I couldn't find logstash logs |
If you run logstash on command line you should be able to see logs - they may have been buffered in memory and not written. Running from command line with |
I used to see this message in logstash when I run the logcourier. ←[33mwrong number of arguments calling |
OK, interesting, this is a bug. I'll investigate this soon and get a fix for 1.7 which is just around the corner. Looks to be Windows specific. |
How are you running Logstash? What command do you run? |
bin/logstash agent -f sample.conf |
In logcourier I can find some spooler message also. 2015/05/29 03:54:28.234708 Started harvester at position 0 (requested 0): C:\Use 2015/05/29 03:54:38.239927 Stopping harvest of C:\Users\156687\Documents\Java\eb5.xml; last ch |
I've confirmed this and found related to a patch Logstash does to Ruby language on Windows: I'll fix the code for 1.7 by checking for the patch and working around it. Will also raise a PR if I have time for Logstash to stop other plugin developers hitting the problem. |
I have installed log-courier 1.6 and logstash-input-log-courier 1.6 gems in logstash 1.5.0.
When I run the log-courier. I am facing the below issue. Its not fetching the file
a1\setup\iis\logs\u_ex150502.log
2015/05/28 07:06:40.442580 Started harvester at position 0 (requested 0): C:\Jav
a1\setup\iis\logs\a.log
2015/05/28 07:06:40.442580 Started harvester at position 0 (requested 0): C:\Jav
a1\setup\iis\logs\b.log
2015/05/28 07:06:40.458204 Spooler flushing 1024 events due to spool size reache
d
2015/05/28 07:06:40.472852 Spooler flushing 1024 events due to spool size reache
d
2015/05/28 07:06:55.442597 Transport init failed: TLS Handshake failure with 127
.0.0.1:10544: WSARecv tcp 127.0.0.1:62444: i/o timeout
2015/05/28 07:06:56.444486 Attempting to connect to 127.0.0.1:10544
2015/05/28 07:06:57.450281 Transport init failed: Failed to connect to 127.0.0.1
:10544: dial tcp 127.0.0.1:10544: ConnectEx tcp: No connection could be made bec
ause the target machine actively refused it.
Do I need to downgrade the gems version ?
The text was updated successfully, but these errors were encountered: