Skip to content

[DOCS-10092] Add firewall troubleshooting #29245

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

Merged
merged 5 commits into from
May 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions content/en/observability_pipelines/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,35 @@

Run the command `netstat -anp | find "<port_number>"` to check that the port that the destination is listening on is not being used by another service.

## Failed to connect error

If you see an error similar to one of these errors:

```
Failed to connect to 34.44.228.240 port 80 after 56 ms: Couldn't connect to server
```

```
connect to 35.82.252.23 port 80 failed: Operation timed out
```

```
Failed to connect to ab52a1d16fxxxxxxxabd90c7526a1-1xxxx.us-west-2.elb.amazonaws.com port 80 after 225027 ms: Couldn't connect to server
```

And you:

- Have a firewall between your source and your Workers, ensure traffic is allowed over your chosen port between the source and the Worker.
- Have a firewall between the Workers and your destination, make sure it allows traffic from your Workers to the destination over the defined port.

You can test your connectivity to your Observability Pipelines Worker endpoint using the `curl` command from your source location, provided that you have shell access to the source machine. For example, if you have a Datadog Agent source, the curl command looks something like this:

Check notice on line 107 in content/en/observability_pipelines/troubleshooting.md

View workflow job for this annotation

GitHub Actions / vale

Datadog.sentencelength

Suggestion: Try to keep your sentence length to 25 words or fewer.

```
curl --location 'http://ab52a1d102c6f4a3c823axxx-xxxxx.us-west-2.elb.amazonaws.com:80/api/v2/logs' -d '{"ddsource": "my_datadog","ddtags": "env:test","hostname": "i-02a4fxxxxx","message": "hello","service": "test"}' -v
```

The curl command you use is based on the port you are using, as well as the path and expected payload from your source.

[1]: /help/
[2]: https://app.datadoghq.com/observability-pipelines
[3]: /logs/explorer/search_syntax/
Expand Down
Loading