Skip to content
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

Fixed issue where Connection Refused Log error printed incorrect port number #202

Merged
merged 1 commit into from
Dec 13, 2021

Conversation

hvaghani221
Copy link
Contributor

@hvaghani221 hvaghani221 commented Dec 9, 2021

Fixed splunk/splunk-connect-for-kubernetes#371 and #184

Exception message was changed in between stack trace and at some point it was replaced with proxy_port which defaults to 80. So raised cause of exception Net::HTTP::Persistent::Error is raised.

Now, the following error will be logged:

2021-12-09 08:59:16 +0000 [error]: #0 failed to flush the buffer, and hit limit for retries. dropping all chunks in the buffer queue. retry_times=5 records=29841 error_class=Errno::ECONNREFUSED error="Failed to open TCP connection to 10.202.9.155:12088 (Connection refused - connect(2) for \"xx.xx.xx.xx" port yyyy)"

@hvaghani221 hvaghani221 marked this pull request as ready for review December 9, 2021 09:50
@hvaghani221 hvaghani221 merged commit 8f657c4 into develop Dec 13, 2021
@hvaghani221 hvaghani221 deleted the sck-issue-371 branch April 28, 2022 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Connection Refused Log error parses HEC port incorrectly, can be misleading
2 participants