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

Checks if URL is reachable before uploading the logs #38

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rajatsangrame
Copy link

@rajatsangrame rajatsangrame commented Aug 17, 2022

Problem:

We are getting multiple pager-duty incidents as java.net.SocketTimeoutException: timeout for the URL https://logsene-receiver.sematext.com/_bulk. It is happening due to network issues on the client side and the URL is unreachable.
It is taking a lot of developer time to go through the incident to identify the root cause and mark the issue as a duplicate.

Solution:
As a part of the fix, we are checking if the URL is reachable before we process the log uploads. This will surely take a bit more time than the regular upload. The client app will have the option to bypass the URL reachable check.

@michaelhigham michaelhigham requested a review from otisg August 18, 2022 16:28
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.

2 participants